Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001175/0.001175, allocations: 114.3 kB / 16.42 MB, free: 6.414 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.001174/0.001174, allocations: 186.7 kB / 17.35 MB, free: 5.691 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 72.14 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.7506, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 0.301/1.052, allocations: 295.7 MB / 1.456 GB, free: 10.98 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.06379/1.115, allocations: 42.47 MB / 1.498 GB, free: 420 kB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007529/1.123, allocations: 214.9 kB / 1.498 GB, free: 204 kB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.01027/1.133, allocations: 3.543 MB / 1.501 GB, free: 12.64 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.02162/1.155, allocations: 7.722 MB / 1.509 GB, free: 4.895 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01378/1.169, allocations: 5.622 MB / 1.514 GB, free: 15.3 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.03281/1.202, allocations: 23.96 MB / 1.538 GB, free: 7.285 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01467/1.216, allocations: 7.479 MB / 1.545 GB, free: 15.7 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01599/1.232, allocations: 6.72 MB / 1.552 GB, free: 8.984 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/1.243, allocations: 5.361 MB / 1.557 GB, free: 3.605 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.003373/1.246, allocations: 0.8008 MB / 1.558 GB, free: 2.805 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6736/1.92, allocations: 5.561 MB / 1.563 GB, free: 53.78 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.004439/1.924, allocations: 2.43 MB / 1.565 GB, free: 53.78 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01026/1.935, allocations: 4.535 MB / 1.57 GB, free: 53.78 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02305/1.958, allocations: 14.18 MB / 1.584 GB, free: 53.01 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/1.958, allocations: 6.859 kB / 1.584 GB, free: 53.01 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.314e-06/1.958, allocations: 0 / 1.584 GB, free: 53.01 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004429/1.958, allocations: 2.406 kB / 1.584 GB, free: 53.01 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.02493/1.983, allocations: 9.289 MB / 1.593 GB, free: 49.07 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.983, allocations: 9.219 kB / 1.593 GB, free: 49.07 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01654/2, allocations: 2.409 MB / 1.595 GB, free: 48.62 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01796/2.018, allocations: 8.452 MB / 1.603 GB, free: 47.39 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/2.018, allocations: 419.7 kB / 1.604 GB, free: 47.35 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/2.02, allocations: 486 kB / 1.604 GB, free: 47.34 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/2.032, allocations: 6.255 MB / 1.61 GB, free: 46.65 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.42e-05/2.033, allocations: 12.25 kB / 1.61 GB, free: 46.65 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005597/2.033, allocations: 198 kB / 1.611 GB, free: 46.65 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/2.033, allocations: 187.8 kB / 1.611 GB, free: 46.64 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/2.046, allocations: 5.837 MB / 1.616 GB, free: 46.59 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.04106/2.087, allocations: 26.03 MB / 1.642 GB, free: 36.23 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009529/2.097, allocations: 4.588 MB / 1.646 GB, free: 35.68 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004424/2.101, allocations: 2.052 MB / 1.648 GB, free: 35.65 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02072/2.122, allocations: 10.56 MB / 1.659 GB, free: 32.31 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005136/2.127, allocations: 2.31 MB / 1.661 GB, free: 32.16 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002094/2.129, allocations: 315.3 kB / 1.661 GB, free: 31.98 MB / 1.279 GB Notification: Performance of pre-optimization done (n=307): time 6.282e-06/2.129, allocations: 0 / 1.661 GB, free: 31.98 MB / 1.279 GB Notification: Performance of matching and sorting (n=310): time 0.0488/2.178, allocations: 13.43 MB / 1.674 GB, free: 29.27 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/2.178, allocations: 371 kB / 1.675 GB, free: 28.86 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008217/2.186, allocations: 6.286 MB / 1.681 GB, free: 28.36 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0008063/2.187, allocations: 113.7 kB / 1.681 GB, free: 28.33 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002292/2.19, allocations: 3.103 MB / 1.684 GB, free: 27.32 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/2.191, allocations: 1.056 MB / 1.685 GB, free: 26.56 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/2.192, allocations: 1.039 MB / 1.686 GB, free: 26.33 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.394e-05/2.192, allocations: 302.6 kB / 1.686 GB, free: 26.04 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005566/2.198, allocations: 2.364 MB / 1.689 GB, free: 25.59 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006056/2.204, allocations: 3.454 MB / 1.692 GB, free: 23.97 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/2.215, allocations: 5.304 MB / 1.697 GB, free: 22.38 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.601e-05/2.215, allocations: 7.875 kB / 1.697 GB, free: 22.38 MB / 1.279 GB Notification: Performance of matching and sorting (n=625) (initialization): time 0.02115/2.236, allocations: 7.411 MB / 1.704 GB, free: 20.73 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/2.236, allocations: 19.61 kB / 1.704 GB, free: 20.73 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.631e-05/2.236, allocations: 27.09 kB / 1.704 GB, free: 20.73 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008804/2.245, allocations: 1.634 MB / 1.706 GB, free: 20.16 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004623/2.249, allocations: 1.04 MB / 1.707 GB, free: 19.95 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007772/2.257, allocations: 5.81 MB / 1.713 GB, free: 14.71 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007204/2.264, allocations: 438.8 kB / 1.713 GB, free: 14.29 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007343/2.265, allocations: 227.9 kB / 1.713 GB, free: 14.07 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008403/2.273, allocations: 3.827 MB / 1.717 GB, free: 10.23 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006043/2.28, allocations: 3.405 MB / 1.72 GB, free: 6.41 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01008/2.29, allocations: 5.201 MB / 1.725 GB, free: 0.9492 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.443e-05/2.29, allocations: 8 kB / 1.725 GB, free: 0.9414 MB / 1.279 GB Notification: Performance of matching and sorting (n=625) (initialization_lambda0): time 0.02258/2.312, allocations: 7.296 MB / 1.733 GB, free: 9.758 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/2.312, allocations: 16 kB / 1.733 GB, free: 9.742 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.411e-05/2.312, allocations: 27.94 kB / 1.733 GB, free: 9.715 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009204/2.322, allocations: 1.639 MB / 1.734 GB, free: 8.074 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005039/2.327, allocations: 1.022 MB / 1.735 GB, free: 7.109 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009212/2.336, allocations: 5.809 MB / 1.741 GB, free: 1.012 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007648/2.344, allocations: 465.9 kB / 1.741 GB, free: 0.5586 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009503/2.345, allocations: 223.8 kB / 1.742 GB, free: 348 kB / 1.295 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.00186/2.346, allocations: 463.5 kB / 1.742 GB, free: 15.94 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002489/2.349, allocations: 0.6288 MB / 1.743 GB, free: 15.3 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01795/2.367, allocations: 5.434 MB / 1.748 GB, free: 9.859 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01362/2.381, allocations: 4.235 MB / 1.752 GB, free: 5.555 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/2.381, allocations: 0 / 1.752 GB, free: 5.555 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004146/2.385, allocations: 1.234 MB / 1.753 GB, free: 4.293 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002009/2.387, allocations: 79.98 kB / 1.753 GB, free: 4.215 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006049/2.393, allocations: 355.5 kB / 1.754 GB, free: 3.867 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006935/2.394, allocations: 265.4 kB / 1.754 GB, free: 3.609 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01803/2.412, allocations: 5.19 MB / 1.759 GB, free: 14.43 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01774/2.429, allocations: 6.983 MB / 1.766 GB, free: 7.387 MB / 1.326 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004864/2.434, allocations: 1.981 MB / 1.768 GB, free: 5.395 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.008346/2.443, allocations: 4.216 MB / 1.772 GB, free: 1.203 MB / 1.326 GB Notification: Performance of Backend: time 8.42e-07/2.443, allocations: 0 / 1.772 GB, free: 1.203 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.03429/2.477, allocations: 10.12 MB / 1.782 GB, free: 7.711 MB / 1.342 GB Notification: Performance of SimCode: time 0.03246/2.509, allocations: 15.19 MB / 1.797 GB, free: 8.578 MB / 1.357 GB Notification: Performance of Templates: time 0.2615/2.771, allocations: 169.6 MB / 1.962 GB, free: 0.9648 MB / 1.514 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)