Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 186.2 kB / 8.154 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001223, allocations: 87.22 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2625/0.2625, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.738e-06/9.769e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2678, allocations: 58.85 MB / 476.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.286/1.554, allocations: 0.5783 GB / 1.044 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/1.554, allocations: 94.7 kB / 1.044 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.961/2.515, allocations: 225.7 MB / 1.264 GB, free: 103 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.652e-05/2.515, allocations: 11.69 kB / 1.264 GB, free: 103 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.00249/2.518, allocations: 0.9335 MB / 1.265 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/2.518, allocations: 7.844 kB / 1.265 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/2.519, allocations: 143.1 kB / 1.265 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/2.521, allocations: 0.49 MB / 1.266 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/2.521, allocations: 14.75 kB / 1.266 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.489e-05/2.521, allocations: 23.16 kB / 1.266 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001028/2.522, allocations: 400.6 kB / 1.266 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/2.523, allocations: 0.4906 MB / 1.267 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/2.523, allocations: 6.812 kB / 1.267 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.294e-05/2.523, allocations: 0 / 1.267 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/2.523, allocations: 11.78 kB / 1.267 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/2.527, allocations: 2.66 MB / 1.269 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/2.528, allocations: 224 kB / 1.269 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/2.528, allocations: 142 kB / 1.27 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/2.528, allocations: 316.7 kB / 1.27 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/2.528, allocations: 37.88 kB / 1.27 GB, free: 100 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.605e-06/2.528, allocations: 0 / 1.27 GB, free: 100 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.004332/2.533, allocations: 0.8221 MB / 1.271 GB, free: 99.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/2.533, allocations: 139.9 kB / 1.271 GB, free: 99.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/2.533, allocations: 373 kB / 1.271 GB, free: 99.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/2.533, allocations: 25.7 kB / 1.271 GB, free: 99.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/2.534, allocations: 288.2 kB / 1.272 GB, free: 99.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/2.534, allocations: 107.9 kB / 1.272 GB, free: 99.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/2.534, allocations: 0 / 1.272 GB, free: 99.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/2.534, allocations: 330.1 kB / 1.272 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/2.534, allocations: 151.3 kB / 1.272 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/2.535, allocations: 292 kB / 1.272 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003848/2.539, allocations: 0.6816 MB / 1.273 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/2.539, allocations: 0 / 1.273 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004744/2.543, allocations: 1.017 MB / 1.274 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/2.543, allocations: 9.781 kB / 1.274 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/2.543, allocations: 7.875 kB / 1.274 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/2.544, allocations: 44.47 kB / 1.274 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009863/2.545, allocations: 147.3 kB / 1.274 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/2.551, allocations: 13.47 MB / 1.287 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006569/2.551, allocations: 43.05 kB / 1.287 GB, free: 85.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/2.551, allocations: 49.52 kB / 1.287 GB, free: 85.03 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.venaLength:VARIABLE(unit = "m" ) = fitting1.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting1.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.perimeter:VARIABLE(unit = "m" ) = fitting1.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.crossArea "Inner cross sectional area" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.venaLength:VARIABLE(unit = "m" ) = fitting2.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting2.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.perimeter:VARIABLE(unit = "m" ) = fitting2.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.crossArea "Inner cross sectional area" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000306/2.552, allocations: 83.23 kB / 1.288 GB, free: 84.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/2.552, allocations: 48.84 kB / 1.288 GB, free: 84.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/2.555, allocations: 0.7106 MB / 1.288 GB, free: 84.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/2.555, allocations: 3.094 kB / 1.288 GB, free: 84.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/2.555, allocations: 3.938 kB / 1.288 GB, free: 84.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/2.555, allocations: 3.516 kB / 1.288 GB, free: 84.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/2.558, allocations: 1.153 MB / 1.289 GB, free: 84.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/2.558, allocations: 3.312 kB / 1.289 GB, free: 84.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/2.558, allocations: 54.11 kB / 1.289 GB, free: 84.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/2.559, allocations: 53.58 kB / 1.29 GB, free: 84.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/2.559, allocations: 6.031 kB / 1.29 GB, free: 84.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006502/2.559, allocations: 0.6202 MB / 1.29 GB, free: 83.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/2.559, allocations: 0 / 1.29 GB, free: 83.77 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001797/2.561, allocations: 0.6504 MB / 1.291 GB, free: 83.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/2.561, allocations: 149 kB / 1.291 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/2.562, allocations: 3 kB / 1.291 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/2.562, allocations: 34.81 kB / 1.291 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/2.562, allocations: 27.2 kB / 1.291 GB, free: 83.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/2.562, allocations: 19.47 kB / 1.291 GB, free: 83.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005049/2.563, allocations: 305.6 kB / 1.291 GB, free: 83.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002352/2.565, allocations: 399.9 kB / 1.292 GB, free: 83.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002676/2.568, allocations: 1.343 MB / 1.293 GB, free: 82.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001235/2.569, allocations: 360.2 kB / 1.293 GB, free: 82.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/2.569, allocations: 0 / 1.293 GB, free: 82.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003575/2.57, allocations: 123.6 kB / 1.293 GB, free: 82.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/2.572, allocations: 217.8 kB / 1.294 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/2.573, allocations: 0.6102 MB / 1.294 GB, free: 82.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009723/2.574, allocations: 0.9794 MB / 1.295 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/2.574, allocations: 0 / 1.295 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.05156/2.626, allocations: 27.89 MB / 1.322 GB, free: 72.48 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)