Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.619/1.619, allocations: 289.9 MB / 297.4 MB, free: 6.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 192.8 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.3 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008276/0.0008274, allocations: 88.02 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.6e-05/1.582e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6749/0.675, allocations: 116.3 MB / 0.9732 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.754/6.429, allocations: 2.412 GB / 3.385 GB, free: 71.94 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/6.429, allocations: 96.88 kB / 3.385 GB, free: 71.85 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.3/16.73, allocations: 2.314 GB / 5.699 GB, free: 86.33 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.735e-06/16.73, allocations: 0 / 5.699 GB, free: 86.33 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001642/16.73, allocations: 177 kB / 5.699 GB, free: 86.3 MB / 1.026 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.02611/16.76, allocations: 6.168 MB / 5.705 GB, free: 83.77 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/16.76, allocations: 10.16 kB / 5.705 GB, free: 83.77 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/16.78, allocations: 2.303 MB / 5.708 GB, free: 83.38 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02713/16.8, allocations: 7.655 MB / 5.715 GB, free: 82.39 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007266/16.8, allocations: 231.9 kB / 5.715 GB, free: 82.35 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002973/16.81, allocations: 289 kB / 5.716 GB, free: 82.34 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01592/16.82, allocations: 4.765 MB / 5.72 GB, free: 82.32 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02247/16.85, allocations: 4.975 MB / 5.725 GB, free: 81.64 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004806/16.85, allocations: 10.88 kB / 5.725 GB, free: 81.64 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002439/16.85, allocations: 11.2 kB / 5.725 GB, free: 81.64 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003995/16.85, allocations: 184.4 kB / 5.725 GB, free: 81.63 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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.06555/16.91, allocations: 22.98 MB / 5.748 GB, free: 72.82 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/16.93, allocations: 3.803 MB / 5.751 GB, free: 72.76 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004892/16.93, allocations: 1.806 MB / 5.753 GB, free: 72.73 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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.02822/16.96, allocations: 8.528 MB / 5.761 GB, free: 69.43 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00763/16.97, allocations: 2.031 MB / 5.763 GB, free: 69.31 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00573/16.97, allocations: 400.4 kB / 5.764 GB, free: 69.19 MB / 1.026 GB Notification: Performance of pre-optimization done (n=322): time 2.669e-05/16.97, allocations: 3.562 kB / 5.764 GB, free: 69.19 MB / 1.026 GB Notification: Performance of matching and sorting (n=326): time 0.04532/17.02, allocations: 9.779 MB / 5.773 GB, free: 67.51 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/17.02, allocations: 372.9 kB / 5.774 GB, free: 67.1 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01224/17.03, allocations: 3.831 MB / 5.777 GB, free: 66.76 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001759/17.03, allocations: 41.48 kB / 5.778 GB, free: 66.73 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.004505/17.04, allocations: 2.756 MB / 5.78 GB, free: 65.83 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002407/17.04, allocations: 1.054 MB / 5.781 GB, free: 65.13 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/17.04, allocations: 2.375 kB / 5.781 GB, free: 65.13 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0004312/17.04, allocations: 455.2 kB / 5.782 GB, free: 64.82 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003781/17.04, allocations: 1.52 MB / 5.783 GB, free: 64.82 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004684/17.05, allocations: 2.556 MB / 5.786 GB, free: 63.67 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007564/17.06, allocations: 2.182 MB / 5.788 GB, free: 63.62 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.16e-05/17.06, allocations: 7.719 kB / 5.788 GB, free: 63.62 MB / 1.026 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.02115/17.08, allocations: 5.376 MB / 5.793 GB, free: 63.18 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.003034/17.08, allocations: 11.32 MB / 5.804 GB, free: 51.21 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.063e-05/17.08, allocations: 26.44 kB / 5.804 GB, free: 51.21 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003627/17.08, allocations: 0.9596 MB / 5.805 GB, free: 51.16 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004896/17.09, allocations: 0.8872 MB / 5.806 GB, free: 51.16 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006913/17.1, allocations: 6.246 MB / 5.812 GB, free: 46.56 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007602/17.1, allocations: 405.1 kB / 5.812 GB, free: 46.52 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/17.11, allocations: 204.5 kB / 5.813 GB, free: 46.52 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/17.11, allocations: 4.562 kB / 5.813 GB, free: 46.52 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01733/17.12, allocations: 4.655 MB / 5.817 GB, free: 46.37 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/17.12, allocations: 25.75 kB / 5.817 GB, free: 46.37 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/17.13, allocations: 0.968 MB / 5.818 GB, free: 46.32 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004849/17.13, allocations: 0.8611 MB / 5.819 GB, free: 46.32 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006802/17.14, allocations: 6.254 MB / 5.825 GB, free: 41.72 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007432/17.15, allocations: 376.6 kB / 5.825 GB, free: 41.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/17.15, allocations: 198 kB / 5.826 GB, free: 41.7 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumHeaPum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumHeaPumSou.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * 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 {(1,100.0%) 5} * Non-linear torn systems: 5 {2 19,1 4,1 4,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002371/17.15, allocations: 225.9 kB / 5.826 GB, free: 41.57 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002491/17.15, allocations: 0.5192 MB / 5.826 GB, free: 41.29 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02483/17.18, allocations: 5.558 MB / 5.832 GB, free: 40.96 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.204e-05/17.18, allocations: 41.45 kB / 5.832 GB, free: 40.96 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.959e-05/17.18, allocations: 3.844 kB / 5.832 GB, free: 40.96 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01941/17.2, allocations: 4.41 MB / 5.836 GB, free: 40.62 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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.04064/17.24, allocations: 9.852 MB / 5.846 GB, free: 39.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-05/17.24, allocations: 13.45 kB / 5.846 GB, free: 39.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003815/17.24, allocations: 0.6352 MB / 5.846 GB, free: 39.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002637/17.24, allocations: 0.8583 MB / 5.847 GB, free: 39.82 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008489/17.24, allocations: 74.98 kB / 5.847 GB, free: 39.82 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008781/17.25, allocations: 12.26 MB / 5.859 GB, free: 29.79 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/17.25, allocations: 0 / 5.859 GB, free: 29.79 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01923/17.27, allocations: 7.082 MB / 5.866 GB, free: 28.78 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004996/17.28, allocations: 1.166 MB / 5.867 GB, free: 28.4 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002444/17.28, allocations: 22.5 kB / 5.867 GB, free: 28.4 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006479/17.29, allocations: 362.9 kB / 5.868 GB, free: 28.38 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009114/17.29, allocations: 288.1 kB / 5.868 GB, free: 28.38 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008172/17.29, allocations: 166.3 kB / 5.868 GB, free: 28.38 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.007193/17.3, allocations: 2.87 MB / 5.871 GB, free: 28.2 MB / 1.026 GB Notification: Performance of sort global known variables: time 4.61e-07/17.3, allocations: 0 / 5.871 GB, free: 28.2 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01924/17.32, allocations: 2.916 MB / 5.874 GB, free: 28.02 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (321): * Single equations (assignments): 296 * 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%) 4,(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 {2 19,1 4,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01134/17.33, allocations: 3.864 MB / 5.878 GB, free: 26.83 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0164/17.34, allocations: 6.814 MB / 5.884 GB, free: 26.27 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.53e-05/17.34, allocations: 5.594 kB / 5.884 GB, free: 26.27 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004981/17.35, allocations: 2.755 MB / 5.887 GB, free: 25.52 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01446/17.36, allocations: 2.437 MB / 5.889 GB, free: 25.39 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/17.39, allocations: 9.23 MB / 5.898 GB, free: 22.89 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006059/17.39, allocations: 3.638 MB / 5.902 GB, free: 21.97 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01569/17.41, allocations: 2.695 MB / 5.904 GB, free: 21.66 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002641/17.41, allocations: 399.7 kB / 5.905 GB, free: 21.66 MB / 1.026 GB Notification: Performance of SimCode: time 2.835e-06/17.41, allocations: 3.469 kB / 5.905 GB, free: 21.66 MB / 1.026 GB Notification: Performance of Templates: time 0.2381/17.65, allocations: 132 MB / 6.034 GB, free: 13.17 MB / 1.057 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)