Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") [: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.002411/0.002411, allocations: 186.8 kB / 7.461 MB, free: 2.195 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.221/1.221, allocations: 194.2 MB / 202.1 MB, free: 8.668 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.001744/0.001744, allocations: 118.8 kB / 247.1 MB, free: 6.352 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.1775/0.1775, allocations: 39.95 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.145e-06/8.165e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09837/0.09839, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.95/5.048, allocations: 2.595 GB / 3.032 GB, free: 149.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/5.048, allocations: 88.23 kB / 3.032 GB, free: 149.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.297/6.345, allocations: 414.6 MB / 3.437 GB, free: 62.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.097e-05/6.345, allocations: 20.41 kB / 3.437 GB, free: 62.35 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.006232/6.351, allocations: 1.662 MB / 3.439 GB, free: 61.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/6.351, allocations: 7.75 kB / 3.439 GB, free: 61.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/6.354, allocations: 318 kB / 3.439 GB, free: 61.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/6.355, allocations: 0.5394 MB / 3.44 GB, free: 61.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/6.355, allocations: 23.38 kB / 3.44 GB, free: 61.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/6.355, allocations: 35.41 kB / 3.44 GB, free: 61.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009626/6.356, allocations: 0.5116 MB / 3.44 GB, free: 61.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009645/6.357, allocations: 0.6381 MB / 3.441 GB, free: 61.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/6.357, allocations: 0 / 3.441 GB, free: 61.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.57e-05/6.357, allocations: 3.594 kB / 3.441 GB, free: 61.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/6.358, allocations: 20.41 kB / 3.441 GB, free: 61.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08042/6.438, allocations: 36.81 MB / 3.477 GB, free: 42.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/6.439, allocations: 332.2 kB / 3.477 GB, free: 42.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/6.439, allocations: 189.8 kB / 3.477 GB, free: 42.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03731/6.476, allocations: 20.09 MB / 3.497 GB, free: 28.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/6.476, allocations: 40.86 kB / 3.497 GB, free: 28.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 2.865e-06/6.476, allocations: 1.594 kB / 3.497 GB, free: 28.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.008903/6.485, allocations: 2.412 MB / 3.499 GB, free: 28.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/6.485, allocations: 110.8 kB / 3.499 GB, free: 27.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/6.486, allocations: 368.2 kB / 3.5 GB, free: 27.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/6.486, allocations: 29.7 kB / 3.5 GB, free: 27.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/6.486, allocations: 289.5 kB / 3.5 GB, free: 27.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/6.486, allocations: 177 kB / 3.5 GB, free: 27.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/6.486, allocations: 0 / 3.5 GB, free: 27.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/6.486, allocations: 364.7 kB / 3.501 GB, free: 27.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/6.487, allocations: 237 kB / 3.501 GB, free: 27.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/6.487, allocations: 442.4 kB / 3.501 GB, free: 26.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/6.488, allocations: 363.4 kB / 3.502 GB, free: 26.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/6.488, allocations: 3.562 kB / 3.502 GB, free: 26.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004119/6.492, allocations: 1.339 MB / 3.503 GB, free: 26.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000443/6.493, allocations: 2.351 MB / 3.505 GB, free: 24.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/6.493, allocations: 3.812 kB / 3.505 GB, free: 24.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/6.495, allocations: 427.7 kB / 3.506 GB, free: 24.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/6.496, allocations: 145.9 kB / 3.506 GB, free: 24.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/6.498, allocations: 1.637 MB / 3.507 GB, free: 23.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009578/6.499, allocations: 96.75 kB / 3.507 GB, free: 23.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.274e-05/6.499, allocations: 39.53 kB / 3.507 GB, free: 23.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/6.499, allocations: 3.781 kB / 3.507 GB, free: 23.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003263/6.502, allocations: 0.9521 MB / 3.508 GB, free: 23.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/6.502, allocations: 10.16 kB / 3.508 GB, free: 23.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/6.504, allocations: 359.2 kB / 3.509 GB, free: 23.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/6.504, allocations: 154.1 kB / 3.509 GB, free: 23.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/6.506, allocations: 1.549 MB / 3.51 GB, free: 22.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008681/6.507, allocations: 88.27 kB / 3.51 GB, free: 22.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/6.507, allocations: 35.33 kB / 3.511 GB, free: 22.09 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" 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: 27 * 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 (62): * 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: 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,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003763/6.507, allocations: 120.6 kB / 3.511 GB, free: 21.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008328/6.508, allocations: 270.3 kB / 3.511 GB, free: 21.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/6.512, allocations: 2.643 MB / 3.513 GB, free: 21.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/6.512, allocations: 25.94 kB / 3.514 GB, free: 21.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/6.512, allocations: 0 / 3.514 GB, free: 21.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/6.512, allocations: 12.22 kB / 3.514 GB, free: 21.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005582/6.518, allocations: 3.746 MB / 3.517 GB, free: 21.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/6.518, allocations: 1.344 kB / 3.517 GB, free: 21.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/6.518, allocations: 92.56 kB / 3.517 GB, free: 21.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/6.52, allocations: 0.5836 MB / 3.518 GB, free: 21.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/6.52, allocations: 15.77 kB / 3.518 GB, free: 21.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/6.522, allocations: 1.787 MB / 3.52 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/6.522, allocations: 5.047 kB / 3.52 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004201/6.526, allocations: 2.293 MB / 3.522 GB, free: 19.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/6.527, allocations: 258.8 kB / 3.522 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/6.527, allocations: 7.219 kB / 3.522 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/6.527, allocations: 70.95 kB / 3.522 GB, free: 19.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/6.528, allocations: 53.31 kB / 3.522 GB, free: 19.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/6.528, allocations: 33.03 kB / 3.522 GB, free: 19.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000428/6.528, allocations: 335.2 kB / 3.523 GB, free: 19.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006329/6.534, allocations: 1.346 MB / 3.524 GB, free: 19.33 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0103/6.545, allocations: 1.871 MB / 3.526 GB, free: 18.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003427/6.548, allocations: 1.662 MB / 3.527 GB, free: 18.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/6.548, allocations: 3.625 kB / 3.527 GB, free: 18.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/6.55, allocations: 1.054 MB / 3.528 GB, free: 18.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/6.551, allocations: 238.8 kB / 3.529 GB, free: 18.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03952/6.591, allocations: 15 MB / 3.543 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000837/6.591, allocations: 1.121 MB / 3.544 GB, free: 14.46 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/6.591, allocations: 0 / 3.544 GB, free: 14.46 MB / 490.7 MB Notification: Performance of Templates: time 0.2614/6.853, allocations: 46.08 MB / 3.589 GB, free: 113.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1)