Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") [: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.00205/0.00205, allocations: 175.7 kB / 7.46 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.596/0.596, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.128/1.128, allocations: 221.3 MB / 395 MB, free: 10.19 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.0009096/0.0009093, allocations: 102.2 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.981e-06, allocations: 0 / 0.5528 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 82.31 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.723/0.8273, allocations: 397.9 MB / 1.022 GB, free: 236 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.8276, allocations: 91.94 kB / 1.022 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.7/3.528, allocations: 1.063 GB / 2.085 GB, free: 65.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002956/3.528, allocations: 80.23 kB / 2.085 GB, free: 65.03 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005675/3.534, allocations: 3.21 MB / 2.088 GB, free: 63.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.399e-05/3.534, allocations: 9.594 kB / 2.088 GB, free: 63.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008954/3.543, allocations: 1.403 MB / 2.089 GB, free: 63.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004758/3.548, allocations: 3.36 MB / 2.092 GB, free: 63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/3.548, allocations: 171.9 kB / 2.093 GB, free: 62.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/3.548, allocations: 137.8 kB / 2.093 GB, free: 62.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003113/3.551, allocations: 2.033 MB / 2.095 GB, free: 62.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/3.554, allocations: 2.505 MB / 2.097 GB, free: 62.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/3.554, allocations: 10.91 kB / 2.097 GB, free: 62.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/3.555, allocations: 10.75 kB / 2.097 GB, free: 62.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/3.555, allocations: 71.97 kB / 2.097 GB, free: 62.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/3.571, allocations: 13.92 MB / 2.111 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/3.572, allocations: 1.134 MB / 2.112 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007697/3.573, allocations: 0.6262 MB / 2.113 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/3.574, allocations: 1.776 MB / 2.114 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/3.575, allocations: 0.947 MB / 2.115 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=122): time 2.635e-06/3.575, allocations: 3.281 kB / 2.115 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.004777/3.58, allocations: 1.684 MB / 2.117 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/3.58, allocations: 0.9335 MB / 2.118 GB, free: 52.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/3.582, allocations: 1.852 MB / 2.12 GB, free: 52.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/3.582, allocations: 36.58 kB / 2.12 GB, free: 52.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/3.583, allocations: 0.9825 MB / 2.121 GB, free: 51.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/3.583, allocations: 411.8 kB / 2.121 GB, free: 51.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/3.583, allocations: 5.812 kB / 2.121 GB, free: 51.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/3.583, allocations: 369 kB / 2.121 GB, free: 50.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009009/3.584, allocations: 0.6266 MB / 2.122 GB, free: 50.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/3.585, allocations: 1.225 MB / 2.123 GB, free: 50.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/3.587, allocations: 0.8351 MB / 2.124 GB, free: 50.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/3.587, allocations: 3.875 kB / 2.124 GB, free: 50.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01141/3.599, allocations: 2.796 MB / 2.127 GB, free: 50.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006175/3.599, allocations: 4.909 MB / 2.131 GB, free: 44.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/3.599, allocations: 12.38 kB / 2.131 GB, free: 44.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/3.601, allocations: 0.71 MB / 2.132 GB, free: 44.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/3.603, allocations: 0.5011 MB / 2.133 GB, free: 44.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/3.605, allocations: 1.919 MB / 2.135 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004278/3.609, allocations: 483.7 kB / 2.135 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/3.61, allocations: 107.3 kB / 2.135 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/3.61, allocations: 4.219 kB / 2.135 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01106/3.621, allocations: 2.508 MB / 2.138 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/3.621, allocations: 11.06 kB / 2.138 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/3.622, allocations: 0.7138 MB / 2.138 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/3.624, allocations: 490.3 kB / 2.139 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/3.626, allocations: 1.922 MB / 2.141 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0035/3.63, allocations: 396.1 kB / 2.141 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/3.63, allocations: 102 kB / 2.141 GB, free: 42.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.000361/3.63, allocations: 158.5 kB / 2.141 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/3.631, allocations: 253 kB / 2.141 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/3.642, allocations: 2.315 MB / 2.144 GB, free: 42.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/3.642, allocations: 22.56 kB / 2.144 GB, free: 42.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/3.642, allocations: 3.875 kB / 2.144 GB, free: 42.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01034/3.652, allocations: 2.119 MB / 2.146 GB, free: 41.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/3.666, allocations: 6.728 MB / 2.152 GB, free: 39.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/3.666, allocations: 6.938 kB / 2.152 GB, free: 39.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/3.668, allocations: 303.5 kB / 2.153 GB, free: 39.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/3.669, allocations: 0.6934 MB / 2.153 GB, free: 39.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/3.669, allocations: 35.09 kB / 2.153 GB, free: 39.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/3.671, allocations: 1.926 MB / 2.155 GB, free: 38.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/3.671, allocations: 10.38 kB / 2.155 GB, free: 38.75 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004091/3.675, allocations: 3.27 MB / 2.158 GB, free: 37.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008419/3.676, allocations: 0.636 MB / 2.159 GB, free: 37.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004325/3.676, allocations: 17.64 kB / 2.159 GB, free: 37.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003046/3.679, allocations: 285.1 kB / 2.159 GB, free: 37.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/3.679, allocations: 103.5 kB / 2.159 GB, free: 37.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/3.68, allocations: 72.33 kB / 2.16 GB, free: 37.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001503/3.681, allocations: 1.391 MB / 2.161 GB, free: 37.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004104/3.685, allocations: 1.828 MB / 2.163 GB, free: 36.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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: 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002032/3.687, allocations: 1.518 MB / 2.164 GB, free: 36.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00359/3.691, allocations: 2.603 MB / 2.167 GB, free: 36.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/3.691, allocations: 0.7188 kB / 2.167 GB, free: 36.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/3.692, allocations: 0.7745 MB / 2.167 GB, free: 36.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/3.696, allocations: 1.043 MB / 2.169 GB, free: 36.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007147/3.703, allocations: 3.905 MB / 2.172 GB, free: 35.15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/3.705, allocations: 2.049 MB / 2.174 GB, free: 34.41 MB / 0.7136 GB Notification: Performance of SimCode: time 6.62e-07/3.705, allocations: 0 / 2.174 GB, free: 34.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.09726/3.802, allocations: 76.42 MB / 2.249 GB, free: 29.51 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)