Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.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.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") [: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.0008594/0.0008594, allocations: 179 kB / 7.457 MB, free: 1.555 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5868/0.5868, allocations: 133.5 MB / 141.4 MB, free: 4.855 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.107/1.107, allocations: 221.4 MB / 395 MB, free: 13.76 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008767/0.0008769, allocations: 86.92 kB / 477.8 MB, free: 11.08 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 6.201e-06/6.221e-06, allocations: 4 kB / 0.5528 GB, free: 50 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2844, allocations: 82.3 MB / 0.6332 GB, free: 5.641 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.256/3.541, allocations: 2.203 GB / 2.837 GB, free: 62.07 MB / 0.6746 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/3.541, allocations: 96.81 kB / 2.837 GB, free: 62.03 MB / 0.6746 GB Notification: Performance of FrontEnd: time 6.669/10.21, allocations: 2.344 GB / 5.181 GB, free: 65.26 MB / 0.7996 GB Notification: Performance of Transformations before backend: time 0.0008541/10.21, allocations: 175.8 kB / 5.181 GB, free: 65.23 MB / 0.7996 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.0151/10.23, allocations: 6.291 MB / 5.187 GB, free: 62.41 MB / 0.7996 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/10.23, allocations: 11 kB / 5.187 GB, free: 62.41 MB / 0.7996 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/10.24, allocations: 1.869 MB / 5.189 GB, free: 62.01 MB / 0.7996 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02057/10.26, allocations: 7.839 MB / 5.197 GB, free: 61.01 MB / 0.7996 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/10.26, allocations: 228.9 kB / 5.197 GB, free: 60.97 MB / 0.7996 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/10.26, allocations: 284.8 kB / 5.197 GB, free: 60.96 MB / 0.7996 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009619/10.27, allocations: 4.839 MB / 5.202 GB, free: 60.94 MB / 0.7996 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008091/10.28, allocations: 5.049 MB / 5.207 GB, free: 60.27 MB / 0.7996 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.643e-05/10.28, allocations: 16.72 kB / 5.207 GB, free: 60.27 MB / 0.7996 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004404/10.28, allocations: 11.25 kB / 5.207 GB, free: 60.27 MB / 0.7996 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/10.28, allocations: 188.8 kB / 5.207 GB, free: 60.25 MB / 0.7996 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03085/10.31, allocations: 23.93 MB / 5.23 GB, free: 50.8 MB / 0.7996 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005568/10.32, allocations: 3.533 MB / 5.234 GB, free: 50.73 MB / 0.7996 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00288/10.32, allocations: 1.838 MB / 5.236 GB, free: 50.7 MB / 0.7996 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01341/10.33, allocations: 8.395 MB / 5.244 GB, free: 47.39 MB / 0.7996 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002596/10.33, allocations: 2.04 MB / 5.246 GB, free: 47.27 MB / 0.7996 GB Notification: Performance of pre-optimization done (n=322): time 5.169e-06/10.33, allocations: 1.312 kB / 5.246 GB, free: 47.27 MB / 0.7996 GB Notification: Performance of matching and sorting (n=326): time 0.02874/10.36, allocations: 9.832 MB / 5.255 GB, free: 45.53 MB / 0.7996 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/10.36, allocations: 371.7 kB / 5.256 GB, free: 45.12 MB / 0.7996 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00539/10.37, allocations: 3.926 MB / 5.26 GB, free: 44.79 MB / 0.7996 GB Notification: Performance of collectPreVariables (initialization): time 0.0008302/10.37, allocations: 46.67 kB / 5.26 GB, free: 44.75 MB / 0.7996 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/10.37, allocations: 1.751 MB / 5.261 GB, free: 43.86 MB / 0.7996 GB Notification: Performance of collectInitialBindings (initialization): time 0.001257/10.37, allocations: 1.06 MB / 5.262 GB, free: 43.16 MB / 0.7996 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/10.37, allocations: 0 / 5.262 GB, free: 43.16 MB / 0.7996 GB Notification: Performance of setup shared object (initialization): time 0.0001505/10.37, allocations: 458.1 kB / 5.263 GB, free: 42.85 MB / 0.7996 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/10.37, allocations: 1.547 MB / 5.264 GB, free: 42.84 MB / 0.7996 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/10.38, allocations: 2.58 MB / 5.267 GB, free: 41.69 MB / 0.7996 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004549/10.38, allocations: 2.171 MB / 5.269 GB, free: 41.63 MB / 0.7996 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/10.38, allocations: 9.938 kB / 5.269 GB, free: 41.63 MB / 0.7996 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01238/10.39, allocations: 5.323 MB / 5.274 GB, free: 41.2 MB / 0.7996 GB Notification: Performance of prepare postOptimizeDAE: time 0.001556/10.4, allocations: 11.35 MB / 5.285 GB, free: 29.23 MB / 0.7996 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/10.4, allocations: 26.59 kB / 5.285 GB, free: 29.23 MB / 0.7996 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/10.4, allocations: 0.8432 MB / 5.286 GB, free: 29.19 MB / 0.7996 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004053/10.4, allocations: 0.8913 MB / 5.287 GB, free: 29.19 MB / 0.7996 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005624/10.41, allocations: 6.236 MB / 5.293 GB, free: 24.59 MB / 0.7996 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006056/10.41, allocations: 402.4 kB / 5.294 GB, free: 24.55 MB / 0.7996 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004385/10.41, allocations: 209 kB / 5.294 GB, free: 24.55 MB / 0.7996 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-06/10.41, allocations: 6.562 kB / 5.294 GB, free: 24.55 MB / 0.7996 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01088/10.43, allocations: 4.584 MB / 5.298 GB, free: 24.42 MB / 0.7996 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.392e-05/10.43, allocations: 26.94 kB / 5.298 GB, free: 24.41 MB / 0.7996 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/10.43, allocations: 0.853 MB / 5.299 GB, free: 24.36 MB / 0.7996 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003575/10.43, allocations: 0.8681 MB / 5.3 GB, free: 24.36 MB / 0.7996 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/10.44, allocations: 6.228 MB / 5.306 GB, free: 19.77 MB / 0.7996 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005336/10.44, allocations: 376.9 kB / 5.306 GB, free: 19.74 MB / 0.7996 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00037/10.44, allocations: 197.2 kB / 5.307 GB, free: 19.74 MB / 0.7996 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumHeaPum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumHeaPumSou.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition1,$PRE.timTab.nextTimeEvent,$whenCondition3,$whenCondition2,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$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,$PRE.hysteresis.y,hysteresis.y,and1.y,and2.y,$PRE.tesConHea.y,tesConHea.y,$PRE.tesEvaPum.y,tesEvaPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (437): * Single equations (assignments): 429 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 5 {2 19,1 4,1 4,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000941/10.44, allocations: 229 kB / 5.307 GB, free: 19.61 MB / 0.7996 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009064/10.44, allocations: 0.5236 MB / 5.307 GB, free: 19.34 MB / 0.7996 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/10.46, allocations: 5.85 MB / 5.313 GB, free: 19.04 MB / 0.7996 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/10.46, allocations: 44.78 kB / 5.313 GB, free: 19.04 MB / 0.7996 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/10.46, allocations: 3.594 kB / 5.313 GB, free: 19.04 MB / 0.7996 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01363/10.48, allocations: 4.504 MB / 5.317 GB, free: 18.71 MB / 0.7996 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/10.5, allocations: 9.925 MB / 5.327 GB, free: 18.02 MB / 0.7996 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/10.5, allocations: 4.469 kB / 5.327 GB, free: 18.02 MB / 0.7996 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003257/10.5, allocations: 0.6465 MB / 5.328 GB, free: 18.02 MB / 0.7996 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/10.5, allocations: 0.886 MB / 5.329 GB, free: 17.93 MB / 0.7996 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002553/10.5, allocations: 76.73 kB / 5.329 GB, free: 17.93 MB / 0.7996 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008046/10.51, allocations: 12.22 MB / 5.341 GB, free: 23.9 MB / 0.8152 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/10.51, allocations: 3.469 kB / 5.341 GB, free: 23.9 MB / 0.8152 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01359/10.52, allocations: 7.205 MB / 5.348 GB, free: 22.91 MB / 0.8152 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003059/10.53, allocations: 1.181 MB / 5.349 GB, free: 22.54 MB / 0.8152 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008349/10.53, allocations: 22.28 kB / 5.349 GB, free: 22.54 MB / 0.8152 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004038/10.53, allocations: 363.8 kB / 5.349 GB, free: 22.52 MB / 0.8152 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/10.53, allocations: 244.1 kB / 5.349 GB, free: 22.51 MB / 0.8152 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003343/10.53, allocations: 166.8 kB / 5.35 GB, free: 22.51 MB / 0.8152 GB Notification: Performance of sort global known variables: time 0.003825/10.54, allocations: 2.948 MB / 5.352 GB, free: 22.33 MB / 0.8152 GB Notification: Performance of remove unused functions: time 0.009627/10.55, allocations: 2.946 MB / 5.355 GB, free: 22.15 MB / 0.8152 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,temRet.T,heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y,hysteresis.y,and1.y,and2.y,tesConHea.y,tesEvaPum.y) * Number of discrete states: 11 (timTab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,heaPum.temPro.hysLow.y,hysteresis.y,heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysHig.y,tesConHea.y,tesEvaPum.y,heaPum.com.isOn,timTab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (322): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {2 19,1 4,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005513/10.55, allocations: 3.863 MB / 5.359 GB, free: 21.04 MB / 0.8152 GB Notification: Performance of simCode: created initialization part: time 0.01058/10.56, allocations: 6.882 MB / 5.366 GB, free: 20.52 MB / 0.8152 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/10.56, allocations: 5.781 kB / 5.366 GB, free: 20.52 MB / 0.8152 GB Notification: Performance of simCode: created simulation system equations: time 0.003609/10.56, allocations: 2.753 MB / 5.369 GB, free: 19.81 MB / 0.8152 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01027/10.58, allocations: 2.314 MB / 5.371 GB, free: 19.73 MB / 0.8152 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/10.59, allocations: 9.669 MB / 5.38 GB, free: 17.49 MB / 0.8152 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00441/10.6, allocations: 4.189 MB / 5.384 GB, free: 16.59 MB / 0.8152 GB Notification: Performance of SimCode: time 6.82e-07/10.6, allocations: 4 kB / 5.384 GB, free: 16.59 MB / 0.8152 GB Notification: Performance of Templates: time 0.5057/11.1, allocations: 149.7 MB / 5.531 GB, free: 157.2 MB / 0.8308 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)