Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") [: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.001777/0.001777, allocations: 184.8 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6029/0.6029, 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.137/1.137, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008794/0.0008793, allocations: 98.3 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.001e-06, allocations: 2.5 kB / 0.5528 GB, free: 89.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 82.3 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.718/0.8257, allocations: 398.1 MB / 1.022 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.826, allocations: 91.94 kB / 1.022 GB, free: 236 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.727/3.553, allocations: 1.063 GB / 2.085 GB, free: 62.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003612/3.553, allocations: 82.61 kB / 2.085 GB, free: 62 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006933/3.56, allocations: 3.206 MB / 2.088 GB, free: 60.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/3.56, allocations: 11.06 kB / 2.088 GB, free: 60.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/3.571, allocations: 1.406 MB / 2.09 GB, free: 60.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007047/3.578, allocations: 3.34 MB / 2.093 GB, free: 59.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/3.578, allocations: 171.3 kB / 2.093 GB, free: 59.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006095/3.579, allocations: 136.5 kB / 2.093 GB, free: 59.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004123/3.583, allocations: 2.026 MB / 2.095 GB, free: 59.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004514/3.587, allocations: 2.508 MB / 2.098 GB, free: 59.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.539e-05/3.587, allocations: 11.91 kB / 2.098 GB, free: 59.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/3.588, allocations: 7 kB / 2.098 GB, free: 59.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-05/3.588, allocations: 77.61 kB / 2.098 GB, free: 59.35 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01859/3.606, allocations: 14.11 MB / 2.112 GB, free: 52.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/3.608, allocations: 1.112 MB / 2.113 GB, free: 52.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000799/3.609, allocations: 0.6077 MB / 2.113 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/3.61, allocations: 1.779 MB / 2.115 GB, free: 50.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/3.611, allocations: 0.934 MB / 2.116 GB, free: 50.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 4.588e-06/3.611, allocations: 0 / 2.116 GB, free: 50.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.01859/3.63, allocations: 10.08 MB / 2.126 GB, free: 44.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/3.63, allocations: 0.9361 MB / 2.127 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/3.632, allocations: 1.843 MB / 2.129 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/3.633, allocations: 33.58 kB / 2.129 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006414/3.633, allocations: 0.98 MB / 2.13 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/3.633, allocations: 409.1 kB / 2.13 GB, free: 42.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/3.634, allocations: 0 / 2.13 GB, free: 42.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.854e-05/3.634, allocations: 371.4 kB / 2.13 GB, free: 41.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009111/3.635, allocations: 0.6039 MB / 2.131 GB, free: 41.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/3.636, allocations: 1.224 MB / 2.132 GB, free: 41.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/3.638, allocations: 0.82 MB / 2.133 GB, free: 41.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/3.638, allocations: 3.25 kB / 2.133 GB, free: 41.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004289/3.642, allocations: 2.261 MB / 2.135 GB, free: 40.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007412/3.643, allocations: 5.092 MB / 2.14 GB, free: 35.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/3.643, allocations: 18.75 kB / 2.14 GB, free: 35.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/3.645, allocations: 0.8975 MB / 2.141 GB, free: 35.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/3.647, allocations: 460.7 kB / 2.141 GB, free: 35.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/3.65, allocations: 2.365 MB / 2.144 GB, free: 34.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/3.655, allocations: 393.2 kB / 2.144 GB, free: 34.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/3.655, allocations: 114.1 kB / 2.144 GB, free: 34.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/3.655, allocations: 3.719 kB / 2.144 GB, free: 34.29 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003965/3.659, allocations: 1.961 MB / 2.146 GB, free: 34.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/3.659, allocations: 11.81 kB / 2.146 GB, free: 34.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/3.66, allocations: 0.8886 MB / 2.147 GB, free: 34.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/3.663, allocations: 449.1 kB / 2.147 GB, free: 34.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/3.666, allocations: 2.384 MB / 2.15 GB, free: 33.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/3.67, allocations: 330 kB / 2.15 GB, free: 33.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/3.67, allocations: 103.8 kB / 2.15 GB, free: 33.11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (148): * Single equations (assignments): 145 * 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 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.000504/3.67, allocations: 161 kB / 2.15 GB, free: 33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005793/3.671, allocations: 241.6 kB / 2.151 GB, free: 32.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005416/3.676, allocations: 1.761 MB / 2.152 GB, free: 32.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/3.677, allocations: 14.88 kB / 2.152 GB, free: 32.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/3.677, allocations: 9.375 kB / 2.152 GB, free: 32.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004331/3.681, allocations: 1.553 MB / 2.154 GB, free: 32.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009314/3.69, allocations: 6.13 MB / 2.16 GB, free: 30.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/3.69, allocations: 5.156 kB / 2.16 GB, free: 30.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/3.692, allocations: 286.9 kB / 2.16 GB, free: 30.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/3.693, allocations: 0.7732 MB / 2.161 GB, free: 30.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/3.694, allocations: 36.41 kB / 2.161 GB, free: 30.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/3.696, allocations: 2.108 MB / 2.163 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/3.696, allocations: 18.19 kB / 2.163 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006191/3.702, allocations: 3.269 MB / 2.166 GB, free: 28.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/3.703, allocations: 0.6192 MB / 2.167 GB, free: 28.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000695/3.704, allocations: 19.81 kB / 2.167 GB, free: 28.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003513/3.708, allocations: 272.4 kB / 2.167 GB, free: 28.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/3.708, allocations: 107.2 kB / 2.167 GB, free: 28.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/3.708, allocations: 74.23 kB / 2.167 GB, free: 28.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.002083/3.71, allocations: 1.381 MB / 2.168 GB, free: 27.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005227/3.715, allocations: 1.562 MB / 2.17 GB, free: 27.83 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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 (76): * Single equations (assignments): 70 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002623/3.718, allocations: 1.511 MB / 2.171 GB, free: 27.42 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004327/3.722, allocations: 2.64 MB / 2.174 GB, free: 27.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/3.722, allocations: 4.531 kB / 2.174 GB, free: 27.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/3.724, allocations: 0.7719 MB / 2.175 GB, free: 27.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/3.728, allocations: 1.03 MB / 2.176 GB, free: 27.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008095/3.736, allocations: 3.764 MB / 2.18 GB, free: 26.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/3.738, allocations: 2.033 MB / 2.181 GB, free: 25.45 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/3.738, allocations: 5.828 kB / 2.182 GB, free: 25.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.09703/3.835, allocations: 77.02 MB / 2.257 GB, free: 20.9 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)