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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005932/0.005932, allocations: 173.6 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7253/0.7253, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.484/1.484, allocations: 223.2 MB / 406.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009343/0.0009343, allocations: 97.8 kB / 490 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004014, allocations: 11.98 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5261, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.626/6.152, allocations: 2.204 GB / 2.854 GB, free: 17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/6.153, allocations: 103.9 kB / 2.854 GB, free: 16.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.965/15.12, allocations: 2.348 GB / 5.202 GB, free: 41.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.884e-06/15.12, allocations: 0 / 5.202 GB, free: 41.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0009506/15.12, allocations: 173.5 kB / 5.202 GB, free: 41.88 MB / 0.7761 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.02201/15.14, allocations: 7.675 MB / 5.21 GB, free: 38.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/15.14, allocations: 7.156 kB / 5.21 GB, free: 38.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/15.16, allocations: 2.318 MB / 5.212 GB, free: 37.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02152/15.18, allocations: 7.849 MB / 5.22 GB, free: 36.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004891/15.18, allocations: 406.2 kB / 5.22 GB, free: 36.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001946/15.18, allocations: 486.2 kB / 5.221 GB, free: 36.53 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/15.19, allocations: 5.93 MB / 5.226 GB, free: 35.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001822/15.19, allocations: 9.719 kB / 5.226 GB, free: 35.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/15.2, allocations: 189.8 kB / 5.227 GB, free: 35.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/15.2, allocations: 192.6 kB / 5.227 GB, free: 35.76 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/15.21, allocations: 5.475 MB / 5.232 GB, free: 35.66 MB / 0.7761 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04151/15.25, allocations: 23.84 MB / 5.255 GB, free: 26.06 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009497/15.26, allocations: 4.609 MB / 5.26 GB, free: 25.45 MB / 0.7761 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01753/15.28, allocations: 8.701 MB / 5.268 GB, free: 22.01 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005106/15.28, allocations: 2.311 MB / 5.271 GB, free: 21.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003409/15.29, allocations: 0.4981 MB / 5.271 GB, free: 21.69 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=322): time 1.48e-05/15.29, allocations: 5.672 kB / 5.271 GB, free: 21.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=326): time 0.05745/15.34, allocations: 14.16 MB / 5.285 GB, free: 18.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/15.34, allocations: 373.4 kB / 5.285 GB, free: 18.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008207/15.35, allocations: 4.521 MB / 5.29 GB, free: 18.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.00127/15.35, allocations: 108.9 kB / 5.29 GB, free: 18.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002848/15.36, allocations: 2.767 MB / 5.293 GB, free: 17.19 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001621/15.36, allocations: 1.098 MB / 5.294 GB, free: 16.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/15.36, allocations: 78.28 kB / 5.294 GB, free: 16.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001934/15.36, allocations: 455.4 kB / 5.294 GB, free: 16.15 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004266/15.36, allocations: 1.745 MB / 5.296 GB, free: 16.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/15.37, allocations: 2.809 MB / 5.299 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005132/15.37, allocations: 2.08 MB / 5.301 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.858e-05/15.37, allocations: 17.66 kB / 5.301 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01937/15.39, allocations: 5.783 MB / 5.306 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002847/15.4, allocations: 11.57 MB / 5.318 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.614e-05/15.4, allocations: 32.53 kB / 5.318 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005387/15.4, allocations: 1.167 MB / 5.319 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005323/15.41, allocations: 0.8799 MB / 5.32 GB, free: 1.906 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008004/15.41, allocations: 6.45 MB / 5.326 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00761/15.42, allocations: 496 kB / 5.326 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/15.42, allocations: 205.4 kB / 5.327 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/15.42, allocations: 7.781 kB / 5.327 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01605/15.44, allocations: 5.241 MB / 5.332 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.402e-05/15.44, allocations: 24 kB / 5.332 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005063/15.44, allocations: 1.177 MB / 5.333 GB, free: 9.441 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004989/15.45, allocations: 0.8634 MB / 5.334 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008009/15.46, allocations: 6.466 MB / 5.34 GB, free: 2.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007531/15.47, allocations: 472.4 kB / 5.341 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/15.47, allocations: 198 kB / 5.341 GB, free: 2.551 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 () * Number of clocked 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 {(2,100.0%) 4} * Non-linear torn systems: 5 {2 19,1 4,1 4,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005807/15.47, allocations: 1.584 MB / 5.342 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002091/15.47, allocations: 0.5596 MB / 5.343 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02281/15.5, allocations: 6.077 MB / 5.349 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.121e-05/15.5, allocations: 40 kB / 5.349 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.337e-05/15.5, allocations: 0 / 5.349 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0188/15.52, allocations: 4.822 MB / 5.354 GB, free: 7.488 MB / 0.8073 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.5645/16.08, allocations: 10.89 MB / 5.364 GB, free: 74.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-05/16.08, allocations: 2.203 kB / 5.364 GB, free: 74.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00449/16.09, allocations: 0.6498 MB / 5.365 GB, free: 74.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004107/16.09, allocations: 0.9783 MB / 5.366 GB, free: 74.13 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007952/16.09, allocations: 119.9 kB / 5.366 GB, free: 74.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00943/16.1, allocations: 12.65 MB / 5.378 GB, free: 63.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/16.1, allocations: 2.969 kB / 5.378 GB, free: 63.86 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01808/16.12, allocations: 7.703 MB / 5.386 GB, free: 63.09 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004713/16.12, allocations: 1.208 MB / 5.387 GB, free: 62.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002168/16.13, allocations: 80.84 kB / 5.387 GB, free: 62.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006325/16.13, allocations: 422 kB / 5.387 GB, free: 62.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009651/16.13, allocations: 285.9 kB / 5.388 GB, free: 62.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005924/16.13, allocations: 164.6 kB / 5.388 GB, free: 62.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.007751/16.14, allocations: 3.476 MB / 5.391 GB, free: 62.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.82e-07/16.14, allocations: 0 / 5.391 GB, free: 62.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01824/16.16, allocations: 3.161 MB / 5.394 GB, free: 62.77 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,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) * Number of clocked states: 0 () * 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%) 3,(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 {1 4,1 4,1 3,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.009337/16.17, allocations: 4.068 MB / 5.398 GB, free: 61.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.022/16.19, allocations: 7.744 MB / 5.406 GB, free: 61.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/16.19, allocations: 4.281 kB / 5.406 GB, free: 61.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.006397/16.2, allocations: 3.07 MB / 5.409 GB, free: 60.53 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01446/16.21, allocations: 2.737 MB / 5.412 GB, free: 60.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/16.24, allocations: 13.97 MB / 5.425 GB, free: 55.1 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004293/16.24, allocations: 3.626 MB / 5.429 GB, free: 54.3 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.009893/16.25, allocations: 1.988 MB / 5.431 GB, free: 54.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/16.26, allocations: 0.5057 MB / 5.431 GB, free: 54.25 MB / 0.8073 GB Notification: Performance of SimCode: time 1.403e-06/16.26, allocations: 3.062 kB / 5.431 GB, free: 54.25 MB / 0.8073 GB Notification: Performance of Templates: time 0.217/16.47, allocations: 145.8 MB / 5.574 GB, free: 44.39 MB / 0.8073 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)