Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 198.6 kB / 8.539 MB, free: 1.762 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 225.5 MB / 234.4 MB, free: 3.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 90.12 kB / 286.3 MB, free: 5.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2006/0.2006, allocations: 45.15 MB / 383.4 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.121e-06/6.141e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 63.24 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.194, allocations: 493.7 MB / 0.9859 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.195, allocations: 91.36 kB / 0.986 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.6818/1.876, allocations: 211.1 MB / 1.192 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.193e-05/1.876, allocations: 18.58 kB / 1.192 GB, free: 118.6 MB / 0.5261 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.002467/1.879, allocations: 0.8781 MB / 1.193 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.879, allocations: 5.844 kB / 1.193 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/1.88, allocations: 146.2 kB / 1.193 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/1.881, allocations: 490.2 kB / 1.194 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/1.881, allocations: 14.03 kB / 1.194 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/1.882, allocations: 22.34 kB / 1.194 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008725/1.882, allocations: 409.2 kB / 1.194 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/1.883, allocations: 0.4946 MB / 1.195 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/1.883, allocations: 3.797 kB / 1.195 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/1.884, allocations: 3.938 kB / 1.195 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/1.884, allocations: 10.38 kB / 1.195 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/1.887, allocations: 2.646 MB / 1.197 GB, free: 116 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/1.887, allocations: 231.4 kB / 1.197 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/1.887, allocations: 130.8 kB / 1.198 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/1.888, allocations: 433.5 kB / 1.198 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.888, allocations: 42.33 kB / 1.198 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.735e-06/1.888, allocations: 3.688 kB / 1.198 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.00253/1.89, allocations: 0.6919 MB / 1.199 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/1.891, allocations: 131.5 kB / 1.199 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/1.891, allocations: 382 kB / 1.199 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/1.891, allocations: 25.7 kB / 1.199 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/1.891, allocations: 241.6 kB / 1.199 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/1.891, allocations: 113.4 kB / 1.2 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/1.891, allocations: 0 / 1.2 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/1.891, allocations: 351.7 kB / 1.2 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/1.892, allocations: 157.6 kB / 1.2 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/1.892, allocations: 291.5 kB / 1.2 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/1.894, allocations: 0.547 MB / 1.201 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/1.894, allocations: 1.156 kB / 1.201 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002603/1.897, allocations: 0.9022 MB / 1.202 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.897, allocations: 6.688 kB / 1.202 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/1.897, allocations: 3.969 kB / 1.202 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/1.897, allocations: 48.53 kB / 1.202 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/1.897, allocations: 150.8 kB / 1.202 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004699/1.902, allocations: 13.48 MB / 1.215 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/1.903, allocations: 57.8 kB / 1.215 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.203e-05/1.903, allocations: 47.16 kB / 1.215 GB, free: 100.5 MB / 0.5261 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.0002911/1.903, allocations: 158 kB / 1.215 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/1.903, allocations: 51.59 kB / 1.215 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/1.906, allocations: 1.428 MB / 1.217 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.906, allocations: 5.141 kB / 1.217 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/1.906, allocations: 0 / 1.217 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.906, allocations: 3.469 kB / 1.217 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/1.908, allocations: 1.138 MB / 1.218 GB, free: 99.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.908, allocations: 4.844 kB / 1.218 GB, free: 99.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/1.908, allocations: 53.45 kB / 1.218 GB, free: 99.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001511/1.908, allocations: 52.05 kB / 1.218 GB, free: 99.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/1.908, allocations: 7.766 kB / 1.218 GB, free: 99.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004326/1.909, allocations: 0.6152 MB / 1.219 GB, free: 99.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.909, allocations: 5.844 kB / 1.219 GB, free: 99.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00113/1.91, allocations: 0.6406 MB / 1.219 GB, free: 98.85 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/1.91, allocations: 153.3 kB / 1.219 GB, free: 98.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.91, allocations: 7.078 kB / 1.219 GB, free: 98.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/1.91, allocations: 33.73 kB / 1.219 GB, free: 98.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/1.911, allocations: 22.66 kB / 1.219 GB, free: 98.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/1.911, allocations: 24.44 kB / 1.219 GB, free: 98.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003272/1.911, allocations: 308.9 kB / 1.22 GB, free: 98.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001725/1.913, allocations: 347.1 kB / 1.22 GB, free: 98.6 MB / 0.5261 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.002299/1.915, allocations: 1.245 MB / 1.221 GB, free: 98.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008259/1.916, allocations: 360.7 kB / 1.222 GB, free: 98.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/1.916, allocations: 0 / 1.222 GB, free: 98.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/1.916, allocations: 126.5 kB / 1.222 GB, free: 98.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/1.917, allocations: 204.9 kB / 1.222 GB, free: 98.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/1.919, allocations: 0.5817 MB / 1.223 GB, free: 98.13 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008011/1.919, allocations: 1.011 MB / 1.224 GB, free: 97.42 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/1.919, allocations: 3.875 kB / 1.224 GB, free: 97.42 MB / 0.5261 GB Notification: Performance of Templates: time 0.02804/1.948, allocations: 17.57 MB / 1.241 GB, free: 96.5 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)