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.008851/0.008851, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.764/0.764, allocations: 132.3 MB / 148.1 MB, free: 224 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.691/1.691, allocations: 223.2 MB / 403.2 MB, free: 6.637 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.000972/0.000972, allocations: 102.2 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004043, allocations: 12 kB / 0.5641 GB, free: 2.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5179, allocations: 81.59 MB / 0.6438 GB, free: 39.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.405/5.923, allocations: 2.204 GB / 2.848 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/5.924, allocations: 102.6 kB / 2.848 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.006/14.93, allocations: 2.348 GB / 5.196 GB, free: 29.15 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.964e-06/14.93, allocations: 3.062 kB / 5.196 GB, free: 29.15 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0009836/14.93, allocations: 177.9 kB / 5.196 GB, free: 29.11 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.02202/14.95, allocations: 7.671 MB / 5.204 GB, free: 25.59 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/14.95, allocations: 7.812 kB / 5.204 GB, free: 25.59 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/14.97, allocations: 2.313 MB / 5.206 GB, free: 25.11 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02079/14.99, allocations: 7.851 MB / 5.214 GB, free: 23.82 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004799/14.99, allocations: 400.8 kB / 5.214 GB, free: 23.78 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001572/14.99, allocations: 486.1 kB / 5.215 GB, free: 23.77 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/15, allocations: 5.935 MB / 5.221 GB, free: 23.01 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/15, allocations: 10.78 kB / 5.221 GB, free: 23.01 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007965/15.01, allocations: 191.1 kB / 5.221 GB, free: 23.01 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/15.01, allocations: 192.6 kB / 5.221 GB, free: 22.99 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/15.02, allocations: 5.481 MB / 5.226 GB, free: 22.89 MB / 0.7605 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.04101/15.06, allocations: 23.84 MB / 5.25 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009125/15.07, allocations: 4.618 MB / 5.254 GB, free: 12.66 MB / 0.7605 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.01694/15.09, allocations: 8.683 MB / 5.263 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004668/15.09, allocations: 2.32 MB / 5.265 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003169/15.1, allocations: 0.4891 MB / 5.265 GB, free: 8.922 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=322): time 1.548e-05/15.1, allocations: 0 / 5.265 GB, free: 8.922 MB / 0.7605 GB Notification: Performance of matching and sorting (n=326): time 0.05318/15.15, allocations: 14.16 MB / 5.279 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/15.15, allocations: 376.1 kB / 5.279 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006595/15.16, allocations: 4.517 MB / 5.284 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0009199/15.16, allocations: 111.8 kB / 5.284 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002081/15.16, allocations: 2.78 MB / 5.287 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/15.16, allocations: 1.096 MB / 5.288 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/15.16, allocations: 75 kB / 5.288 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001618/15.16, allocations: 456.2 kB / 5.288 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003877/15.16, allocations: 1.745 MB / 5.29 GB, free: 3.012 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004382/15.17, allocations: 2.819 MB / 5.293 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005783/15.17, allocations: 2.138 MB / 5.295 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-05/15.17, allocations: 8 kB / 5.295 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01841/15.19, allocations: 5.804 MB / 5.3 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.003997/15.2, allocations: 11.57 MB / 5.312 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.803e-05/15.2, allocations: 27.98 kB / 5.312 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005251/15.2, allocations: 1.16 MB / 5.313 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004597/15.21, allocations: 0.8862 MB / 5.314 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007669/15.21, allocations: 6.45 MB / 5.32 GB, free: 7.051 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007268/15.22, allocations: 498.4 kB / 5.321 GB, free: 6.672 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/15.22, allocations: 204 kB / 5.321 GB, free: 6.504 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/15.22, allocations: 4 kB / 5.321 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01804/15.24, allocations: 5.242 MB / 5.326 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.442e-05/15.24, allocations: 24 kB / 5.326 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005249/15.25, allocations: 1.168 MB / 5.327 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005406/15.25, allocations: 0.8621 MB / 5.328 GB, free: 356 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5434/15.8, allocations: 6.442 MB / 5.334 GB, free: 61.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008733/15.8, allocations: 471.6 kB / 5.335 GB, free: 61.91 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/15.81, allocations: 198.3 kB / 5.335 GB, free: 61.91 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.005268/15.81, allocations: 1.588 MB / 5.336 GB, free: 61.71 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002124/15.81, allocations: 0.5598 MB / 5.337 GB, free: 61.71 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02097/15.83, allocations: 6.076 MB / 5.343 GB, free: 61.42 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.446e-05/15.83, allocations: 40.05 kB / 5.343 GB, free: 61.42 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/15.83, allocations: 3.469 kB / 5.343 GB, free: 61.42 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01797/15.85, allocations: 4.827 MB / 5.348 GB, free: 61.09 MB / 0.7917 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.02928/15.88, allocations: 10.88 MB / 5.358 GB, free: 60.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/15.88, allocations: 5.625 kB / 5.358 GB, free: 60.34 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003873/15.89, allocations: 0.6468 MB / 5.359 GB, free: 60.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00345/15.89, allocations: 0.9841 MB / 5.36 GB, free: 60.27 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007251/15.89, allocations: 118.8 kB / 5.36 GB, free: 60.27 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008926/15.9, allocations: 12.65 MB / 5.372 GB, free: 49.97 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/15.9, allocations: 7.406 kB / 5.372 GB, free: 49.97 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/15.92, allocations: 7.706 MB / 5.38 GB, free: 49.19 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004584/15.92, allocations: 1.21 MB / 5.381 GB, free: 49.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001388/15.92, allocations: 78.06 kB / 5.381 GB, free: 49.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004572/15.93, allocations: 421.2 kB / 5.381 GB, free: 49.05 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005541/15.93, allocations: 288.8 kB / 5.382 GB, free: 49.04 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000378/15.93, allocations: 169.6 kB / 5.382 GB, free: 49.04 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.005607/15.93, allocations: 3.477 MB / 5.385 GB, free: 48.82 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.183e-06/15.93, allocations: 0 / 5.385 GB, free: 48.82 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01236/15.95, allocations: 3.17 MB / 5.388 GB, free: 48.82 MB / 0.7917 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.007284/15.95, allocations: 4.059 MB / 5.392 GB, free: 47.91 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01932/15.97, allocations: 7.739 MB / 5.4 GB, free: 47.36 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/15.97, allocations: 3.906 kB / 5.4 GB, free: 47.36 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.005716/15.98, allocations: 3.079 MB / 5.403 GB, free: 46.56 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01237/15.99, allocations: 2.735 MB / 5.406 GB, free: 46.54 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/16.02, allocations: 13.98 MB / 5.419 GB, free: 41.11 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003237/16.02, allocations: 3.621 MB / 5.423 GB, free: 40.3 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01033/16.03, allocations: 1.988 MB / 5.425 GB, free: 40.25 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002361/16.03, allocations: 0.5015 MB / 5.425 GB, free: 40.25 MB / 0.7917 GB Notification: Performance of SimCode: time 1.633e-06/16.03, allocations: 2.062 kB / 5.425 GB, free: 40.25 MB / 0.7917 GB Notification: Performance of Templates: time 0.2077/16.24, allocations: 145.8 MB / 5.568 GB, free: 13.49 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)