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.932/1.932, allocations: 292.6 MB / 307.5 MB, free: 5.246 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.001087/0.001088, allocations: 173.1 kB / 377.1 MB, free: 1.539 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.955/1.955, allocations: 205.4 MB / 0.6367 GB, free: 8.652 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.0009445/0.0009447, allocations: 98.16 kB / 0.751 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003611, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3139, allocations: 116.3 MB / 0.9884 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.479/6.793, allocations: 2.413 GB / 3.401 GB, free: 128.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004098/6.793, allocations: 103.5 kB / 3.401 GB, free: 128.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.096/15.89, allocations: 2.333 GB / 5.735 GB, free: 3.602 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.723e-06/15.89, allocations: 3.938 kB / 5.735 GB, free: 3.598 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001397/15.89, allocations: 171.9 kB / 5.735 GB, free: 3.43 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.03474/15.93, allocations: 7.585 MB / 5.742 GB, free: 11.73 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/15.93, allocations: 8.031 kB / 5.742 GB, free: 11.73 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02483/15.95, allocations: 2.305 MB / 5.744 GB, free: 9.41 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03503/15.99, allocations: 7.717 MB / 5.752 GB, free: 1.598 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008685/15.99, allocations: 403.7 kB / 5.752 GB, free: 1.195 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002696/15.99, allocations: 487.9 kB / 5.753 GB, free: 0.7148 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02579/16.02, allocations: 5.915 MB / 5.759 GB, free: 10.55 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/16.02, allocations: 7.938 kB / 5.759 GB, free: 10.55 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001627/16.02, allocations: 196 kB / 5.759 GB, free: 10.36 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002716/16.02, allocations: 184.8 kB / 5.759 GB, free: 10.17 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/16.04, allocations: 5.467 MB / 5.764 GB, free: 4.688 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 preOpt removeSimpleEquations (simulation): time 0.8564/16.9, allocations: 23.78 MB / 5.787 GB, free: 86.49 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/16.91, allocations: 4.598 MB / 5.792 GB, free: 85.96 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 preOpt evalFunc (simulation): time 0.02447/16.93, allocations: 8.696 MB / 5.8 GB, free: 82.78 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005311/16.94, allocations: 2.313 MB / 5.803 GB, free: 82.65 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00388/16.94, allocations: 0.502 MB / 5.803 GB, free: 82.56 MB / 1.042 GB Notification: Performance of pre-optimization done (n=322): time 1.292e-05/16.94, allocations: 0 / 5.803 GB, free: 82.56 MB / 1.042 GB Notification: Performance of matching and sorting (n=326): time 0.06086/17, allocations: 14.15 MB / 5.817 GB, free: 80.06 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/17, allocations: 369.6 kB / 5.817 GB, free: 79.65 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009353/17.01, allocations: 4.458 MB / 5.822 GB, free: 79.32 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.00136/17.01, allocations: 112.9 kB / 5.822 GB, free: 79.29 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.003273/17.02, allocations: 2.762 MB / 5.825 GB, free: 78.7 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001923/17.02, allocations: 1.094 MB / 5.826 GB, free: 78.14 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/17.02, allocations: 77.38 kB / 5.826 GB, free: 78.14 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002911/17.02, allocations: 459.7 kB / 5.826 GB, free: 77.83 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004587/17.02, allocations: 1.744 MB / 5.828 GB, free: 77.82 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005566/17.03, allocations: 2.812 MB / 5.831 GB, free: 76.66 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005673/17.04, allocations: 2.083 MB / 5.833 GB, free: 76.61 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.84e-05/17.04, allocations: 9.312 kB / 5.833 GB, free: 76.61 MB / 1.042 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01926/17.05, allocations: 5.793 MB / 5.838 GB, free: 76.16 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002238/17.06, allocations: 11.53 MB / 5.85 GB, free: 64.18 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.708e-05/17.06, allocations: 26.5 kB / 5.85 GB, free: 64.18 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005311/17.06, allocations: 1.165 MB / 5.851 GB, free: 64.13 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00504/17.07, allocations: 0.8819 MB / 5.852 GB, free: 64.13 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00707/17.07, allocations: 6.451 MB / 5.858 GB, free: 59.43 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008664/17.08, allocations: 490.6 kB / 5.858 GB, free: 59.41 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/17.08, allocations: 206 kB / 5.859 GB, free: 59.41 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/17.08, allocations: 8.797 kB / 5.859 GB, free: 59.41 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01612/17.1, allocations: 5.24 MB / 5.864 GB, free: 59.26 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.592e-05/17.1, allocations: 27.61 kB / 5.864 GB, free: 59.26 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004946/17.11, allocations: 1.172 MB / 5.865 GB, free: 59.21 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00483/17.11, allocations: 0.8573 MB / 5.866 GB, free: 59.21 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007136/17.12, allocations: 6.468 MB / 5.872 GB, free: 54.51 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007782/17.13, allocations: 468 kB / 5.872 GB, free: 54.49 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/17.13, allocations: 196.9 kB / 5.873 GB, free: 54.49 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.005451/17.13, allocations: 1.583 MB / 5.874 GB, free: 54.3 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002109/17.13, allocations: 0.5532 MB / 5.875 GB, free: 54.01 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0217/17.16, allocations: 6.062 MB / 5.881 GB, free: 53.69 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.57e-05/17.16, allocations: 38.66 kB / 5.881 GB, free: 53.69 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-05/17.16, allocations: 5.188 kB / 5.881 GB, free: 53.69 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01919/17.18, allocations: 4.826 MB / 5.885 GB, free: 53.35 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.03674/17.21, allocations: 10.88 MB / 5.896 GB, free: 52.57 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/17.21, allocations: 1.719 kB / 5.896 GB, free: 52.57 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00431/17.22, allocations: 0.6511 MB / 5.897 GB, free: 52.57 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004036/17.22, allocations: 0.9804 MB / 5.898 GB, free: 52.49 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009741/17.22, allocations: 118.7 kB / 5.898 GB, free: 52.49 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/17.23, allocations: 12.65 MB / 5.91 GB, free: 42.12 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/17.23, allocations: 3.594 kB / 5.91 GB, free: 42.12 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02667/17.26, allocations: 7.694 MB / 5.918 GB, free: 41.07 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00627/17.27, allocations: 1.198 MB / 5.919 GB, free: 40.69 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003289/17.27, allocations: 78.72 kB / 5.919 GB, free: 40.69 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007709/17.28, allocations: 429.2 kB / 5.919 GB, free: 40.68 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001378/17.28, allocations: 286.2 kB / 5.919 GB, free: 40.67 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001232/17.28, allocations: 165.9 kB / 5.92 GB, free: 40.67 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01098/17.29, allocations: 3.429 MB / 5.923 GB, free: 40.49 MB / 1.042 GB Notification: Performance of sort global known variables: time 8.62e-07/17.29, allocations: 0 / 5.923 GB, free: 40.49 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.02062/17.31, allocations: 3.129 MB / 5.926 GB, free: 40.49 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.01044/17.32, allocations: 4.032 MB / 5.93 GB, free: 39.43 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0236/17.35, allocations: 7.746 MB / 5.938 GB, free: 38.86 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/17.35, allocations: 9.172 kB / 5.938 GB, free: 38.86 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00727/17.35, allocations: 3.065 MB / 5.941 GB, free: 38.06 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01533/17.37, allocations: 2.749 MB / 5.943 GB, free: 38.02 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03109/17.4, allocations: 13.88 MB / 5.957 GB, free: 32.38 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004078/17.4, allocations: 3.631 MB / 5.96 GB, free: 31.48 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.009929/17.41, allocations: 1.983 MB / 5.962 GB, free: 31.22 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002484/17.42, allocations: 0.4972 MB / 5.963 GB, free: 31.21 MB / 1.042 GB Notification: Performance of SimCode: time 2.875e-06/17.42, allocations: 0 / 5.963 GB, free: 31.21 MB / 1.042 GB Notification: Performance of Templates: time 0.2286/17.64, allocations: 145.7 MB / 6.105 GB, free: 11.09 MB / 1.042 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)