Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [: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.001478/0.001478, allocations: 179.8 kB / 8.519 MB, free: 496 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 221.4 MB / 230.3 MB, free: 13.53 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 99.92 kB / 281.2 MB, free: 10.48 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.232/0.232, allocations: 44.14 MB / 376.1 MB, free: 11.65 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 7.154e-06/7.194e-06, allocations: 0 / 444.1 MB, free: 54.34 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 61.91 MB / 0.4941 GB, free: 8.363 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.135, allocations: 0.4939 GB / 0.988 GB, free: 128.4 MB / 0.5183 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/1.135, allocations: 87.94 kB / 0.988 GB, free: 128.3 MB / 0.5183 GB Notification: Performance of FrontEnd: time 0.6213/1.757, allocations: 235.1 MB / 1.218 GB, free: 97.52 MB / 0.5183 GB Notification: Performance of Transformations before backend: time 5.272e-05/1.757, allocations: 16 kB / 1.218 GB, free: 97.51 MB / 0.5183 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002694/1.76, allocations: 1.061 MB / 1.219 GB, free: 96.41 MB / 0.5183 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.76, allocations: 11.97 kB / 1.219 GB, free: 96.4 MB / 0.5183 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/1.761, allocations: 163 kB / 1.219 GB, free: 96.24 MB / 0.5183 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/1.762, allocations: 0.4926 MB / 1.219 GB, free: 95.71 MB / 0.5183 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/1.762, allocations: 15.91 kB / 1.219 GB, free: 95.7 MB / 0.5183 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/1.762, allocations: 31.98 kB / 1.219 GB, free: 95.66 MB / 0.5183 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007286/1.763, allocations: 437.8 kB / 1.22 GB, free: 95.24 MB / 0.5183 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008109/1.764, allocations: 0.5468 MB / 1.22 GB, free: 94.64 MB / 0.5183 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/1.764, allocations: 7.938 kB / 1.22 GB, free: 94.63 MB / 0.5183 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.468e-05/1.764, allocations: 4 kB / 1.22 GB, free: 94.63 MB / 0.5183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/1.764, allocations: 12 kB / 1.22 GB, free: 94.62 MB / 0.5183 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/1.767, allocations: 2.64 MB / 1.223 GB, free: 91.84 MB / 0.5183 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/1.767, allocations: 218.7 kB / 1.223 GB, free: 91.62 MB / 0.5183 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/1.767, allocations: 120.8 kB / 1.223 GB, free: 91.5 MB / 0.5183 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003281/1.768, allocations: 437.1 kB / 1.224 GB, free: 90.98 MB / 0.5183 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/1.768, allocations: 38.56 kB / 1.224 GB, free: 90.93 MB / 0.5183 GB Notification: Performance of pre-optimization done (n=31): time 2.215e-06/1.768, allocations: 3.938 kB / 1.224 GB, free: 90.93 MB / 0.5183 GB Notification: Performance of matching and sorting (n=31): time 0.00251/1.77, allocations: 0.6853 MB / 1.224 GB, free: 90.23 MB / 0.5183 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/1.77, allocations: 162.2 kB / 1.225 GB, free: 90.04 MB / 0.5183 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/1.771, allocations: 385 kB / 1.225 GB, free: 89.66 MB / 0.5183 GB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/1.771, allocations: 25.7 kB / 1.225 GB, free: 89.63 MB / 0.5183 GB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/1.771, allocations: 263.3 kB / 1.225 GB, free: 89.36 MB / 0.5183 GB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/1.771, allocations: 106.4 kB / 1.225 GB, free: 89.26 MB / 0.5183 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/1.771, allocations: 0 / 1.225 GB, free: 89.26 MB / 0.5183 GB Notification: Performance of setup shared object (initialization): time 6.912e-05/1.771, allocations: 354.8 kB / 1.226 GB, free: 88.9 MB / 0.5183 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/1.771, allocations: 133 kB / 1.226 GB, free: 88.77 MB / 0.5183 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/1.772, allocations: 293.4 kB / 1.226 GB, free: 88.41 MB / 0.5183 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/1.774, allocations: 0.5085 MB / 1.226 GB, free: 87.9 MB / 0.5183 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.774, allocations: 0 / 1.226 GB, free: 87.9 MB / 0.5183 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002455/1.776, allocations: 0.8408 MB / 1.227 GB, free: 87.05 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.776, allocations: 12.09 kB / 1.227 GB, free: 87.04 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.776, allocations: 7.938 kB / 1.227 GB, free: 87.03 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/1.776, allocations: 48.83 kB / 1.227 GB, free: 86.98 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/1.777, allocations: 119.9 kB / 1.227 GB, free: 86.86 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004625/1.777, allocations: 0.6108 MB / 1.228 GB, free: 86.22 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/1.778, allocations: 51.62 kB / 1.228 GB, free: 86.17 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/1.778, allocations: 59.98 kB / 1.228 GB, free: 86.11 MB / 0.5183 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 prepare postOptimizeDAE: time 0.0001311/1.778, allocations: 120.8 kB / 1.228 GB, free: 85.99 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/1.778, allocations: 55.34 kB / 1.228 GB, free: 85.93 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/1.78, allocations: 1.414 MB / 1.23 GB, free: 84.51 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.78, allocations: 11.91 kB / 1.23 GB, free: 84.5 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.78, allocations: 0 / 1.23 GB, free: 84.5 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.78, allocations: 3.984 kB / 1.23 GB, free: 84.49 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/1.782, allocations: 1.165 MB / 1.231 GB, free: 83.23 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.782, allocations: 4 kB / 1.231 GB, free: 83.23 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/1.782, allocations: 47.91 kB / 1.231 GB, free: 83.18 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/1.783, allocations: 40.84 kB / 1.231 GB, free: 83.14 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/1.783, allocations: 15.98 kB / 1.231 GB, free: 83.12 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003993/1.783, allocations: 0.6149 MB / 1.232 GB, free: 82.48 MB / 0.5183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.783, allocations: 0 / 1.232 GB, free: 82.48 MB / 0.5183 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001113/1.784, allocations: 0.6564 MB / 1.232 GB, free: 81.73 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/1.784, allocations: 156.3 kB / 1.232 GB, free: 81.56 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/1.784, allocations: 4 kB / 1.232 GB, free: 81.55 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/1.785, allocations: 15.98 kB / 1.232 GB, free: 81.54 MB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/1.785, allocations: 31.88 kB / 1.232 GB, free: 81.51 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/1.785, allocations: 19.98 kB / 1.232 GB, free: 81.49 MB / 0.5183 GB Notification: Performance of sort global known variables: time 0.0003082/1.785, allocations: 322.9 kB / 1.233 GB, free: 81.17 MB / 0.5183 GB Notification: Performance of remove unused functions: time 0.001209/1.786, allocations: 363.4 kB / 1.233 GB, free: 80.82 MB / 0.5183 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.002035/1.788, allocations: 1.307 MB / 1.234 GB, free: 79.66 MB / 0.5183 GB Notification: Performance of simCode: created initialization part: time 0.000684/1.789, allocations: 323.8 kB / 1.235 GB, free: 79.34 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.789, allocations: 0 / 1.235 GB, free: 79.34 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 0.0002377/1.789, allocations: 125.5 kB / 1.235 GB, free: 79.22 MB / 0.5183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/1.791, allocations: 235.3 kB / 1.235 GB, free: 78.98 MB / 0.5183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/1.792, allocations: 0.5991 MB / 1.236 GB, free: 78.34 MB / 0.5183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007822/1.793, allocations: 1.026 MB / 1.237 GB, free: 77.29 MB / 0.5183 GB Notification: Performance of SimCode: time 5.71e-07/1.793, allocations: 4 kB / 1.237 GB, free: 77.29 MB / 0.5183 GB Notification: Performance of Templates: time 0.02528/1.818, allocations: 18.1 MB / 1.254 GB, free: 59.32 MB / 0.5183 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)