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.638/1.638, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.001282/0.001282, allocations: 183.1 kB / 373 MB, free: 10.16 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.441/1.441, allocations: 205.4 MB / 0.6317 GB, free: 9.906 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.0007079/0.000708, allocations: 93.31 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004168, allocations: 13.03 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2437, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.883/6.127, allocations: 2.412 GB / 3.393 GB, free: 291.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/6.127, allocations: 103.9 kB / 3.393 GB, free: 291.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.107/14.23, allocations: 2.314 GB / 5.707 GB, free: 63.96 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.074e-06/14.23, allocations: 2.812 kB / 5.707 GB, free: 63.96 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001021/14.24, allocations: 167.4 kB / 5.707 GB, free: 63.93 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.02285/14.26, allocations: 7.515 MB / 5.714 GB, free: 60.45 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/14.26, allocations: 7.25 kB / 5.714 GB, free: 60.45 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/14.27, allocations: 2.308 MB / 5.717 GB, free: 59.98 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02392/14.3, allocations: 7.672 MB / 5.724 GB, free: 58.41 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006399/14.3, allocations: 405.1 kB / 5.724 GB, free: 58.37 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002392/14.3, allocations: 491.4 kB / 5.725 GB, free: 58.36 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/14.31, allocations: 5.934 MB / 5.731 GB, free: 57.6 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/14.31, allocations: 15.14 kB / 5.731 GB, free: 57.59 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006698/14.32, allocations: 193.7 kB / 5.731 GB, free: 57.59 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/14.32, allocations: 187.3 kB / 5.731 GB, free: 57.57 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/14.33, allocations: 5.443 MB / 5.736 GB, free: 57.47 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.04978/14.38, allocations: 23.56 MB / 5.759 GB, free: 47.88 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009566/14.39, allocations: 4.542 MB / 5.764 GB, free: 47.25 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004372/14.39, allocations: 1.989 MB / 5.766 GB, free: 47.22 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.01995/14.41, allocations: 9.859 MB / 5.775 GB, free: 43.73 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004891/14.42, allocations: 2.254 MB / 5.778 GB, free: 43.59 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003746/14.42, allocations: 0.6101 MB / 5.778 GB, free: 43.4 MB / 1.01 GB Notification: Performance of pre-optimization done (n=316): time 1.611e-05/14.42, allocations: 0 / 5.778 GB, free: 43.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=320): time 0.04782/14.47, allocations: 13.04 MB / 5.791 GB, free: 40.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/14.47, allocations: 372.2 kB / 5.791 GB, free: 39.79 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008937/14.48, allocations: 4.796 MB / 5.796 GB, free: 39.41 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001277/14.48, allocations: 110.6 kB / 5.796 GB, free: 39.37 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002941/14.48, allocations: 2.753 MB / 5.799 GB, free: 38.54 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/14.48, allocations: 1.07 MB / 5.8 GB, free: 37.83 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/14.48, allocations: 74.34 kB / 5.8 GB, free: 37.83 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002243/14.49, allocations: 459.9 kB / 5.8 GB, free: 37.52 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004232/14.49, allocations: 1.685 MB / 5.802 GB, free: 37.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004939/14.49, allocations: 2.778 MB / 5.805 GB, free: 35.77 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009087/14.5, allocations: 4.299 MB / 5.809 GB, free: 33.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.804e-05/14.5, allocations: 11.88 kB / 5.809 GB, free: 33.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01756/14.52, allocations: 5.668 MB / 5.814 GB, free: 31.18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005158/14.52, allocations: 0.8268 MB / 5.815 GB, free: 30.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/14.52, allocations: 23.12 kB / 5.815 GB, free: 30.07 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004968/14.53, allocations: 1.159 MB / 5.816 GB, free: 29.79 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004419/14.53, allocations: 0.8407 MB / 5.817 GB, free: 29.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006772/14.54, allocations: 6.414 MB / 5.824 GB, free: 24.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007272/14.55, allocations: 488.8 kB / 5.824 GB, free: 24.07 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/14.55, allocations: 206.7 kB / 5.824 GB, free: 24.04 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/14.55, allocations: 3.844 kB / 5.824 GB, free: 24.04 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.015/14.56, allocations: 5.107 MB / 5.829 GB, free: 22.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.267e-05/14.56, allocations: 25.72 kB / 5.829 GB, free: 22.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004691/14.57, allocations: 1.169 MB / 5.83 GB, free: 21.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/14.57, allocations: 0.8213 MB / 5.831 GB, free: 21.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006593/14.58, allocations: 6.416 MB / 5.837 GB, free: 16.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007243/14.58, allocations: 472.8 kB / 5.838 GB, free: 16.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/14.59, allocations: 200.8 kB / 5.838 GB, free: 16.15 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.004815/14.59, allocations: 1.572 MB / 5.84 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/14.59, allocations: 0.5545 MB / 5.84 GB, free: 15 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/14.61, allocations: 5.827 MB / 5.846 GB, free: 10.51 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.774e-05/14.61, allocations: 35.84 kB / 5.846 GB, free: 10.48 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/14.61, allocations: 4 kB / 5.846 GB, free: 10.47 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01274/14.62, allocations: 4.629 MB / 5.85 GB, free: 6.316 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.03214/14.65, allocations: 11.43 MB / 5.862 GB, free: 13.02 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/14.65, allocations: 12.11 kB / 5.862 GB, free: 13.02 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003951/14.66, allocations: 0.6341 MB / 5.862 GB, free: 12.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003354/14.66, allocations: 0.8954 MB / 5.863 GB, free: 11.76 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000749/14.66, allocations: 112.8 kB / 5.863 GB, free: 11.68 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/14.67, allocations: 12.02 MB / 5.875 GB, free: 15.09 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/14.67, allocations: 8.156 kB / 5.875 GB, free: 15.08 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02535/14.7, allocations: 8.025 MB / 5.883 GB, free: 7.945 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00434/14.7, allocations: 1.137 MB / 5.884 GB, free: 6.973 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/14.7, allocations: 79.33 kB / 5.884 GB, free: 6.898 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005358/14.71, allocations: 419 kB / 5.884 GB, free: 6.59 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006035/14.71, allocations: 278.4 kB / 5.885 GB, free: 6.426 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004248/14.71, allocations: 160.3 kB / 5.885 GB, free: 6.309 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.006155/14.72, allocations: 3.228 MB / 5.888 GB, free: 3.672 MB / 1.042 GB Notification: Performance of sort global known variables: time 5.31e-07/14.72, allocations: 3.172 kB / 5.888 GB, free: 3.672 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.01352/14.73, allocations: 3.033 MB / 5.891 GB, free: 0.6836 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.5952/15.32, allocations: 3.913 MB / 5.895 GB, free: 98.13 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0253/15.35, allocations: 7.545 MB / 5.902 GB, free: 97.59 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.648e-05/15.35, allocations: 4.156 kB / 5.902 GB, free: 97.59 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00822/15.36, allocations: 2.955 MB / 5.905 GB, free: 96.8 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01826/15.38, allocations: 2.738 MB / 5.908 GB, free: 96.76 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02764/15.4, allocations: 13.82 MB / 5.921 GB, free: 91.41 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004754/15.41, allocations: 3.473 MB / 5.924 GB, free: 90.6 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01046/15.42, allocations: 1.915 MB / 5.926 GB, free: 90.55 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002152/15.42, allocations: 0.4955 MB / 5.927 GB, free: 90.55 MB / 1.042 GB Notification: Performance of SimCode: time 1.102e-06/15.42, allocations: 3.344 kB / 5.927 GB, free: 90.55 MB / 1.042 GB Notification: Performance of Templates: time 0.2231/15.64, allocations: 143.8 MB / 6.067 GB, free: 81.98 MB / 1.042 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)