Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 179.6 kB / 8.516 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 221.4 MB / 230.3 MB, free: 7.652 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.0008821, allocations: 88.09 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1804/0.1804, allocations: 44.14 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.023e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 61.91 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.16, allocations: 492.7 MB / 0.9752 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/1.16, allocations: 91.95 kB / 0.9753 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.6121/1.772, allocations: 211.1 MB / 1.181 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.405e-05/1.773, allocations: 15.12 kB / 1.181 GB, free: 110.5 MB / 0.5105 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.001909/1.774, allocations: 0.8705 MB / 1.182 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.775, allocations: 16.16 kB / 1.182 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/1.776, allocations: 140.6 kB / 1.182 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/1.777, allocations: 491.2 kB / 1.183 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/1.777, allocations: 17.05 kB / 1.183 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/1.777, allocations: 23.44 kB / 1.183 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007185/1.777, allocations: 407.5 kB / 1.183 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007863/1.778, allocations: 0.4995 MB / 1.184 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.778, allocations: 0 / 1.184 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/1.778, allocations: 2.25 kB / 1.184 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/1.778, allocations: 11.25 kB / 1.184 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/1.781, allocations: 2.641 MB / 1.186 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/1.781, allocations: 240.2 kB / 1.187 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/1.782, allocations: 128 kB / 1.187 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003502/1.782, allocations: 430.6 kB / 1.187 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/1.782, allocations: 37.56 kB / 1.187 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 1.293e-06/1.782, allocations: 0 / 1.187 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.00261/1.785, allocations: 0.6973 MB / 1.188 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/1.785, allocations: 136.3 kB / 1.188 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/1.785, allocations: 377.9 kB / 1.188 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/1.785, allocations: 26.95 kB / 1.188 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/1.785, allocations: 249.4 kB / 1.189 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.334e-05/1.785, allocations: 104 kB / 1.189 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/1.785, allocations: 1.125 kB / 1.189 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/1.786, allocations: 352.3 kB / 1.189 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/1.786, allocations: 154.5 kB / 1.189 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/1.786, allocations: 293.7 kB / 1.19 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/1.788, allocations: 0.5438 MB / 1.19 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.788, allocations: 8 kB / 1.19 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002474/1.791, allocations: 0.8964 MB / 1.191 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.791, allocations: 8 kB / 1.191 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.791, allocations: 4.438 kB / 1.191 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/1.791, allocations: 52.83 kB / 1.191 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/1.791, allocations: 147.8 kB / 1.191 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004309/1.796, allocations: 13.48 MB / 1.204 GB, free: 87.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/1.796, allocations: 51.61 kB / 1.204 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/1.796, allocations: 56.05 kB / 1.204 GB, free: 87.51 MB / 0.5105 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.0002502/1.797, allocations: 147.5 kB / 1.205 GB, free: 87.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/1.797, allocations: 47.44 kB / 1.205 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/1.799, allocations: 1.439 MB / 1.206 GB, free: 85.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/1.799, allocations: 0 / 1.206 GB, free: 85.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/1.799, allocations: 4 kB / 1.206 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.799, allocations: 4 kB / 1.206 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/1.801, allocations: 1.14 MB / 1.207 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.801, allocations: 8.219 kB / 1.207 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/1.801, allocations: 55.91 kB / 1.207 GB, free: 84.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/1.801, allocations: 44.83 kB / 1.207 GB, free: 84.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/1.801, allocations: 4 kB / 1.207 GB, free: 84.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003881/1.802, allocations: 0.6225 MB / 1.208 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/1.802, allocations: 7.906 kB / 1.208 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009823/1.803, allocations: 0.6334 MB / 1.208 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/1.803, allocations: 152.4 kB / 1.209 GB, free: 82.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/1.803, allocations: 4 kB / 1.209 GB, free: 82.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/1.803, allocations: 27.88 kB / 1.209 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/1.803, allocations: 27.97 kB / 1.209 GB, free: 82.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/1.803, allocations: 15.98 kB / 1.209 GB, free: 82.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002827/1.804, allocations: 307.2 kB / 1.209 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001698/1.805, allocations: 351.3 kB / 1.209 GB, free: 82.28 MB / 0.5105 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.001869/1.807, allocations: 1.255 MB / 1.211 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007486/1.808, allocations: 363.8 kB / 1.211 GB, free: 80.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.808, allocations: 3.938 kB / 1.211 GB, free: 80.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/1.808, allocations: 128.9 kB / 1.211 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.81, allocations: 194 kB / 1.211 GB, free: 80.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/1.811, allocations: 0.5825 MB / 1.212 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008482/1.812, allocations: 1.011 MB / 1.213 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.983e-06/1.812, allocations: 0 / 1.213 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of Templates: time 0.02248/1.834, allocations: 17.53 MB / 1.23 GB, free: 61.41 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)