Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") [: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.002832/0.002832, allocations: 181.4 kB / 7.455 MB, free: 2.508 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.24/1.24, allocations: 194.2 MB / 202.1 MB, free: 8.648 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.001706/0.001706, allocations: 122.9 kB / 247.1 MB, free: 6.375 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.1606/0.1606, allocations: 39.94 MB / 331.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.781e-06/5.811e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08711/0.08713, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.411/4.499, allocations: 2.612 GB / 3.049 GB, free: 147.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/4.499, allocations: 82.12 kB / 3.049 GB, free: 147.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.43/5.929, allocations: 433.1 MB / 3.472 GB, free: 58.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001024/5.93, allocations: 18.5 kB / 3.472 GB, free: 58.57 MB / 490.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.009089/5.939, allocations: 1.786 MB / 3.474 GB, free: 57.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/5.939, allocations: 10.94 kB / 3.474 GB, free: 57.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/5.942, allocations: 347.3 kB / 3.474 GB, free: 57.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/5.944, allocations: 0.5887 MB / 3.475 GB, free: 57.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.476e-05/5.944, allocations: 22.78 kB / 3.475 GB, free: 57.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/5.944, allocations: 33.41 kB / 3.475 GB, free: 57.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001143/5.945, allocations: 0.5385 MB / 3.475 GB, free: 57.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/5.946, allocations: 0.6618 MB / 3.476 GB, free: 57.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/5.946, allocations: 0 / 3.476 GB, free: 57.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.671e-05/5.946, allocations: 2.906 kB / 3.476 GB, free: 57.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/5.946, allocations: 25.56 kB / 3.476 GB, free: 57.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1615/6.108, allocations: 68.98 MB / 3.543 GB, free: 19.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/6.108, allocations: 325.4 kB / 3.544 GB, free: 18.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/6.109, allocations: 169 kB / 3.544 GB, free: 18.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03328/6.142, allocations: 17.02 MB / 3.56 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/6.142, allocations: 46.81 kB / 3.56 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 2.294e-06/6.142, allocations: 0 / 3.56 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54): time 0.02605/6.168, allocations: 3.428 MB / 3.564 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/6.168, allocations: 108 kB / 3.564 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007741/6.169, allocations: 437.4 kB / 3.564 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/6.169, allocations: 25.7 kB / 3.564 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/6.169, allocations: 306.3 kB / 3.565 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/6.17, allocations: 186 kB / 3.565 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/6.17, allocations: 0 / 3.565 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001883/6.17, allocations: 370.1 kB / 3.565 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/6.17, allocations: 282.4 kB / 3.565 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/6.171, allocations: 0.4935 MB / 3.566 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/6.173, allocations: 466.5 kB / 3.566 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/6.173, allocations: 0 / 3.566 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004029/6.177, allocations: 1.437 MB / 3.568 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001186/6.178, allocations: 2.611 MB / 3.57 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/6.178, allocations: 8 kB / 3.57 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002661/6.181, allocations: 0.5592 MB / 3.571 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/6.181, allocations: 193.5 kB / 3.571 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003775/6.185, allocations: 1.909 MB / 3.573 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/6.186, allocations: 137.3 kB / 3.573 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/6.187, allocations: 50.8 kB / 3.573 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/6.187, allocations: 4 kB / 3.573 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003039/6.19, allocations: 0.9336 MB / 3.574 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/6.19, allocations: 8 kB / 3.574 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/6.191, allocations: 372 kB / 3.574 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/6.192, allocations: 189.8 kB / 3.574 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/6.194, allocations: 1.573 MB / 3.576 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/6.195, allocations: 109.1 kB / 3.576 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.249e-05/6.195, allocations: 43.84 kB / 3.576 GB, free: 2.762 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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 (68): * Single equations (assignments): 66 * 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 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003648/6.196, allocations: 132.5 kB / 3.576 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008845/6.196, allocations: 272.1 kB / 3.577 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004527/6.201, allocations: 2.349 MB / 3.579 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/6.201, allocations: 19.73 kB / 3.579 GB, free: 376 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/6.201, allocations: 4 kB / 3.579 GB, free: 372 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/6.201, allocations: 7.469 kB / 3.579 GB, free: 368 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2698/6.471, allocations: 3.308 MB / 3.582 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/6.471, allocations: 0 / 3.582 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/6.471, allocations: 103.7 kB / 3.582 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/6.474, allocations: 1.013 MB / 3.583 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/6.474, allocations: 16.94 kB / 3.583 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/6.476, allocations: 2.305 MB / 3.585 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/6.476, allocations: 2.625 kB / 3.585 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003261/6.48, allocations: 1.969 MB / 3.587 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/6.48, allocations: 293.9 kB / 3.588 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/6.48, allocations: 0 / 3.588 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007267/6.481, allocations: 101.2 kB / 3.588 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/6.481, allocations: 47.36 kB / 3.588 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/6.481, allocations: 32.02 kB / 3.588 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005345/6.482, allocations: 445.7 kB / 3.588 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006923/6.489, allocations: 1.498 MB / 3.59 GB, free: 111.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 8,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0085/6.497, allocations: 1.956 MB / 3.592 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003537/6.501, allocations: 1.51 MB / 3.593 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/6.501, allocations: 0 / 3.593 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/6.502, allocations: 0.8186 MB / 3.594 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/6.504, allocations: 243.3 kB / 3.594 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04139/6.545, allocations: 15.92 MB / 3.61 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/6.546, allocations: 1.106 MB / 3.611 GB, free: 110 MB / 0.4948 GB Notification: Performance of SimCode: time 1.392e-06/6.546, allocations: 0 / 3.611 GB, free: 110 MB / 0.4948 GB Notification: Performance of Templates: time 0.08525/6.631, allocations: 51.64 MB / 3.661 GB, free: 108.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1)