Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.649/1.649, allocations: 297.8 MB / 313.7 MB, free: 100 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001159, allocations: 182.3 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007981/0.0007982, allocations: 103.1 kB / 0.7808 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000451/0.0004512, allocations: 12.94 kB / 0.9088 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.612/0.6125, allocations: 120.3 MB / 1.026 GB, free: 56.45 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.153/5.765, allocations: 2.233 GB / 3.259 GB, free: 323.8 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/5.765, allocations: 103.2 kB / 3.259 GB, free: 323.8 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.304/14.07, allocations: 2.323 GB / 5.582 GB, free: 76.84 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.194e-06/14.07, allocations: 0 / 5.582 GB, free: 76.84 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001368/14.07, allocations: 175.9 kB / 5.582 GB, free: 76.81 MB / 1.057 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.028/14.1, allocations: 7.541 MB / 5.589 GB, free: 73.79 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/14.1, allocations: 11.12 kB / 5.589 GB, free: 73.79 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/14.11, allocations: 2.307 MB / 5.592 GB, free: 73.39 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02456/14.14, allocations: 7.681 MB / 5.599 GB, free: 72.17 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007028/14.14, allocations: 407.6 kB / 5.6 GB, free: 72.12 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002661/14.14, allocations: 486.2 kB / 5.6 GB, free: 72.12 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/14.17, allocations: 5.95 MB / 5.606 GB, free: 71.42 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004526/14.17, allocations: 12.77 kB / 5.606 GB, free: 71.42 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0027/14.17, allocations: 195.8 kB / 5.606 GB, free: 71.42 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002869/14.17, allocations: 179 kB / 5.606 GB, free: 71.41 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/14.19, allocations: 5.458 MB / 5.612 GB, free: 71.36 MB / 1.057 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.05542/14.24, allocations: 23.59 MB / 5.635 GB, free: 62.42 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/14.25, allocations: 4.54 MB / 5.639 GB, free: 61.87 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005188/14.26, allocations: 1.998 MB / 5.641 GB, free: 61.85 MB / 1.057 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.02786/14.29, allocations: 9.86 MB / 5.651 GB, free: 58.51 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006901/14.29, allocations: 2.255 MB / 5.653 GB, free: 58.38 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00497/14.3, allocations: 0.6102 MB / 5.653 GB, free: 58.24 MB / 1.057 GB Notification: Performance of pre-optimization done (n=316): time 2.363e-05/14.3, allocations: 1.531 kB / 5.653 GB, free: 58.24 MB / 1.057 GB Notification: Performance of matching and sorting (n=320): time 0.05347/14.35, allocations: 13.03 MB / 5.666 GB, free: 55.22 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/14.35, allocations: 377.3 kB / 5.667 GB, free: 54.81 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009713/14.36, allocations: 4.815 MB / 5.671 GB, free: 54.43 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001378/14.36, allocations: 114.4 kB / 5.671 GB, free: 54.4 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003087/14.37, allocations: 2.748 MB / 5.674 GB, free: 53.57 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002276/14.37, allocations: 1.075 MB / 5.675 GB, free: 52.89 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/14.37, allocations: 75.22 kB / 5.675 GB, free: 52.89 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003239/14.37, allocations: 458.4 kB / 5.676 GB, free: 52.58 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004961/14.38, allocations: 1.687 MB / 5.677 GB, free: 52.57 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006114/14.38, allocations: 2.783 MB / 5.68 GB, free: 51.4 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/14.39, allocations: 4.298 MB / 5.684 GB, free: 50.45 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.728e-05/14.39, allocations: 7.562 kB / 5.684 GB, free: 50.45 MB / 1.057 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01883/14.41, allocations: 5.661 MB / 5.69 GB, free: 49.99 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.000664/14.41, allocations: 0.8271 MB / 5.69 GB, free: 49.02 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.679e-05/14.41, allocations: 25.38 kB / 5.691 GB, free: 49.02 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004754/14.42, allocations: 1.163 MB / 5.692 GB, free: 48.96 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004483/14.42, allocations: 0.8374 MB / 5.692 GB, free: 48.96 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006718/14.43, allocations: 6.424 MB / 5.699 GB, free: 44.25 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007459/14.44, allocations: 499.2 kB / 5.699 GB, free: 44.21 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/14.44, allocations: 202.3 kB / 5.699 GB, free: 44.21 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/14.44, allocations: 6.844 kB / 5.699 GB, free: 44.21 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01582/14.45, allocations: 5.103 MB / 5.704 GB, free: 44.06 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.905e-05/14.45, allocations: 24.91 kB / 5.704 GB, free: 44.06 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004489/14.46, allocations: 1.173 MB / 5.706 GB, free: 44.01 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003713/14.46, allocations: 0.8164 MB / 5.706 GB, free: 44.01 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006359/14.47, allocations: 6.441 MB / 5.713 GB, free: 39.3 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006633/14.47, allocations: 460.4 kB / 5.713 GB, free: 39.28 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008152/14.47, allocations: 196.6 kB / 5.713 GB, free: 39.28 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 110 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition3,$PRE.timTab.nextTimeEvent,$whenCondition2,$whenCondition1,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 (432): * Single equations (assignments): 424 * 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 {1 4,2 19,1 4,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00512/14.48, allocations: 1.573 MB / 5.715 GB, free: 39.07 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002217/14.48, allocations: 0.5515 MB / 5.715 GB, free: 38.78 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/14.5, allocations: 5.818 MB / 5.721 GB, free: 37.98 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.015e-05/14.5, allocations: 41.47 kB / 5.721 GB, free: 37.98 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-05/14.5, allocations: 0.5 kB / 5.721 GB, free: 37.98 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01236/14.51, allocations: 4.621 MB / 5.726 GB, free: 37.18 MB / 1.057 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.03829/14.55, allocations: 11.46 MB / 5.737 GB, free: 35.79 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.822e-05/14.55, allocations: 3.094 kB / 5.737 GB, free: 35.79 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003573/14.55, allocations: 0.6371 MB / 5.737 GB, free: 35.79 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003052/14.56, allocations: 0.895 MB / 5.738 GB, free: 35.7 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007222/14.56, allocations: 115.1 kB / 5.738 GB, free: 35.7 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008468/14.57, allocations: 12.03 MB / 5.75 GB, free: 25.33 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/14.57, allocations: 0 / 5.75 GB, free: 25.33 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02419/14.59, allocations: 8.033 MB / 5.758 GB, free: 24.09 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00447/14.59, allocations: 1.138 MB / 5.759 GB, free: 23.7 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002349/14.6, allocations: 79.17 kB / 5.759 GB, free: 23.7 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006106/14.6, allocations: 414.3 kB / 5.76 GB, free: 23.69 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008985/14.6, allocations: 283.6 kB / 5.76 GB, free: 23.68 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007817/14.6, allocations: 165.7 kB / 5.76 GB, free: 23.68 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.007947/14.61, allocations: 3.231 MB / 5.763 GB, free: 23.5 MB / 1.057 GB Notification: Performance of sort global known variables: time 5.61e-07/14.61, allocations: 5.781 kB / 5.763 GB, free: 23.5 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01667/14.63, allocations: 3.052 MB / 5.766 GB, free: 23.33 MB / 1.057 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,hysteresis.y,tesConHea.y,tesEvaPum.y,heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn,weaDat.conTimMin.tNext,weaDat.conTim.tNext,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 293 * 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%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {1 4,2 19,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009081/14.64, allocations: 3.971 MB / 5.77 GB, free: 21.97 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02108/14.66, allocations: 7.543 MB / 5.777 GB, free: 21.34 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/14.66, allocations: 6.328 kB / 5.777 GB, free: 21.34 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.006756/14.67, allocations: 2.957 MB / 5.78 GB, free: 20.53 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01953/14.69, allocations: 2.736 MB / 5.783 GB, free: 20.41 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02591/14.71, allocations: 13.82 MB / 5.796 GB, free: 14.41 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004905/14.72, allocations: 3.483 MB / 5.8 GB, free: 13.54 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.008735/14.72, allocations: 1.925 MB / 5.802 GB, free: 13.28 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/14.73, allocations: 0.4968 MB / 5.802 GB, free: 13.27 MB / 1.057 GB Notification: Performance of SimCode: time 7.01e-07/14.73, allocations: 0 / 5.802 GB, free: 13.27 MB / 1.057 GB Notification: Performance of Templates: time 0.2171/14.94, allocations: 144.5 MB / 5.943 GB, free: 15.11 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)