Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") [: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 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 188 kB / 7.801 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4518/0.4518, allocations: 90.84 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 221.4 MB / 342.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008778/0.0008779, allocations: 88.02 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.127e-06/9.147e-06, allocations: 4 kB / 493.9 MB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2961, allocations: 72.29 MB / 0.5529 GB, free: 73.28 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5253/0.8213, allocations: 391.2 MB / 0.9349 GB, free: 424 kB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.8216, allocations: 88.08 kB / 0.935 GB, free: 380 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.831/2.653, allocations: 0.5687 GB / 1.504 GB, free: 82.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002904/2.653, allocations: 50.16 kB / 1.504 GB, free: 82.23 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.006151/2.659, allocations: 2.006 MB / 1.506 GB, free: 81.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/2.659, allocations: 10.64 kB / 1.506 GB, free: 81.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005729/2.665, allocations: 0.7198 MB / 1.506 GB, free: 81.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00598/2.671, allocations: 1.899 MB / 1.508 GB, free: 80.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/2.671, allocations: 88.41 kB / 1.508 GB, free: 80.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004658/2.672, allocations: 72.34 kB / 1.508 GB, free: 80.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002758/2.674, allocations: 1.124 MB / 1.509 GB, free: 80.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/2.677, allocations: 1.383 MB / 1.511 GB, free: 80.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/2.677, allocations: 8.25 kB / 1.511 GB, free: 80.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/2.678, allocations: 2.562 kB / 1.511 GB, free: 80.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.329e-05/2.678, allocations: 52.98 kB / 1.511 GB, free: 80.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/2.693, allocations: 7.682 MB / 1.518 GB, free: 76.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/2.694, allocations: 0.862 MB / 1.519 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006513/2.695, allocations: 467 kB / 1.52 GB, free: 76.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/2.696, allocations: 1.267 MB / 1.521 GB, free: 75.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009379/2.697, allocations: 0.5451 MB / 1.521 GB, free: 75.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=79): time 3.387e-06/2.697, allocations: 0 / 1.521 GB, free: 75.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79): time 0.004856/2.702, allocations: 1.215 MB / 1.523 GB, free: 75.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/2.702, allocations: 161.9 kB / 1.523 GB, free: 75.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/2.704, allocations: 1 MB / 1.524 GB, free: 74.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001732/2.704, allocations: 36.69 kB / 1.524 GB, free: 74.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005567/2.705, allocations: 0.5261 MB / 1.524 GB, free: 74.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/2.705, allocations: 258.8 kB / 1.525 GB, free: 74.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/2.705, allocations: 3 kB / 1.525 GB, free: 74.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/2.705, allocations: 346.1 kB / 1.525 GB, free: 74.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/2.706, allocations: 378 kB / 1.525 GB, free: 74.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007673/2.707, allocations: 0.6625 MB / 1.526 GB, free: 73.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/2.708, allocations: 486.5 kB / 1.526 GB, free: 73.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/2.708, allocations: 0 / 1.526 GB, free: 73.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002961/2.711, allocations: 1.301 MB / 1.528 GB, free: 73.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005428/2.712, allocations: 2.396 MB / 1.53 GB, free: 71.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/2.712, allocations: 6.812 kB / 1.53 GB, free: 71.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/2.713, allocations: 435 kB / 1.53 GB, free: 71.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/2.714, allocations: 250.2 kB / 1.531 GB, free: 71.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/2.716, allocations: 1.173 MB / 1.532 GB, free: 70.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/2.718, allocations: 219.9 kB / 1.532 GB, free: 70.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/2.718, allocations: 60.39 kB / 1.532 GB, free: 70.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/2.718, allocations: 7 kB / 1.532 GB, free: 70.63 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002379/2.721, allocations: 1.119 MB / 1.533 GB, free: 70.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/2.721, allocations: 6.859 kB / 1.533 GB, free: 70.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009155/2.722, allocations: 436.4 kB / 1.534 GB, free: 70.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/2.723, allocations: 243.3 kB / 1.534 GB, free: 70.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/2.725, allocations: 1.169 MB / 1.535 GB, free: 70.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/2.727, allocations: 207.5 kB / 1.535 GB, free: 70.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/2.727, allocations: 53.89 kB / 1.535 GB, free: 70.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0003819/2.727, allocations: 133.9 kB / 1.535 GB, free: 69.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004351/2.728, allocations: 139.3 kB / 1.535 GB, free: 69.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/2.731, allocations: 1.335 MB / 1.537 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/2.731, allocations: 13.41 kB / 1.537 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/2.731, allocations: 0 / 1.537 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002066/2.733, allocations: 1.106 MB / 1.538 GB, free: 69.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005377/2.738, allocations: 2.82 MB / 1.541 GB, free: 69.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/2.739, allocations: 0 / 1.541 GB, free: 69.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/2.74, allocations: 186.9 kB / 1.541 GB, free: 69.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008981/2.741, allocations: 428.9 kB / 1.541 GB, free: 69.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.963e-05/2.741, allocations: 30.28 kB / 1.541 GB, free: 69.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/2.742, allocations: 1.164 MB / 1.542 GB, free: 68.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/2.742, allocations: 3.812 kB / 1.542 GB, free: 68.64 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002415/2.745, allocations: 1.341 MB / 1.544 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008365/2.745, allocations: 412.2 kB / 1.544 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/2.746, allocations: 3.406 kB / 1.544 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/2.748, allocations: 167.5 kB / 1.544 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/2.748, allocations: 46.92 kB / 1.544 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/2.748, allocations: 54.92 kB / 1.544 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.00103/2.749, allocations: 0.7593 MB / 1.545 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00307/2.752, allocations: 1.052 MB / 1.546 GB, free: 67.83 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002502/2.755, allocations: 1.132 MB / 1.547 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003315/2.758, allocations: 1.574 MB / 1.549 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/2.758, allocations: 5.406 kB / 1.549 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007668/2.759, allocations: 0.5 MB / 1.549 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003032/2.762, allocations: 0.6393 MB / 1.55 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/2.766, allocations: 2.014 MB / 1.552 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/2.768, allocations: 1.463 MB / 1.553 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of SimCode: time 9.01e-07/2.768, allocations: 3.844 kB / 1.553 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.06668/2.834, allocations: 44.6 MB / 1.597 GB, free: 53.08 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)