Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") [: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.1+maint.om/package.mo): time 0.002915/0.002915, allocations: 171.5 kB / 7.443 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.232/1.232, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001734/0.001734, allocations: 120.4 kB / 217.7 MB, free: 8.152 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2179/0.2179, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.635e-06, allocations: 1.438 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.0972, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.312/6.409, allocations: 2.506 GB / 2.895 GB, free: 5.402 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/6.409, allocations: 86.64 kB / 2.895 GB, free: 5.324 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.79/8.199, allocations: 423.2 MB / 3.309 GB, free: 40.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.968e-05/8.2, allocations: 22.91 kB / 3.309 GB, free: 40.86 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.008543/8.208, allocations: 1.723 MB / 3.31 GB, free: 39.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/8.208, allocations: 7.812 kB / 3.31 GB, free: 39.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003466/8.212, allocations: 362.8 kB / 3.311 GB, free: 39.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/8.214, allocations: 0.5874 MB / 3.311 GB, free: 39.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.742e-05/8.214, allocations: 27.19 kB / 3.311 GB, free: 39.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/8.214, allocations: 31.81 kB / 3.311 GB, free: 39.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001355/8.215, allocations: 0.5515 MB / 3.312 GB, free: 39.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/8.217, allocations: 0.6636 MB / 3.312 GB, free: 38.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/8.217, allocations: 7 kB / 3.312 GB, free: 38.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/8.217, allocations: 2.125 kB / 3.312 GB, free: 38.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/8.217, allocations: 20.5 kB / 3.312 GB, free: 38.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09967/8.316, allocations: 37.04 MB / 3.349 GB, free: 17.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007697/8.317, allocations: 313.8 kB / 3.349 GB, free: 17.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/8.318, allocations: 196 kB / 3.349 GB, free: 17.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04865/8.366, allocations: 20.33 MB / 3.369 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.05e-05/8.367, allocations: 30.56 kB / 3.369 GB, free: 13.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 6.222e-06/8.367, allocations: 0 / 3.369 GB, free: 13.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.02601/8.393, allocations: 3.36 MB / 3.372 GB, free: 10.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/8.393, allocations: 112.2 kB / 3.372 GB, free: 10.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008071/8.394, allocations: 403.6 kB / 3.373 GB, free: 10.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001299/8.394, allocations: 25.7 kB / 3.373 GB, free: 10.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/8.394, allocations: 309.6 kB / 3.373 GB, free: 10.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/8.394, allocations: 193.3 kB / 3.373 GB, free: 9.926 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/8.394, allocations: 0 / 3.373 GB, free: 9.926 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002296/8.395, allocations: 364.7 kB / 3.374 GB, free: 9.578 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/8.395, allocations: 303.7 kB / 3.374 GB, free: 9.293 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008051/8.396, allocations: 0.5013 MB / 3.374 GB, free: 8.727 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/8.398, allocations: 458.5 kB / 3.375 GB, free: 8.355 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/8.398, allocations: 0 / 3.375 GB, free: 8.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004501/8.403, allocations: 1.41 MB / 3.376 GB, free: 7.141 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00148/8.404, allocations: 2.443 MB / 3.379 GB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/8.404, allocations: 11.92 kB / 3.379 GB, free: 4.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/8.407, allocations: 0.5739 MB / 3.379 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/8.408, allocations: 171.8 kB / 3.379 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003687/8.411, allocations: 1.834 MB / 3.381 GB, free: 1.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/8.413, allocations: 115.8 kB / 3.381 GB, free: 1.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/8.413, allocations: 51.97 kB / 3.381 GB, free: 1.766 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/8.413, allocations: 7.938 kB / 3.381 GB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004049/8.417, allocations: 1.031 MB / 3.382 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/8.417, allocations: 15.88 kB / 3.382 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/8.419, allocations: 368.8 kB / 3.383 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006976/8.42, allocations: 175.8 kB / 3.383 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2439/8.664, allocations: 1.553 MB / 3.384 GB, free: 91.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/8.665, allocations: 95.41 kB / 3.384 GB, free: 91.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/8.665, allocations: 37.09 kB / 3.384 GB, free: 91.34 MB / 442.7 MB 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: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.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.0003571/8.665, allocations: 132.4 kB / 3.385 GB, free: 91.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000841/8.666, allocations: 275.4 kB / 3.385 GB, free: 91.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/8.67, allocations: 3.108 MB / 3.388 GB, free: 91.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.709e-05/8.671, allocations: 30.16 kB / 3.388 GB, free: 91.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/8.671, allocations: 4.406 kB / 3.388 GB, free: 91.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/8.671, allocations: 5.562 kB / 3.388 GB, free: 91.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005451/8.676, allocations: 4.146 MB / 3.392 GB, free: 90.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/8.676, allocations: 0 / 3.392 GB, free: 90.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/8.676, allocations: 98.62 kB / 3.392 GB, free: 90.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/8.679, allocations: 1.063 MB / 3.393 GB, free: 90.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/8.679, allocations: 19.75 kB / 3.393 GB, free: 90.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/8.682, allocations: 2.253 MB / 3.395 GB, free: 89.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/8.682, allocations: 5.844 kB / 3.395 GB, free: 89.59 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003812/8.685, allocations: 2.538 MB / 3.398 GB, free: 89.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/8.686, allocations: 287 kB / 3.398 GB, free: 89.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/8.686, allocations: 7.781 kB / 3.398 GB, free: 89.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007095/8.687, allocations: 81.75 kB / 3.398 GB, free: 89.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/8.687, allocations: 63.94 kB / 3.398 GB, free: 89.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/8.687, allocations: 33.45 kB / 3.398 GB, free: 89.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004814/8.687, allocations: 364.8 kB / 3.399 GB, free: 88.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008116/8.696, allocations: 1.494 MB / 3.4 GB, free: 88.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 9,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01066/8.706, allocations: 1.965 MB / 3.402 GB, free: 88.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003828/8.71, allocations: 1.865 MB / 3.404 GB, free: 88.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/8.71, allocations: 1.125 kB / 3.404 GB, free: 88.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/8.712, allocations: 1.194 MB / 3.405 GB, free: 88.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/8.713, allocations: 250.2 kB / 3.405 GB, free: 88.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03928/8.753, allocations: 14.77 MB / 3.42 GB, free: 88.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/8.754, allocations: 1.163 MB / 3.421 GB, free: 87.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.654e-06/8.754, allocations: 2.25 kB / 3.421 GB, free: 87.71 MB / 442.7 MB Notification: Performance of Templates: time 0.08603/8.84, allocations: 53.01 MB / 3.473 GB, free: 85.46 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1)