Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") [: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 3.2.2+maint.om/package.mo): time 0.00242/0.00242, allocations: 182.5 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.142/1.142, allocations: 194.2 MB / 202.1 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001687/0.001687, allocations: 123 kB / 247.1 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1821/0.1821, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.143e-06/7.544e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 54.87 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.325/5.43, allocations: 2.612 GB / 3.049 GB, free: 149.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/5.43, allocations: 82.61 kB / 3.049 GB, free: 149.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.325/6.755, allocations: 433.6 MB / 3.473 GB, free: 52.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.195e-05/6.755, allocations: 17.28 kB / 3.473 GB, free: 52.08 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007537/6.762, allocations: 1.767 MB / 3.474 GB, free: 51.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/6.762, allocations: 8.938 kB / 3.474 GB, free: 51.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/6.766, allocations: 350.1 kB / 3.475 GB, free: 51.01 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/6.767, allocations: 0.5867 MB / 3.475 GB, free: 50.62 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/6.767, allocations: 24.47 kB / 3.475 GB, free: 50.62 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/6.767, allocations: 32.94 kB / 3.475 GB, free: 50.62 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001251/6.769, allocations: 0.5436 MB / 3.476 GB, free: 50.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/6.77, allocations: 0.6591 MB / 3.477 GB, free: 50.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/6.77, allocations: 7.625 kB / 3.477 GB, free: 50.06 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/6.77, allocations: 3.906 kB / 3.477 GB, free: 50.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/6.77, allocations: 24.19 kB / 3.477 GB, free: 50.05 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008471/6.779, allocations: 5.989 MB / 3.482 GB, free: 45.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/6.779, allocations: 322.6 kB / 3.483 GB, free: 45.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/6.779, allocations: 218.2 kB / 3.483 GB, free: 45.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3729/7.152, allocations: 82.04 MB / 3.563 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/7.152, allocations: 42.94 kB / 3.563 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 2.524e-06/7.152, allocations: 0 / 3.563 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51): time 0.006426/7.159, allocations: 1.832 MB / 3.565 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/7.159, allocations: 108.9 kB / 3.565 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/7.159, allocations: 386.4 kB / 3.565 GB, free: 122 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/7.16, allocations: 25.7 kB / 3.565 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/7.16, allocations: 283.4 kB / 3.566 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/7.16, allocations: 174.7 kB / 3.566 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/7.16, allocations: 0 / 3.566 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/7.16, allocations: 360.7 kB / 3.566 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/7.16, allocations: 218.8 kB / 3.566 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/7.161, allocations: 407.2 kB / 3.567 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/7.162, allocations: 361.2 kB / 3.567 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/7.162, allocations: 3.031 kB / 3.567 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002852/7.165, allocations: 1.121 MB / 3.568 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003573/7.165, allocations: 2.178 MB / 3.57 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/7.165, allocations: 7.906 kB / 3.57 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/7.166, allocations: 305.6 kB / 3.571 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/7.167, allocations: 146.5 kB / 3.571 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/7.168, allocations: 1.009 MB / 3.572 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007962/7.169, allocations: 90.23 kB / 3.572 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/7.169, allocations: 40.84 kB / 3.572 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/7.169, allocations: 4.672 kB / 3.572 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001856/7.171, allocations: 0.7674 MB / 3.573 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/7.171, allocations: 8.062 kB / 3.573 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/7.172, allocations: 280.5 kB / 3.573 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/7.173, allocations: 151.2 kB / 3.573 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/7.174, allocations: 0.9211 MB / 3.574 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006854/7.174, allocations: 81.34 kB / 3.574 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/7.174, allocations: 41.28 kB / 3.574 GB, free: 117.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (61): * Single equations (assignments): 60 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0001906/7.175, allocations: 123.9 kB / 3.574 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000718/7.175, allocations: 271.4 kB / 3.574 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/7.178, allocations: 2.597 MB / 3.577 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/7.178, allocations: 37.14 kB / 3.577 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/7.178, allocations: 0 / 3.577 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/7.178, allocations: 3.328 kB / 3.577 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/7.182, allocations: 3.434 MB / 3.58 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/7.182, allocations: 0 / 3.58 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/7.183, allocations: 160.2 kB / 3.581 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/7.183, allocations: 65.23 kB / 3.581 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/7.183, allocations: 17.7 kB / 3.581 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005416/7.184, allocations: 1.211 MB / 3.582 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/7.184, allocations: 0.5625 kB / 3.582 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003472/7.187, allocations: 2.7 MB / 3.584 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/7.188, allocations: 255.9 kB / 3.585 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/7.188, allocations: 7.469 kB / 3.585 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/7.188, allocations: 64.33 kB / 3.585 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/7.188, allocations: 58.17 kB / 3.585 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/7.189, allocations: 27.94 kB / 3.585 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004689/7.189, allocations: 322.2 kB / 3.585 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007971/7.197, allocations: 1.365 MB / 3.586 GB, free: 115.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008446/7.205, allocations: 1.883 MB / 3.588 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002485/7.208, allocations: 1.593 MB / 3.59 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/7.208, allocations: 0 / 3.59 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/7.209, allocations: 1.104 MB / 3.591 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/7.211, allocations: 272 kB / 3.591 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03524/7.246, allocations: 15.19 MB / 3.606 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006761/7.247, allocations: 1.163 MB / 3.607 GB, free: 114 MB / 0.4948 GB Notification: Performance of SimCode: time 3.086e-06/7.247, allocations: 0 / 3.607 GB, free: 114 MB / 0.4948 GB Notification: Performance of Templates: time 0.0601/7.307, allocations: 45.22 MB / 3.651 GB, free: 112 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1)