Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.647/2.647, allocations: 287.5 MB / 302.5 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001461/0.001461, allocations: 177 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.4 MB / 0.6297 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001142, allocations: 94.84 kB / 0.743 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005165/0.0005164, allocations: 12.39 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2204, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.919/8.14, allocations: 2.412 GB / 3.39 GB, free: 215.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/8.14, allocations: 98.58 kB / 3.39 GB, free: 215.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 12.19/20.33, allocations: 2.333 GB / 5.723 GB, free: 80.88 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.264e-06/20.33, allocations: 0 / 5.723 GB, free: 80.88 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001311/20.33, allocations: 172.9 kB / 5.724 GB, free: 80.84 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1169 * Number of variables: 1169 Notification: Performance of Generate backend data structure: time 0.03277/20.37, allocations: 7.584 MB / 5.731 GB, free: 77.36 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/20.37, allocations: 7.719 kB / 5.731 GB, free: 77.36 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02569/20.39, allocations: 2.308 MB / 5.733 GB, free: 76.88 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03253/20.42, allocations: 7.707 MB / 5.741 GB, free: 75.61 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007234/20.42, allocations: 412.4 kB / 5.741 GB, free: 75.55 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002412/20.43, allocations: 479 kB / 5.742 GB, free: 75.55 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02462/20.45, allocations: 5.913 MB / 5.747 GB, free: 72.99 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002836/20.45, allocations: 7.156 kB / 5.747 GB, free: 72.99 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001994/20.45, allocations: 199.9 kB / 5.748 GB, free: 72.84 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/20.45, allocations: 179.3 kB / 5.748 GB, free: 72.82 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02534/20.48, allocations: 5.473 MB / 5.753 GB, free: 71.03 MB / 1.01 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.06702/20.55, allocations: 23.81 MB / 5.776 GB, free: 48.41 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01805/20.56, allocations: 4.601 MB / 5.781 GB, free: 43.75 MB / 1.01 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.0293/20.59, allocations: 8.69 MB / 5.789 GB, free: 34.48 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009457/20.6, allocations: 2.317 MB / 5.792 GB, free: 32.12 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004683/20.61, allocations: 0.4966 MB / 5.792 GB, free: 31.62 MB / 1.01 GB Notification: Performance of pre-optimization done (n=322): time 1.319e-05/20.61, allocations: 0 / 5.792 GB, free: 31.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=326): time 0.1199/20.73, allocations: 14.15 MB / 5.806 GB, free: 17.11 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/20.73, allocations: 372.7 kB / 5.806 GB, free: 16.66 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01527/20.74, allocations: 4.458 MB / 5.811 GB, free: 12.23 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001535/20.75, allocations: 117.7 kB / 5.811 GB, free: 12.11 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004693/20.75, allocations: 2.752 MB / 5.813 GB, free: 9.332 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002/20.75, allocations: 1.098 MB / 5.815 GB, free: 8.219 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005921/20.75, allocations: 76 kB / 5.815 GB, free: 8.145 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002765/20.75, allocations: 454 kB / 5.815 GB, free: 7.695 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008114/20.76, allocations: 1.748 MB / 5.817 GB, free: 5.945 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009474/20.77, allocations: 2.805 MB / 5.819 GB, free: 2.707 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009101/20.78, allocations: 2.085 MB / 5.822 GB, free: 0.6094 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.103e-05/20.78, allocations: 11.94 kB / 5.822 GB, free: 0.5977 MB / 1.01 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.03304/20.81, allocations: 5.801 MB / 5.827 GB, free: 10.75 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.004648/20.82, allocations: 11.53 MB / 5.838 GB, free: 14.43 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.722e-05/20.82, allocations: 24 kB / 5.838 GB, free: 14.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009151/20.83, allocations: 1.158 MB / 5.84 GB, free: 13.25 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008584/20.84, allocations: 0.8853 MB / 5.84 GB, free: 12.37 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/20.85, allocations: 6.456 MB / 5.847 GB, free: 5.543 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/20.86, allocations: 498.8 kB / 5.847 GB, free: 5.055 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001436/20.86, allocations: 203.9 kB / 5.847 GB, free: 4.855 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/20.86, allocations: 4 kB / 5.847 GB, free: 4.852 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9097/21.77, allocations: 5.231 MB / 5.853 GB, free: 119.2 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.903e-05/21.77, allocations: 32.58 kB / 5.853 GB, free: 119.2 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009244/21.78, allocations: 1.166 MB / 5.854 GB, free: 119.2 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008341/21.79, allocations: 0.8593 MB / 5.855 GB, free: 119.2 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/21.8, allocations: 6.447 MB / 5.861 GB, free: 114.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/21.81, allocations: 474.6 kB / 5.861 GB, free: 114.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/21.81, allocations: 195.2 kB / 5.862 GB, free: 114.6 MB / 1.042 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.006555/21.82, allocations: 1.579 MB / 5.863 GB, free: 114.4 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002459/21.82, allocations: 0.5515 MB / 5.864 GB, free: 114.4 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04272/21.86, allocations: 6.059 MB / 5.87 GB, free: 114.1 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/21.86, allocations: 38 kB / 5.87 GB, free: 114.1 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.968e-05/21.86, allocations: 3.656 kB / 5.87 GB, free: 114.1 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03532/21.9, allocations: 4.827 MB / 5.874 GB, free: 113.8 MB / 1.042 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.04678/21.95, allocations: 10.87 MB / 5.885 GB, free: 113 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.806e-05/21.95, allocations: 3.062 kB / 5.885 GB, free: 113 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007204/21.95, allocations: 0.6444 MB / 5.886 GB, free: 113 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006348/21.96, allocations: 0.9767 MB / 5.886 GB, free: 112.9 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001042/21.96, allocations: 115.9 kB / 5.887 GB, free: 112.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/21.98, allocations: 12.66 MB / 5.899 GB, free: 102.6 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/21.98, allocations: 6.453 kB / 5.899 GB, free: 102.6 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0363/22.01, allocations: 7.688 MB / 5.906 GB, free: 101.9 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005618/22.02, allocations: 1.195 MB / 5.908 GB, free: 101.8 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002691/22.02, allocations: 84.05 kB / 5.908 GB, free: 101.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/22.03, allocations: 430.3 kB / 5.908 GB, free: 101.8 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001534/22.03, allocations: 284.3 kB / 5.908 GB, free: 101.8 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009981/22.03, allocations: 167.1 kB / 5.909 GB, free: 101.8 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01095/22.05, allocations: 3.434 MB / 5.912 GB, free: 101.6 MB / 1.042 GB Notification: Performance of sort global known variables: time 4.41e-07/22.05, allocations: 0 / 5.912 GB, free: 101.6 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.01962/22.07, allocations: 3.129 MB / 5.915 GB, free: 101.6 MB / 1.042 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.01163/22.08, allocations: 4.042 MB / 5.919 GB, free: 100.7 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.03579/22.11, allocations: 7.753 MB / 5.926 GB, free: 100.1 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/22.11, allocations: 5.453 kB / 5.926 GB, free: 100.1 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.01135/22.12, allocations: 3.069 MB / 5.929 GB, free: 99.32 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02294/22.15, allocations: 2.756 MB / 5.932 GB, free: 99.28 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03999/22.19, allocations: 13.89 MB / 5.946 GB, free: 93.89 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007313/22.19, allocations: 3.633 MB / 5.949 GB, free: 93.06 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01437/22.21, allocations: 1.978 MB / 5.951 GB, free: 93.01 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003254/22.21, allocations: 0.499 MB / 5.952 GB, free: 93.01 MB / 1.042 GB Notification: Performance of SimCode: time 1.964e-06/22.21, allocations: 0 / 5.952 GB, free: 93.01 MB / 1.042 GB Notification: Performance of Templates: time 0.3464/22.56, allocations: 145.6 MB / 6.094 GB, free: 83.29 MB / 1.042 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)