Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") [: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.001845/0.001845, allocations: 175.3 kB / 7.455 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.594/0.594, allocations: 133.5 MB / 141.4 MB, free: 15.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.119/1.119, allocations: 221.4 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008358/0.0008358, allocations: 98.08 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.543e-06/6.983e-06, allocations: 2.875 kB / 0.5528 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7604/0.8685, allocations: 396.7 MB / 1.021 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.8688, allocations: 89.17 kB / 1.021 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.415/2.284, allocations: 0.5611 GB / 1.582 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001886/2.284, allocations: 46.67 kB / 1.582 GB, free: 107.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004471/2.289, allocations: 2.003 MB / 1.584 GB, free: 107 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/2.289, allocations: 7.438 kB / 1.584 GB, free: 107 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005099/2.294, allocations: 0.731 MB / 1.585 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/2.297, allocations: 1.871 MB / 1.586 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/2.298, allocations: 98.06 kB / 1.586 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/2.298, allocations: 77.56 kB / 1.586 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002146/2.3, allocations: 1.159 MB / 1.588 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/2.302, allocations: 1.451 MB / 1.589 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/2.302, allocations: 1.969 kB / 1.589 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/2.303, allocations: 3.812 kB / 1.589 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/2.303, allocations: 60.47 kB / 1.589 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009749/2.312, allocations: 7.664 MB / 1.597 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/2.313, allocations: 0.624 MB / 1.597 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/2.314, allocations: 383.7 kB / 1.598 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009527/2.315, allocations: 1.274 MB / 1.599 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/2.315, allocations: 42.09 kB / 1.599 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 1.954e-06/2.315, allocations: 2.719 kB / 1.599 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.003695/2.318, allocations: 0.999 MB / 1.6 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/2.319, allocations: 194.5 kB / 1.6 GB, free: 101 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/2.32, allocations: 1.032 MB / 1.601 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/2.32, allocations: 29.42 kB / 1.601 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/2.32, allocations: 0.5656 MB / 1.602 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/2.32, allocations: 254.3 kB / 1.602 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/2.32, allocations: 0 / 1.602 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.761e-05/2.321, allocations: 347.8 kB / 1.602 GB, free: 100 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/2.321, allocations: 351.1 kB / 1.603 GB, free: 100 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/2.322, allocations: 0.6504 MB / 1.603 GB, free: 99.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/2.323, allocations: 461 kB / 1.604 GB, free: 99.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/2.323, allocations: 3.531 kB / 1.604 GB, free: 99.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004042/2.327, allocations: 1.276 MB / 1.605 GB, free: 99.53 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003596/2.327, allocations: 2.471 MB / 1.607 GB, free: 96.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/2.327, allocations: 3.625 kB / 1.607 GB, free: 96.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/2.328, allocations: 369.7 kB / 1.608 GB, free: 96.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/2.329, allocations: 279.3 kB / 1.608 GB, free: 96.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/2.331, allocations: 0.9635 MB / 1.609 GB, free: 96.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/2.333, allocations: 261.6 kB / 1.609 GB, free: 96.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/2.333, allocations: 56.38 kB / 1.609 GB, free: 96.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.473e-06/2.333, allocations: 3.875 kB / 1.609 GB, free: 96.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003744/2.337, allocations: 1.112 MB / 1.61 GB, free: 96.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/2.337, allocations: 10.25 kB / 1.61 GB, free: 96.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006681/2.337, allocations: 360.1 kB / 1.611 GB, free: 96.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/2.339, allocations: 277 kB / 1.611 GB, free: 96.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009959/2.34, allocations: 0.9684 MB / 1.612 GB, free: 95.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/2.342, allocations: 225.7 kB / 1.612 GB, free: 95.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/2.342, allocations: 60.48 kB / 1.612 GB, free: 95.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002309/2.342, allocations: 135.8 kB / 1.612 GB, free: 95.69 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/2.342, allocations: 138.5 kB / 1.612 GB, free: 95.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/2.346, allocations: 1.098 MB / 1.613 GB, free: 95.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/2.346, allocations: 9.344 kB / 1.613 GB, free: 95.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/2.346, allocations: 0 / 1.613 GB, free: 95.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003132/2.349, allocations: 0.9618 MB / 1.614 GB, free: 95.36 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006584/2.356, allocations: 2.821 MB / 1.617 GB, free: 94.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/2.356, allocations: 3.609 kB / 1.617 GB, free: 94.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/2.357, allocations: 177.6 kB / 1.617 GB, free: 94.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006923/2.358, allocations: 356.5 kB / 1.618 GB, free: 94.89 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.376e-05/2.358, allocations: 25.23 kB / 1.618 GB, free: 94.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/2.359, allocations: 0.9534 MB / 1.619 GB, free: 94.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/2.359, allocations: 5.781 kB / 1.619 GB, free: 94.37 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01059/2.369, allocations: 2.383 MB / 1.621 GB, free: 93.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009182/2.37, allocations: 400.7 kB / 1.621 GB, free: 93.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004426/2.371, allocations: 11.22 kB / 1.621 GB, free: 93.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/2.373, allocations: 162.7 kB / 1.621 GB, free: 93.61 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/2.373, allocations: 77.73 kB / 1.622 GB, free: 93.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/2.373, allocations: 48.3 kB / 1.622 GB, free: 93.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001152/2.374, allocations: 0.7831 MB / 1.622 GB, free: 93.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003174/2.378, allocations: 1.027 MB / 1.623 GB, free: 93.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001707/2.379, allocations: 0.8985 MB / 1.624 GB, free: 93.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002371/2.382, allocations: 1.437 MB / 1.626 GB, free: 93.06 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/2.382, allocations: 3.844 kB / 1.626 GB, free: 93.06 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007471/2.382, allocations: 482.4 kB / 1.626 GB, free: 93.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/2.385, allocations: 0.5739 MB / 1.627 GB, free: 93.05 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/2.39, allocations: 2.165 MB / 1.629 GB, free: 92.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/2.391, allocations: 1.458 MB / 1.63 GB, free: 91.69 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/2.391, allocations: 3.312 kB / 1.63 GB, free: 91.69 MB / 0.6823 GB Notification: Performance of Templates: time 0.06179/2.453, allocations: 42.3 MB / 1.671 GB, free: 83.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)