Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|temSup.T|temRet.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|temSup.T|temRet.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001764, allocations: 109.1 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 189.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.991/2.991, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 68.11 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8752/0.8768, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 0.3579/1.235, allocations: 295.7 MB / 1.497 GB, free: 4.812 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.06044/1.295, allocations: 42.46 MB / 1.539 GB, free: 10.23 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01045/1.306, allocations: 214.8 kB / 1.539 GB, free: 10.02 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01134/1.317, allocations: 3.478 MB / 1.542 GB, free: 6.531 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.02162/1.339, allocations: 7.426 MB / 1.55 GB, free: 15.08 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01403/1.353, allocations: 5.607 MB / 1.555 GB, free: 9.5 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.9376/2.291, allocations: 23.93 MB / 1.578 GB, free: 31.23 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01271/2.303, allocations: 7.462 MB / 1.586 GB, free: 30.52 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.017/2.32, allocations: 6.711 MB / 1.592 GB, free: 30.51 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/2.332, allocations: 5.359 MB / 1.597 GB, free: 30.14 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.004464/2.337, allocations: 0.8032 MB / 1.598 GB, free: 30.14 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02178/2.358, allocations: 5.558 MB / 1.604 GB, free: 30.13 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.005195/2.364, allocations: 2.436 MB / 1.606 GB, free: 29.83 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01021/2.374, allocations: 4.532 MB / 1.61 GB, free: 28.6 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02369/2.398, allocations: 14.2 MB / 1.624 GB, free: 27.02 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/2.398, allocations: 0 / 1.624 GB, free: 27.02 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.873e-06/2.398, allocations: 3.719 kB / 1.624 GB, free: 27.02 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004137/2.398, allocations: 0 / 1.624 GB, free: 27.02 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1194 * Number of variables: 1194 Notification: Performance of Generate backend data structure: time 0.02427/2.422, allocations: 9.281 MB / 1.633 GB, free: 23.08 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/2.422, allocations: 8.125 kB / 1.633 GB, free: 23.08 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/2.439, allocations: 2.41 MB / 1.636 GB, free: 22.64 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01862/2.458, allocations: 8.468 MB / 1.644 GB, free: 21.35 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/2.458, allocations: 410.1 kB / 1.644 GB, free: 21.3 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001283/2.46, allocations: 490.5 kB / 1.645 GB, free: 21.3 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/2.474, allocations: 6.248 MB / 1.651 GB, free: 20.57 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/2.474, allocations: 11 kB / 1.651 GB, free: 20.57 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006679/2.475, allocations: 200.3 kB / 1.651 GB, free: 20.57 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/2.475, allocations: 188.3 kB / 1.651 GB, free: 20.55 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/2.488, allocations: 5.836 MB / 1.657 GB, free: 20.47 MB / 1.279 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.04129/2.529, allocations: 26.03 MB / 1.682 GB, free: 9.98 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009289/2.539, allocations: 4.585 MB / 1.687 GB, free: 9.219 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004338/2.543, allocations: 2.043 MB / 1.689 GB, free: 8.875 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02029/2.563, allocations: 10.57 MB / 1.699 GB, free: 3.391 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005037/2.568, allocations: 2.309 MB / 1.702 GB, free: 2.668 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002465/2.571, allocations: 310.6 kB / 1.702 GB, free: 2.488 MB / 1.279 GB Notification: Performance of pre-optimization done (n=307): time 1.435e-05/2.571, allocations: 0 / 1.702 GB, free: 2.488 MB / 1.279 GB Notification: Performance of matching and sorting (n=310): time 0.05056/2.622, allocations: 13.44 MB / 1.715 GB, free: 7.066 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/2.622, allocations: 372.6 kB / 1.715 GB, free: 6.621 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009237/2.631, allocations: 6.286 MB / 1.721 GB, free: 352 kB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000889/2.632, allocations: 109.6 kB / 1.722 GB, free: 236 kB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.003012/2.635, allocations: 3.107 MB / 1.725 GB, free: 13.12 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001449/2.636, allocations: 1.05 MB / 1.726 GB, free: 12.09 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001748/2.638, allocations: 1.041 MB / 1.727 GB, free: 11.04 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001036/2.638, allocations: 301.1 kB / 1.727 GB, free: 10.74 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005784/2.644, allocations: 2.366 MB / 1.729 GB, free: 8.359 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006713/2.651, allocations: 3.46 MB / 1.733 GB, free: 4.488 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/2.662, allocations: 5.305 MB / 1.738 GB, free: 14.93 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/2.662, allocations: 8 kB / 1.738 GB, free: 14.92 MB / 1.326 GB Notification: Performance of matching and sorting (n=625) (initialization): time 0.02226/2.685, allocations: 7.408 MB / 1.745 GB, free: 7.621 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/2.685, allocations: 17 kB / 1.745 GB, free: 7.605 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.044e-05/2.685, allocations: 24 kB / 1.745 GB, free: 7.582 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009115/2.694, allocations: 1.638 MB / 1.747 GB, free: 5.945 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005107/2.699, allocations: 1.042 MB / 1.748 GB, free: 4.961 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00881/2.708, allocations: 5.817 MB / 1.753 GB, free: 14.84 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007329/2.715, allocations: 431.5 kB / 1.754 GB, free: 14.42 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008977/2.716, allocations: 227 kB / 1.754 GB, free: 14.2 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009134/2.725, allocations: 3.831 MB / 1.758 GB, free: 10.36 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006971/2.732, allocations: 3.402 MB / 1.761 GB, free: 6.543 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01138/2.744, allocations: 5.201 MB / 1.766 GB, free: 1.07 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.412e-05/2.744, allocations: 8 kB / 1.766 GB, free: 1.062 MB / 1.342 GB Notification: Performance of matching and sorting (n=625) (initialization_lambda0): time 0.02204/2.766, allocations: 7.292 MB / 1.773 GB, free: 9.883 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/2.766, allocations: 17.72 kB / 1.773 GB, free: 9.867 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.755e-05/2.766, allocations: 28.06 kB / 1.773 GB, free: 9.84 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009191/2.775, allocations: 1.642 MB / 1.775 GB, free: 8.188 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005195/2.78, allocations: 1.026 MB / 1.776 GB, free: 7.219 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008809/2.789, allocations: 5.801 MB / 1.782 GB, free: 1.121 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007625/2.797, allocations: 464.8 kB / 1.782 GB, free: 0.668 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009888/2.798, allocations: 227.6 kB / 1.782 GB, free: 460 kB / 1.357 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.timTab.nextTimeEvent,$whenCondition6,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,tesEvaPum.y,$PRE.tesEvaPum.y,tesConHea.y,$PRE.tesConHea.y,and2.y,and1.y,hysteresis.y,$PRE.hysteresis.y,heaPum.temPro.hysdTConEva.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.on.y,heaPum.temPro.hysLow.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysHig.y,heaPum.com.isOn,$PRE.heaPum.com.isOn,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEvent,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (522): * Single equations (assignments): 514 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,19), (3,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001644/2.799, allocations: 456.1 kB / 1.783 GB, free: 56 kB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002234/2.802, allocations: 0.628 MB / 1.783 GB, free: 15.42 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01646/2.818, allocations: 5.444 MB / 1.789 GB, free: 9.969 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01284/2.831, allocations: 4.243 MB / 1.793 GB, free: 5.656 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/2.831, allocations: 0 / 1.793 GB, free: 5.656 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003566/2.834, allocations: 1.231 MB / 1.794 GB, free: 4.398 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001912/2.836, allocations: 76 kB / 1.794 GB, free: 4.324 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005468/2.842, allocations: 359.5 kB / 1.794 GB, free: 3.973 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005684/2.842, allocations: 266.3 kB / 1.795 GB, free: 3.711 MB / 1.373 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01674/2.859, allocations: 5.193 MB / 1.8 GB, free: 14.53 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01683/2.876, allocations: 6.978 MB / 1.807 GB, free: 7.488 MB / 1.389 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004638/2.881, allocations: 1.984 MB / 1.808 GB, free: 5.496 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.008043/2.889, allocations: 4.216 MB / 1.813 GB, free: 1.305 MB / 1.389 GB Notification: Performance of Backend: time 7.31e-07/2.889, allocations: 0 / 1.813 GB, free: 1.305 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.0311/2.92, allocations: 10.11 MB / 1.822 GB, free: 7.934 MB / 1.404 GB Notification: Performance of SimCode: time 0.02986/2.95, allocations: 15.19 MB / 1.837 GB, free: 8.836 MB / 1.42 GB Notification: Performance of Templates: time 0.7114/3.661, allocations: 173.2 MB / 2.006 GB, free: 13.62 MB / 1.592 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)