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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.534/1.534, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.001187/0.001187, allocations: 181.2 kB / 366.3 MB, free: 2 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.555/1.555, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0009071/0.0009072, allocations: 94.53 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.13e-05/1.143e-05, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.7041, allocations: 116.3 MB / 0.9725 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.839/5.543, allocations: 2.412 GB / 3.384 GB, free: 16 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/5.544, allocations: 100.7 kB / 3.385 GB, free: 15.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.795/14.34, allocations: 2.328 GB / 5.713 GB, free: 74.71 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001194/14.34, allocations: 179.3 kB / 5.713 GB, free: 74.69 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.02396/14.36, allocations: 6.218 MB / 5.719 GB, free: 71.95 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/14.36, allocations: 10.62 kB / 5.719 GB, free: 71.95 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/14.38, allocations: 1.86 MB / 5.721 GB, free: 71.57 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02649/14.41, allocations: 7.696 MB / 5.728 GB, free: 70.56 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005419/14.41, allocations: 234.5 kB / 5.729 GB, free: 70.52 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/14.41, allocations: 283.6 kB / 5.729 GB, free: 70.52 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01339/14.42, allocations: 4.835 MB / 5.734 GB, free: 70.49 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01795/14.44, allocations: 5.028 MB / 5.739 GB, free: 69.82 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003355/14.44, allocations: 11.02 kB / 5.739 GB, free: 69.82 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001935/14.44, allocations: 8.719 kB / 5.739 GB, free: 69.82 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002225/14.44, allocations: 183.1 kB / 5.739 GB, free: 69.8 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06138/14.5, allocations: 23.93 MB / 5.762 GB, free: 60.32 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007434/14.51, allocations: 3.519 MB / 5.766 GB, free: 60.27 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003253/14.51, allocations: 1.836 MB / 5.767 GB, free: 60.24 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02172/14.54, allocations: 8.416 MB / 5.776 GB, free: 56.92 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003368/14.54, allocations: 2.046 MB / 5.778 GB, free: 56.79 MB / 1.026 GB Notification: Performance of pre-optimization done (n=322): time 6.582e-06/14.54, allocations: 0 / 5.778 GB, free: 56.79 MB / 1.026 GB Notification: Performance of matching and sorting (n=326): time 0.03894/14.58, allocations: 9.807 MB / 5.787 GB, free: 55.07 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/14.58, allocations: 374 kB / 5.788 GB, free: 54.66 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009023/14.59, allocations: 3.879 MB / 5.791 GB, free: 54.32 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001709/14.59, allocations: 45.75 kB / 5.791 GB, free: 54.29 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.00274/14.59, allocations: 1.743 MB / 5.793 GB, free: 53.4 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002739/14.6, allocations: 1.053 MB / 5.794 GB, free: 52.7 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003368/14.6, allocations: 0 / 5.794 GB, free: 52.7 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.000333/14.6, allocations: 453.5 kB / 5.794 GB, free: 52.39 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/14.6, allocations: 1.556 MB / 5.796 GB, free: 52.38 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/14.6, allocations: 2.576 MB / 5.799 GB, free: 51.24 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005925/14.61, allocations: 2.174 MB / 5.801 GB, free: 51.18 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-05/14.61, allocations: 8.812 kB / 5.801 GB, free: 51.18 MB / 1.026 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01733/14.63, allocations: 5.318 MB / 5.806 GB, free: 50.75 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.003549/14.63, allocations: 11.31 MB / 5.817 GB, free: 38.79 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.172e-05/14.63, allocations: 26.91 kB / 5.817 GB, free: 38.79 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/14.63, allocations: 0.8453 MB / 5.818 GB, free: 38.74 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005912/14.64, allocations: 0.8966 MB / 5.819 GB, free: 38.74 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007865/14.65, allocations: 6.216 MB / 5.825 GB, free: 34.15 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008928/14.66, allocations: 410.5 kB / 5.825 GB, free: 34.11 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001466/14.66, allocations: 206.8 kB / 5.825 GB, free: 34.11 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/14.66, allocations: 6.188 kB / 5.825 GB, free: 34.11 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01478/14.67, allocations: 4.583 MB / 5.83 GB, free: 33.97 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.603e-05/14.67, allocations: 28.09 kB / 5.83 GB, free: 33.97 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/14.67, allocations: 0.8443 MB / 5.831 GB, free: 33.92 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/14.68, allocations: 0.8741 MB / 5.831 GB, free: 33.92 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006546/14.69, allocations: 6.228 MB / 5.838 GB, free: 29.33 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00747/14.69, allocations: 374 kB / 5.838 GB, free: 29.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/14.69, allocations: 197.4 kB / 5.838 GB, free: 29.3 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.001873/14.7, allocations: 226.9 kB / 5.838 GB, free: 29.17 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002388/14.7, allocations: 0.5205 MB / 5.839 GB, free: 28.9 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02215/14.72, allocations: 5.846 MB / 5.845 GB, free: 28.57 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.539e-05/14.72, allocations: 45.53 kB / 5.845 GB, free: 28.57 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.924e-05/14.72, allocations: 1.781 kB / 5.845 GB, free: 28.57 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01888/14.74, allocations: 4.508 MB / 5.849 GB, free: 28.23 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04/14.78, allocations: 9.907 MB / 5.859 GB, free: 27.53 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/14.78, allocations: 3.094 kB / 5.859 GB, free: 27.53 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00428/14.78, allocations: 0.6452 MB / 5.859 GB, free: 27.53 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/14.79, allocations: 0.8859 MB / 5.86 GB, free: 27.45 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000981/14.79, allocations: 72.5 kB / 5.86 GB, free: 27.45 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/14.8, allocations: 12.23 MB / 5.872 GB, free: 17.43 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/14.8, allocations: 4.688 kB / 5.872 GB, free: 17.43 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02097/14.82, allocations: 7.211 MB / 5.879 GB, free: 16.43 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006423/14.83, allocations: 1.167 MB / 5.88 GB, free: 16.06 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002586/14.83, allocations: 18.25 kB / 5.88 GB, free: 16.06 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006829/14.84, allocations: 364.8 kB / 5.881 GB, free: 16.04 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005646/14.84, allocations: 251.6 kB / 5.881 GB, free: 16.04 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007057/14.84, allocations: 168.9 kB / 5.881 GB, free: 16.04 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.008464/14.85, allocations: 2.91 MB / 5.884 GB, free: 15.86 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01785/14.86, allocations: 2.913 MB / 5.887 GB, free: 15.68 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 (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%) 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.01061/14.87, allocations: 3.824 MB / 5.891 GB, free: 14.4 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01882/14.89, allocations: 6.885 MB / 5.897 GB, free: 13.88 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-05/14.89, allocations: 6.156 kB / 5.897 GB, free: 13.88 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.006628/14.9, allocations: 2.753 MB / 5.9 GB, free: 13.16 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01704/14.92, allocations: 2.326 MB / 5.902 GB, free: 12.98 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04339/14.96, allocations: 9.595 MB / 5.912 GB, free: 10.61 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01185/14.97, allocations: 4.165 MB / 5.916 GB, free: 9.711 MB / 1.026 GB Notification: Performance of SimCode: time 3.015e-06/14.97, allocations: 0 / 5.916 GB, free: 9.711 MB / 1.026 GB Notification: Performance of Templates: time 1.11/16.08, allocations: 149.4 MB / 6.062 GB, free: 174.6 MB / 1.073 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)