Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.Machines.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") [: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.001634/0.001639, allocations: 171.8 kB / 8.147 MB, free: 2.223 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.663/1.663, 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.001248/0.001247, allocations: 89.39 kB / 261.8 MB, free: 13.63 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.2573/0.2573, allocations: 43.48 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.847e-06/9.017e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2834, allocations: 58.84 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.83/6.114, allocations: 2.782 GB / 3.248 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/6.114, allocations: 91.5 kB / 3.248 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.39/9.504, allocations: 0.7589 GB / 4.007 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001645/9.504, allocations: 43.84 kB / 4.007 GB, free: 13.84 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01375/9.518, allocations: 2.748 MB / 4.009 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/9.518, allocations: 8.031 kB / 4.009 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008308/9.526, allocations: 0.6849 MB / 4.01 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/9.53, allocations: 0.9776 MB / 4.011 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/9.53, allocations: 48 kB / 4.011 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002904/9.53, allocations: 64 kB / 4.011 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00348/9.534, allocations: 1.094 MB / 4.012 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00342/9.537, allocations: 1.317 MB / 4.014 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.631e-05/9.537, allocations: 7.938 kB / 4.014 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/9.538, allocations: 7.938 kB / 4.014 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/9.538, allocations: 50.02 kB / 4.014 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5365/10.07, allocations: 88.72 MB / 4.1 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/10.08, allocations: 0.7113 MB / 4.101 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/10.08, allocations: 412.3 kB / 4.101 GB, free: 49.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08401/10.16, allocations: 24.25 MB / 4.125 GB, free: 33.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/10.16, allocations: 44.66 kB / 4.125 GB, free: 33.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=86): time 4.168e-06/10.16, allocations: 6.812 kB / 4.125 GB, free: 33.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86): time 0.008721/10.17, allocations: 1.643 MB / 4.127 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/10.17, allocations: 164.2 kB / 4.127 GB, free: 33.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/10.17, allocations: 0.7107 MB / 4.127 GB, free: 33.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000273/10.17, allocations: 25.7 kB / 4.128 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/10.17, allocations: 494.8 kB / 4.128 GB, free: 33.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/10.17, allocations: 292.7 kB / 4.128 GB, free: 32.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/10.17, allocations: 0 / 4.128 GB, free: 32.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001043/10.17, allocations: 350.5 kB / 4.129 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/10.17, allocations: 390 kB / 4.129 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/10.18, allocations: 0.7035 MB / 4.13 GB, free: 32.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004045/10.18, allocations: 0.6429 MB / 4.13 GB, free: 32.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/10.18, allocations: 3.281 kB / 4.13 GB, free: 32.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01387/10.19, allocations: 1.968 MB / 4.132 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001777/10.2, allocations: 3.746 MB / 4.136 GB, free: 44.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.247e-05/10.2, allocations: 11.53 kB / 4.136 GB, free: 44.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/10.2, allocations: 331.9 kB / 4.136 GB, free: 44.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003113/10.2, allocations: 310.9 kB / 4.136 GB, free: 44.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006777/10.21, allocations: 1.739 MB / 4.138 GB, free: 43.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/10.21, allocations: 222.3 kB / 4.138 GB, free: 43.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003607/10.21, allocations: 74.06 kB / 4.138 GB, free: 43.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/10.21, allocations: 6.188 kB / 4.138 GB, free: 43.11 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008103/10.22, allocations: 1.144 MB / 4.14 GB, free: 43.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/10.22, allocations: 16.33 kB / 4.14 GB, free: 43.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.513e-05/10.22, allocations: 16.75 kB / 4.14 GB, free: 43.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006202/10.23, allocations: 473.1 kB / 4.14 GB, free: 43.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.126e-05/10.23, allocations: 20.31 kB / 4.14 GB, free: 43.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/10.23, allocations: 221.3 kB / 4.14 GB, free: 43.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003007/10.23, allocations: 63.3 kB / 4.14 GB, free: 43.04 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006015/10.23, allocations: 68.3 kB / 4.14 GB, free: 43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003791/10.24, allocations: 0.5277 MB / 4.141 GB, free: 42.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/10.25, allocations: 4.852 MB / 4.146 GB, free: 42.55 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-05/10.25, allocations: 47.75 kB / 4.146 GB, free: 42.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/10.25, allocations: 3.75 kB / 4.146 GB, free: 42.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.139e-05/10.25, allocations: 5.391 kB / 4.146 GB, free: 42.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/10.27, allocations: 6.501 MB / 4.152 GB, free: 41.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/10.27, allocations: 0 / 4.152 GB, free: 41.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/10.27, allocations: 180.7 kB / 4.152 GB, free: 41.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003481/10.27, allocations: 1.069 MB / 4.153 GB, free: 41.85 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/10.27, allocations: 21.83 kB / 4.153 GB, free: 41.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004708/10.28, allocations: 2.503 MB / 4.156 GB, free: 40.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/10.28, allocations: 3.656 kB / 4.156 GB, free: 40.76 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01019/10.29, allocations: 3.93 MB / 4.16 GB, free: 40.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/10.29, allocations: 472.3 kB / 4.16 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/10.29, allocations: 3.938 kB / 4.16 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/10.29, allocations: 156.5 kB / 4.16 GB, free: 40 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003506/10.29, allocations: 94.11 kB / 4.16 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/10.29, allocations: 49.33 kB / 4.16 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001453/10.29, allocations: 0.664 MB / 4.161 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009886/10.3, allocations: 1.828 MB / 4.163 GB, free: 39.82 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 32 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 14,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01336/10.32, allocations: 2.357 MB / 4.165 GB, free: 39.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006715/10.32, allocations: 2.63 MB / 4.168 GB, free: 39.39 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/10.32, allocations: 2.531 kB / 4.168 GB, free: 39.39 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003214/10.33, allocations: 1.862 MB / 4.169 GB, free: 39.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005195/10.33, allocations: 485.2 kB / 4.17 GB, free: 39.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00887/10.34, allocations: 3.217 MB / 4.173 GB, free: 38.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/10.34, allocations: 1.564 MB / 4.175 GB, free: 37.92 MB / 0.5417 GB Notification: Performance of SimCode: time 1.803e-06/10.34, allocations: 4 kB / 4.175 GB, free: 37.91 MB / 0.5417 GB Notification: Performance of Templates: time 0.1192/10.46, allocations: 59.52 MB / 4.233 GB, free: 26.46 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1)