Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.578/2.578, allocations: 287.5 MB / 303.2 MB, free: 8.285 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.001349/0.001349, allocations: 185.9 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009382/0.000938, allocations: 95.47 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004871, allocations: 12 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.208, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.37/7.578, allocations: 2.412 GB / 3.391 GB, free: 295.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/7.578, allocations: 103.2 kB / 3.391 GB, free: 295.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.81/19.39, allocations: 2.314 GB / 5.705 GB, free: 63.76 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.144e-06/19.39, allocations: 0 / 5.705 GB, free: 63.76 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001293/19.39, allocations: 172.5 kB / 5.705 GB, free: 63.72 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.03198/19.43, allocations: 7.506 MB / 5.713 GB, free: 60.24 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/19.43, allocations: 15.28 kB / 5.713 GB, free: 60.23 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02486/19.45, allocations: 2.31 MB / 5.715 GB, free: 59.77 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03034/19.48, allocations: 7.665 MB / 5.722 GB, free: 58.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007128/19.48, allocations: 406.8 kB / 5.723 GB, free: 58.15 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002315/19.48, allocations: 482.4 kB / 5.723 GB, free: 58.15 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/19.51, allocations: 5.944 MB / 5.729 GB, free: 57.39 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003594/19.51, allocations: 11.78 kB / 5.729 GB, free: 57.38 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002351/19.51, allocations: 201.3 kB / 5.729 GB, free: 57.38 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002472/19.51, allocations: 177.4 kB / 5.729 GB, free: 57.36 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02493/19.54, allocations: 5.447 MB / 5.735 GB, free: 57.25 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.06318/19.6, allocations: 23.56 MB / 5.758 GB, free: 47.67 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01634/19.62, allocations: 4.543 MB / 5.762 GB, free: 47.05 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008202/19.62, allocations: 1.997 MB / 5.764 GB, free: 47.01 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.03497/19.66, allocations: 9.853 MB / 5.774 GB, free: 43.52 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009604/19.67, allocations: 2.261 MB / 5.776 GB, free: 43.38 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005057/19.67, allocations: 0.605 MB / 5.777 GB, free: 43.19 MB / 1.01 GB Notification: Performance of pre-optimization done (n=316): time 1.709e-05/19.67, allocations: 0 / 5.777 GB, free: 43.19 MB / 1.01 GB Notification: Performance of matching and sorting (n=320): time 0.08397/19.76, allocations: 13.03 MB / 5.789 GB, free: 40 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/19.76, allocations: 371.2 kB / 5.79 GB, free: 39.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/19.77, allocations: 4.796 MB / 5.794 GB, free: 39.21 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001293/19.77, allocations: 104.6 kB / 5.794 GB, free: 39.18 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004494/19.78, allocations: 2.754 MB / 5.797 GB, free: 38.34 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002051/19.78, allocations: 1.076 MB / 5.798 GB, free: 37.63 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000543/19.78, allocations: 74.75 kB / 5.798 GB, free: 37.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003314/19.78, allocations: 460.1 kB / 5.799 GB, free: 37.31 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00815/19.79, allocations: 1.693 MB / 5.8 GB, free: 37.29 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009404/19.8, allocations: 2.772 MB / 5.803 GB, free: 36.08 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/19.81, allocations: 4.3 MB / 5.807 GB, free: 34.96 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.372e-05/19.81, allocations: 7.875 kB / 5.807 GB, free: 34.96 MB / 1.01 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.03106/19.85, allocations: 5.656 MB / 5.813 GB, free: 33.01 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005221/19.85, allocations: 0.8305 MB / 5.814 GB, free: 31.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/19.85, allocations: 24.56 kB / 5.814 GB, free: 31.89 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008588/19.86, allocations: 1.162 MB / 5.815 GB, free: 31.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007737/19.86, allocations: 0.8382 MB / 5.816 GB, free: 31.53 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/19.87, allocations: 6.414 MB / 5.822 GB, free: 26.03 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/19.88, allocations: 488.3 kB / 5.822 GB, free: 25.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/19.89, allocations: 201.2 kB / 5.822 GB, free: 25.87 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/19.89, allocations: 9.484 kB / 5.822 GB, free: 25.87 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02769/19.91, allocations: 5.114 MB / 5.827 GB, free: 23.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-05/19.91, allocations: 25.06 kB / 5.828 GB, free: 23.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00851/19.92, allocations: 1.179 MB / 5.829 GB, free: 23.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007363/19.93, allocations: 0.8105 MB / 5.829 GB, free: 23.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/19.94, allocations: 6.428 MB / 5.836 GB, free: 18.12 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009976/19.95, allocations: 465.8 kB / 5.836 GB, free: 18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001332/19.95, allocations: 192.2 kB / 5.836 GB, free: 17.97 MB / 1.01 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.006079/19.96, allocations: 1.576 MB / 5.838 GB, free: 17.11 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002198/19.96, allocations: 0.5508 MB / 5.838 GB, free: 16.82 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02992/19.99, allocations: 5.821 MB / 5.844 GB, free: 14.28 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.119e-05/19.99, allocations: 43.95 kB / 5.844 GB, free: 14.28 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/19.99, allocations: 0 / 5.844 GB, free: 14.28 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02386/20.01, allocations: 4.622 MB / 5.849 GB, free: 11.5 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 postOpt removeSimpleEquations (simulation): time 0.05225/20.07, allocations: 11.44 MB / 5.86 GB, free: 2.207 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.414e-05/20.07, allocations: 4 kB / 5.86 GB, free: 2.203 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006787/20.07, allocations: 0.638 MB / 5.86 GB, free: 1.688 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00527/20.08, allocations: 0.9024 MB / 5.861 GB, free: 0.9414 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008947/20.08, allocations: 110.2 kB / 5.861 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01635/20.1, allocations: 12.03 MB / 5.873 GB, free: 4.25 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/20.1, allocations: 4.031 kB / 5.873 GB, free: 4.246 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04549/20.14, allocations: 8.037 MB / 5.881 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005162/20.15, allocations: 1.13 MB / 5.882 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002375/20.15, allocations: 87.38 kB / 5.882 GB, free: 12.06 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009526/20.16, allocations: 413.8 kB / 5.883 GB, free: 11.75 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/20.16, allocations: 277.4 kB / 5.883 GB, free: 11.59 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009315/20.16, allocations: 164 kB / 5.883 GB, free: 11.47 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.009998/20.17, allocations: 3.218 MB / 5.886 GB, free: 8.84 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.01e-07/20.17, allocations: 4 kB / 5.886 GB, free: 8.836 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.01911/20.19, allocations: 3.027 MB / 5.889 GB, free: 5.855 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,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.01183/20.2, allocations: 3.923 MB / 5.893 GB, free: 2.484 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.03635/20.24, allocations: 7.541 MB / 5.9 GB, free: 11.95 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/20.24, allocations: 6.938 kB / 5.9 GB, free: 11.95 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01141/20.25, allocations: 2.957 MB / 5.903 GB, free: 9.23 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02653/20.28, allocations: 2.734 MB / 5.906 GB, free: 7.207 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8951/21.17, allocations: 13.82 MB / 5.919 GB, free: 106.7 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009246/21.18, allocations: 3.473 MB / 5.923 GB, free: 105.9 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.01622/21.2, allocations: 1.918 MB / 5.925 GB, free: 105.8 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003481/21.2, allocations: 0.4958 MB / 5.925 GB, free: 105.8 MB / 1.057 GB Notification: Performance of SimCode: time 1.202e-06/21.2, allocations: 0 / 5.925 GB, free: 105.8 MB / 1.057 GB Notification: Performance of Templates: time 0.3462/21.55, allocations: 142.2 MB / 6.064 GB, free: 98.85 MB / 1.057 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)