Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7913/0.7913, allocations: 130.6 MB / 143.8 MB, free: 13.57 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.438/1.438, allocations: 221.3 MB / 396.8 MB, free: 9.172 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.0008754/0.0008754, allocations: 103.8 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.954e-05/2.957e-05, allocations: 6.266 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1527, allocations: 81.59 MB / 0.6348 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.568/5.721, allocations: 2.204 GB / 2.839 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/5.721, allocations: 91.95 kB / 2.839 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 10.17/15.89, allocations: 2.342 GB / 5.181 GB, free: 31.7 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.756e-06/15.89, allocations: 0 / 5.181 GB, free: 31.7 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001292/15.89, allocations: 177 kB / 5.181 GB, free: 31.66 MB / 0.7605 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.02391/15.92, allocations: 6.233 MB / 5.187 GB, free: 28.69 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/15.92, allocations: 9.938 kB / 5.187 GB, free: 28.69 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/15.93, allocations: 2.307 MB / 5.189 GB, free: 28.22 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02398/15.96, allocations: 7.797 MB / 5.197 GB, free: 26.92 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005492/15.96, allocations: 397.1 kB / 5.197 GB, free: 26.88 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/15.96, allocations: 486.1 kB / 5.198 GB, free: 26.87 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/15.97, allocations: 5.665 MB / 5.203 GB, free: 26.13 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/15.97, allocations: 7.156 kB / 5.203 GB, free: 26.12 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007151/15.97, allocations: 201.4 kB / 5.203 GB, free: 26.12 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/15.97, allocations: 190 kB / 5.204 GB, free: 26.1 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/15.99, allocations: 5.003 MB / 5.209 GB, free: 26.02 MB / 0.7605 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05677/16.04, allocations: 23.83 MB / 5.232 GB, free: 16.43 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008521/16.05, allocations: 4.192 MB / 5.236 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003465/16.06, allocations: 1.749 MB / 5.238 GB, free: 15.81 MB / 0.7605 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.02609/16.08, allocations: 8.712 MB / 5.246 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005309/16.09, allocations: 2.102 MB / 5.248 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004905/16.09, allocations: 0.5011 MB / 5.249 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=322): time 2.527e-05/16.09, allocations: 0 / 5.249 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of matching and sorting (n=326): time 0.03148/16.12, allocations: 9.056 MB / 5.257 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/16.13, allocations: 373 kB / 5.258 GB, free: 9.895 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01246/16.14, allocations: 4.461 MB / 5.262 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001524/16.14, allocations: 114.9 kB / 5.262 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.004023/16.14, allocations: 2.777 MB / 5.265 GB, free: 8.602 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002356/16.15, allocations: 1.094 MB / 5.266 GB, free: 7.875 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/16.15, allocations: 80.44 kB / 5.266 GB, free: 7.871 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0004036/16.15, allocations: 453.4 kB / 5.267 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003463/16.15, allocations: 1.516 MB / 5.268 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/16.15, allocations: 2.572 MB / 5.271 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/16.16, allocations: 1.867 MB / 5.272 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/16.16, allocations: 6.938 kB / 5.272 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01425/16.17, allocations: 5.278 MB / 5.278 GB, free: 5.516 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.00434/16.18, allocations: 11.58 MB / 5.289 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.314e-05/16.18, allocations: 24 kB / 5.289 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004695/16.18, allocations: 1.063 MB / 5.29 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004997/16.19, allocations: 0.8833 MB / 5.291 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007331/16.19, allocations: 6.215 MB / 5.297 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008194/16.2, allocations: 493.4 kB / 5.297 GB, free: 2.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001359/16.2, allocations: 207.6 kB / 5.298 GB, free: 1.902 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/16.2, allocations: 4 kB / 5.298 GB, free: 1.898 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0125/16.22, allocations: 4.749 MB / 5.302 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.371e-05/16.22, allocations: 28.25 kB / 5.302 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004296/16.22, allocations: 1.06 MB / 5.303 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004693/16.23, allocations: 0.8585 MB / 5.304 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00722/16.23, allocations: 6.236 MB / 5.31 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008917/16.24, allocations: 458.5 kB / 5.311 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001793/16.24, allocations: 203.8 kB / 5.311 GB, free: 5.734 MB / 0.7917 GB 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,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001749/16.24, allocations: 353.8 kB / 5.311 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002282/16.25, allocations: 0.5557 MB / 5.312 GB, free: 4.824 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/16.27, allocations: 5.596 MB / 5.317 GB, free: 192 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.637e-05/16.27, allocations: 36 kB / 5.317 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/16.27, allocations: 4 kB / 5.317 GB, free: 152 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.8213/17.09, allocations: 4.36 MB / 5.321 GB, free: 66.6 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03597/17.12, allocations: 10.91 MB / 5.332 GB, free: 65.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-05/17.12, allocations: 3.438 kB / 5.332 GB, free: 65.88 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004151/17.13, allocations: 0.6342 MB / 5.333 GB, free: 65.88 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003629/17.13, allocations: 0.9249 MB / 5.334 GB, free: 65.8 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009744/17.13, allocations: 116.8 kB / 5.334 GB, free: 65.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/17.14, allocations: 12.54 MB / 5.346 GB, free: 55.43 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/17.14, allocations: 2.969 kB / 5.346 GB, free: 55.43 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01755/17.16, allocations: 7.104 MB / 5.353 GB, free: 54.66 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004813/17.16, allocations: 1.213 MB / 5.354 GB, free: 54.56 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002207/17.17, allocations: 80.94 kB / 5.354 GB, free: 54.56 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006462/17.17, allocations: 421.2 kB / 5.355 GB, free: 54.56 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008641/17.17, allocations: 285 kB / 5.355 GB, free: 54.55 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005856/17.17, allocations: 172.2 kB / 5.355 GB, free: 54.55 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00728/17.18, allocations: 3.423 MB / 5.358 GB, free: 54.31 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.42e-07/17.18, allocations: 0 / 5.358 GB, free: 54.31 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.02044/17.2, allocations: 3.168 MB / 5.361 GB, free: 54.31 MB / 0.7917 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 (321): * Single equations (assignments): 296 * 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.01132/17.21, allocations: 3.992 MB / 5.365 GB, free: 53.36 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0161/17.23, allocations: 7.224 MB / 5.372 GB, free: 52.81 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/17.23, allocations: 3.516 kB / 5.372 GB, free: 52.81 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00477/17.23, allocations: 2.868 MB / 5.375 GB, free: 52.02 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01661/17.25, allocations: 2.741 MB / 5.378 GB, free: 51.96 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0278/17.28, allocations: 9.558 MB / 5.387 GB, free: 49.87 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005011/17.28, allocations: 3.638 MB / 5.391 GB, free: 49.05 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0134/17.3, allocations: 2.848 MB / 5.394 GB, free: 49 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/17.3, allocations: 413.2 kB / 5.394 GB, free: 49 MB / 0.7917 GB Notification: Performance of SimCode: time 1.593e-06/17.3, allocations: 0 / 5.394 GB, free: 49 MB / 0.7917 GB Notification: Performance of Templates: time 0.2698/17.57, allocations: 160.5 MB / 5.551 GB, free: 18.31 MB / 0.7917 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)