Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009652/0.0009651, allocations: 170.8 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4413/0.4413, allocations: 86.28 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 223.3 MB / 348.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007961/0.0007961, allocations: 92.27 kB / 420.2 MB, free: 9.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 12 kB / 0.4901 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3101, allocations: 71.02 MB / 0.5594 GB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.866/4.176, allocations: 2.192 GB / 2.752 GB, free: 88.66 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/4.176, allocations: 103.3 kB / 2.752 GB, free: 88.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.796/11.97, allocations: 2.323 GB / 5.075 GB, free: 51.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/11.97, allocations: 2.969 kB / 5.075 GB, free: 51.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001193/11.97, allocations: 177 kB / 5.075 GB, free: 51.87 MB / 0.698 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.02505/12, allocations: 7.543 MB / 5.082 GB, free: 48.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/12, allocations: 8.188 kB / 5.082 GB, free: 48.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/12.01, allocations: 2.306 MB / 5.085 GB, free: 48.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02263/12.04, allocations: 7.691 MB / 5.092 GB, free: 46.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005446/12.04, allocations: 405.4 kB / 5.093 GB, free: 46.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00216/12.04, allocations: 490.8 kB / 5.093 GB, free: 46.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/12.06, allocations: 5.959 MB / 5.099 GB, free: 46.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002357/12.06, allocations: 8.156 kB / 5.099 GB, free: 46.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00144/12.06, allocations: 200.3 kB / 5.099 GB, free: 46.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001738/12.06, allocations: 175.9 kB / 5.099 GB, free: 46.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0128/12.07, allocations: 5.459 MB / 5.105 GB, free: 46.11 MB / 0.698 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.03867/12.11, allocations: 23.59 MB / 5.128 GB, free: 37.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008298/12.12, allocations: 4.531 MB / 5.132 GB, free: 36.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004016/12.12, allocations: 1.993 MB / 5.134 GB, free: 36.37 MB / 0.698 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.01905/12.14, allocations: 9.866 MB / 5.144 GB, free: 33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004746/12.15, allocations: 2.265 MB / 5.146 GB, free: 32.86 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004263/12.15, allocations: 0.6032 MB / 5.146 GB, free: 32.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=316): time 2.522e-05/12.15, allocations: 0 / 5.146 GB, free: 32.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=320): time 0.04386/12.19, allocations: 13.03 MB / 5.159 GB, free: 29.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/12.19, allocations: 372.7 kB / 5.159 GB, free: 29.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009858/12.2, allocations: 4.819 MB / 5.164 GB, free: 28.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001051/12.2, allocations: 111.1 kB / 5.164 GB, free: 28.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002692/12.21, allocations: 2.759 MB / 5.167 GB, free: 27.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001499/12.21, allocations: 1.072 MB / 5.168 GB, free: 27.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/12.21, allocations: 73.02 kB / 5.168 GB, free: 27.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001829/12.21, allocations: 457 kB / 5.169 GB, free: 26.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003954/12.21, allocations: 1.685 MB / 5.17 GB, free: 26.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004512/12.22, allocations: 2.785 MB / 5.173 GB, free: 25.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008192/12.23, allocations: 4.297 MB / 5.177 GB, free: 24.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.666e-05/12.23, allocations: 7.688 kB / 5.177 GB, free: 24.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01565/12.24, allocations: 5.661 MB / 5.183 GB, free: 24.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004215/12.24, allocations: 0.826 MB / 5.183 GB, free: 22.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/12.24, allocations: 27.59 kB / 5.183 GB, free: 22.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/12.25, allocations: 1.158 MB / 5.185 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/12.25, allocations: 0.8414 MB / 5.185 GB, free: 22.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/12.26, allocations: 6.416 MB / 5.192 GB, free: 18.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006768/12.26, allocations: 499.2 kB / 5.192 GB, free: 17.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/12.27, allocations: 204.6 kB / 5.192 GB, free: 17.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/12.27, allocations: 4.094 kB / 5.192 GB, free: 17.97 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01351/12.28, allocations: 5.103 MB / 5.197 GB, free: 17.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.479e-05/12.28, allocations: 24.91 kB / 5.197 GB, free: 17.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004218/12.28, allocations: 1.174 MB / 5.199 GB, free: 17.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00385/12.29, allocations: 0.8183 MB / 5.199 GB, free: 17.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/12.29, allocations: 6.423 MB / 5.206 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006612/12.3, allocations: 465.8 kB / 5.206 GB, free: 12.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009954/12.3, allocations: 201 kB / 5.206 GB, free: 12.63 MB / 0.698 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.004849/12.31, allocations: 1.575 MB / 5.208 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001927/12.31, allocations: 0.5509 MB / 5.208 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/12.32, allocations: 5.829 MB / 5.214 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-05/12.32, allocations: 35.88 kB / 5.214 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/12.32, allocations: 3.969 kB / 5.214 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01178/12.34, allocations: 4.62 MB / 5.219 GB, free: 10.33 MB / 0.698 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.02978/12.37, allocations: 11.45 MB / 5.23 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/12.37, allocations: 3.5 kB / 5.23 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00325/12.37, allocations: 0.6352 MB / 5.23 GB, free: 6.625 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002885/12.37, allocations: 0.8938 MB / 5.231 GB, free: 6.348 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006505/12.37, allocations: 113.6 kB / 5.231 GB, free: 6.297 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008825/12.38, allocations: 12.03 MB / 5.243 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/12.38, allocations: 0 / 5.243 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02415/12.41, allocations: 8.037 MB / 5.251 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003812/12.41, allocations: 1.142 MB / 5.252 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001853/12.41, allocations: 76 kB / 5.252 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00543/12.42, allocations: 424.3 kB / 5.253 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007298/12.42, allocations: 280.3 kB / 5.253 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006184/12.42, allocations: 162.4 kB / 5.253 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.008322/12.43, allocations: 3.252 MB / 5.256 GB, free: 0 / 0.7136 GB Notification: Performance of sort global known variables: time 2.9e-07/12.43, allocations: 336 / 5.256 GB, free: 0 / 0.7136 GB Notification: Performance of remove unused functions: time 0.01625/12.44, allocations: 3.143 MB / 5.259 GB, free: 13.25 MB / 0.7292 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.009679/12.45, allocations: 3.964 MB / 5.263 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02132/12.47, allocations: 7.543 MB / 5.27 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/12.47, allocations: 8.938 kB / 5.27 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007391/12.48, allocations: 2.949 MB / 5.273 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4675/12.95, allocations: 2.75 MB / 5.276 GB, free: 81.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/12.97, allocations: 13.83 MB / 5.29 GB, free: 76.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003232/12.98, allocations: 3.474 MB / 5.293 GB, free: 75.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.009124/12.99, allocations: 1.923 MB / 5.295 GB, free: 75.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/12.99, allocations: 0.5003 MB / 5.295 GB, free: 75.35 MB / 0.7292 GB Notification: Performance of SimCode: time 8.12e-07/12.99, allocations: 0 / 5.295 GB, free: 75.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.2134/13.2, allocations: 144 MB / 5.436 GB, free: 63.91 MB / 0.7292 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)