Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.585/1.585, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001017/0.001017, allocations: 172.9 kB / 361.4 MB, free: 6.863 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.542/1.542, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008658/0.0008659, allocations: 96.5 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.655e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6834/0.6834, allocations: 115.3 MB / 0.9644 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.771/6.455, allocations: 2.411 GB / 3.375 GB, free: 109.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/6.455, allocations: 101.9 kB / 3.375 GB, free: 109.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.144/15.6, allocations: 2.314 GB / 5.689 GB, free: 4.918 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.765e-06/15.6, allocations: 4 kB / 5.689 GB, free: 4.914 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001575/15.6, allocations: 175.8 kB / 5.689 GB, free: 4.742 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.03264/15.63, allocations: 6.167 MB / 5.695 GB, free: 14.48 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 7.642e-05/15.63, allocations: 12.03 kB / 5.695 GB, free: 14.47 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/15.65, allocations: 2.294 MB / 5.698 GB, free: 12.17 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03014/15.68, allocations: 7.65 MB / 5.705 GB, free: 4.441 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006735/15.68, allocations: 234.7 kB / 5.705 GB, free: 4.203 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002997/15.69, allocations: 291.9 kB / 5.706 GB, free: 3.918 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.9691/16.65, allocations: 4.76 MB / 5.71 GB, free: 99.7 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/16.67, allocations: 4.978 MB / 5.715 GB, free: 99.02 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/16.67, allocations: 9.438 kB / 5.715 GB, free: 99.02 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006661/16.67, allocations: 8.766 kB / 5.715 GB, free: 99.02 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/16.67, allocations: 181 kB / 5.715 GB, free: 99.01 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.05585/16.73, allocations: 22.98 MB / 5.738 GB, free: 90.68 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007622/16.74, allocations: 3.812 MB / 5.742 GB, free: 90.63 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/16.74, allocations: 1.807 MB / 5.743 GB, free: 90.6 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.02444/16.77, allocations: 8.527 MB / 5.752 GB, free: 87.38 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004743/16.77, allocations: 2.024 MB / 5.754 GB, free: 87.26 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005044/16.78, allocations: 403.5 kB / 5.754 GB, free: 87.19 MB / 1.026 GB Notification: Performance of pre-optimization done (n=322): time 2.745e-05/16.78, allocations: 0 / 5.754 GB, free: 87.19 MB / 1.026 GB Notification: Performance of matching and sorting (n=326): time 0.04928/16.83, allocations: 9.776 MB / 5.764 GB, free: 85.61 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/16.83, allocations: 375.6 kB / 5.764 GB, free: 85.2 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/16.84, allocations: 3.826 MB / 5.768 GB, free: 84.88 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001555/16.84, allocations: 40.83 kB / 5.768 GB, free: 84.85 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.003715/16.84, allocations: 2.753 MB / 5.77 GB, free: 84.21 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002285/16.84, allocations: 1.05 MB / 5.771 GB, free: 83.65 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/16.85, allocations: 0.9375 kB / 5.771 GB, free: 83.65 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002962/16.85, allocations: 457.5 kB / 5.772 GB, free: 83.34 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003116/16.85, allocations: 1.52 MB / 5.773 GB, free: 83.34 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003797/16.85, allocations: 2.558 MB / 5.776 GB, free: 82.19 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006829/16.86, allocations: 2.189 MB / 5.778 GB, free: 82.13 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.602e-05/16.86, allocations: 6.75 kB / 5.778 GB, free: 82.13 MB / 1.026 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.02049/16.88, allocations: 5.38 MB / 5.783 GB, free: 81.69 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.003433/16.88, allocations: 11.32 MB / 5.794 GB, free: 69.72 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-05/16.88, allocations: 24.56 kB / 5.794 GB, free: 69.72 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/16.89, allocations: 0.9561 MB / 5.795 GB, free: 69.67 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004729/16.89, allocations: 0.889 MB / 5.796 GB, free: 69.67 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007332/16.9, allocations: 6.239 MB / 5.802 GB, free: 65.07 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008337/16.91, allocations: 407.4 kB / 5.803 GB, free: 65.05 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/16.91, allocations: 205.3 kB / 5.803 GB, free: 65.05 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/16.91, allocations: 4.875 kB / 5.803 GB, free: 65.05 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02038/16.93, allocations: 4.651 MB / 5.807 GB, free: 64.91 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/16.93, allocations: 26.31 kB / 5.807 GB, free: 64.91 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003974/16.93, allocations: 0.9781 MB / 5.808 GB, free: 64.86 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005828/16.94, allocations: 0.8632 MB / 5.809 GB, free: 64.86 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/16.95, allocations: 6.241 MB / 5.815 GB, free: 60.26 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/16.96, allocations: 381.2 kB / 5.816 GB, free: 60.25 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002287/16.96, allocations: 201.2 kB / 5.816 GB, free: 60.25 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.003587/16.97, allocations: 216.6 kB / 5.816 GB, free: 60.14 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003126/16.97, allocations: 0.5215 MB / 5.816 GB, free: 59.86 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02494/16.99, allocations: 5.557 MB / 5.822 GB, free: 59.54 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.893e-05/16.99, allocations: 44.25 kB / 5.822 GB, free: 59.54 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.524e-05/16.99, allocations: 0 / 5.822 GB, free: 59.54 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01847/17.01, allocations: 4.419 MB / 5.826 GB, free: 59.2 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.04061/17.05, allocations: 9.862 MB / 5.836 GB, free: 58.48 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/17.05, allocations: 0 / 5.836 GB, free: 58.48 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003961/17.06, allocations: 0.6378 MB / 5.837 GB, free: 58.48 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/17.06, allocations: 0.8619 MB / 5.837 GB, free: 58.4 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001083/17.06, allocations: 85.97 kB / 5.837 GB, free: 58.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/17.07, allocations: 12.24 MB / 5.849 GB, free: 48.37 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/17.07, allocations: 0 / 5.849 GB, free: 48.37 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02221/17.1, allocations: 7.084 MB / 5.856 GB, free: 47.37 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00539/17.1, allocations: 1.172 MB / 5.857 GB, free: 46.99 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003341/17.1, allocations: 28.42 kB / 5.857 GB, free: 46.99 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008196/17.11, allocations: 355.8 kB / 5.858 GB, free: 46.98 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00162/17.11, allocations: 289.8 kB / 5.858 GB, free: 46.98 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001409/17.12, allocations: 168.5 kB / 5.858 GB, free: 46.98 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.009463/17.12, allocations: 2.869 MB / 5.861 GB, free: 46.8 MB / 1.026 GB Notification: Performance of sort global known variables: time 8.71e-07/17.12, allocations: 0 / 5.861 GB, free: 46.8 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02132/17.15, allocations: 2.909 MB / 5.864 GB, free: 46.8 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.01108/17.16, allocations: 3.875 MB / 5.868 GB, free: 45.81 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01986/17.18, allocations: 6.818 MB / 5.874 GB, free: 45.29 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.032e-05/17.18, allocations: 3.188 kB / 5.874 GB, free: 45.29 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.006265/17.18, allocations: 2.757 MB / 5.877 GB, free: 44.55 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01604/17.2, allocations: 2.438 MB / 5.879 GB, free: 44.5 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02993/17.23, allocations: 9.229 MB / 5.888 GB, free: 42.42 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006332/17.24, allocations: 3.649 MB / 5.892 GB, free: 41.58 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01447/17.25, allocations: 2.689 MB / 5.895 GB, free: 41.52 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/17.25, allocations: 403.1 kB / 5.895 GB, free: 41.52 MB / 1.026 GB Notification: Performance of SimCode: time 1.723e-06/17.25, allocations: 0 / 5.895 GB, free: 41.52 MB / 1.026 GB Notification: Performance of Templates: time 0.2224/17.47, allocations: 131 MB / 6.023 GB, free: 23.82 MB / 1.026 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)