Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001587/0.001592, allocations: 113.2 kB / 16.42 MB, free: 6.008 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.001861/0.001861, allocations: 187 kB / 17.35 MB, free: 5.625 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.246/2.246, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8517/0.853, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumHeaPum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumHeaPumSou.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 0.3386/1.192, allocations: 294.4 MB / 1.376 GB, free: 6.938 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.06228/1.254, allocations: 40.36 MB / 1.416 GB, free: 14.46 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01131/1.265, allocations: 210.8 kB / 1.416 GB, free: 14.26 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.009172/1.274, allocations: 2.684 MB / 1.418 GB, free: 11.56 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0217/1.296, allocations: 7.393 MB / 1.426 GB, free: 4.145 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01435/1.311, allocations: 5.403 MB / 1.431 GB, free: 14.77 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.02776/1.338, allocations: 18.09 MB / 1.449 GB, free: 12.63 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01498/1.353, allocations: 7.412 MB / 1.456 GB, free: 5.117 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01438/1.368, allocations: 6.714 MB / 1.462 GB, free: 14.41 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009174/1.377, allocations: 5.206 MB / 1.467 GB, free: 9.184 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.002932/1.38, allocations: 0.7852 MB / 1.468 GB, free: 8.398 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01238/1.392, allocations: 5.366 MB / 1.473 GB, free: 3.027 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.003302/1.396, allocations: 2.15 MB / 1.476 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00748/1.403, allocations: 4.137 MB / 1.48 GB, free: 12.71 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01894/1.422, allocations: 13.06 MB / 1.492 GB, free: 15.62 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.422, allocations: 4 kB / 1.492 GB, free: 15.61 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.493e-06/1.422, allocations: 3.938 kB / 1.492 GB, free: 15.61 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0003494/1.422, allocations: 0 / 1.492 GB, free: 15.61 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1186 * Number of variables: 1186 Notification: Performance of Generate backend data structure: time 0.01945/1.442, allocations: 8.43 MB / 1.501 GB, free: 7.059 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001388/1.442, allocations: 12.03 kB / 1.501 GB, free: 7.047 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/1.458, allocations: 2.321 MB / 1.503 GB, free: 4.715 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0164/1.474, allocations: 6.431 MB / 1.509 GB, free: 14.21 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005874/1.475, allocations: 407.9 kB / 1.509 GB, free: 13.8 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001765/1.477, allocations: 487.9 kB / 1.51 GB, free: 13.33 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/1.491, allocations: 6.242 MB / 1.516 GB, free: 6.852 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/1.491, allocations: 15.84 kB / 1.516 GB, free: 6.836 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005977/1.492, allocations: 204 kB / 1.516 GB, free: 6.637 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/1.492, allocations: 176.9 kB / 1.516 GB, free: 6.461 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/1.507, allocations: 5.839 MB / 1.522 GB, free: 0.6055 MB / 1.248 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.0455/1.553, allocations: 25.17 MB / 1.547 GB, free: 6.246 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/1.564, allocations: 4.645 MB / 1.551 GB, free: 1.523 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005314/1.569, allocations: 2.073 MB / 1.553 GB, free: 15.44 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02434/1.593, allocations: 10.47 MB / 1.564 GB, free: 4.391 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005865/1.599, allocations: 2.365 MB / 1.566 GB, free: 1.98 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002029/1.601, allocations: 280.8 kB / 1.566 GB, free: 1.703 MB / 1.295 GB Notification: Performance of pre-optimization done (n=309): time 1.067e-05/1.601, allocations: 7.984 kB / 1.566 GB, free: 1.695 MB / 1.295 GB Notification: Performance of matching and sorting (n=312): time 0.05285/1.654, allocations: 13.39 MB / 1.579 GB, free: 3.996 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/1.654, allocations: 368.6 kB / 1.58 GB, free: 3.555 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6069/2.261, allocations: 5.097 MB / 1.584 GB, free: 433.8 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001039/2.262, allocations: 110.3 kB / 1.585 GB, free: 433.8 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.003077/2.265, allocations: 2.833 MB / 1.587 GB, free: 432.5 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001696/2.267, allocations: 1.05 MB / 1.588 GB, free: 432.1 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/2.269, allocations: 0.8317 MB / 1.589 GB, free: 431.8 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 4.166e-05/2.269, allocations: 306.6 kB / 1.589 GB, free: 431.5 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006495/2.275, allocations: 2.032 MB / 1.591 GB, free: 430.8 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007298/2.283, allocations: 3.002 MB / 1.594 GB, free: 429.1 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/2.296, allocations: 4.674 MB / 1.599 GB, free: 426.7 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-05/2.296, allocations: 6.656 kB / 1.599 GB, free: 426.7 MB / 1.311 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.0204/2.316, allocations: 6.286 MB / 1.605 GB, free: 424.5 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.827e-05/2.316, allocations: 16.98 kB / 1.605 GB, free: 424.5 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/2.316, allocations: 24.34 kB / 1.605 GB, free: 424.5 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009969/2.326, allocations: 1.633 MB / 1.607 GB, free: 424.3 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005303/2.331, allocations: 0.9466 MB / 1.608 GB, free: 424.2 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00977/2.341, allocations: 5.885 MB / 1.613 GB, free: 419.6 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007085/2.348, allocations: 399.3 kB / 1.614 GB, free: 419.5 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007927/2.349, allocations: 208.4 kB / 1.614 GB, free: 419.5 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008363/2.358, allocations: 3.248 MB / 1.617 GB, free: 418.2 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006562/2.364, allocations: 2.926 MB / 1.62 GB, free: 416.5 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01073/2.375, allocations: 4.515 MB / 1.624 GB, free: 414.1 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.762e-05/2.375, allocations: 8 kB / 1.624 GB, free: 414.1 MB / 1.311 GB Notification: Performance of matching and sorting (n=493) (initialization_lambda0): time 0.01874/2.394, allocations: 6.115 MB / 1.63 GB, free: 411.9 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/2.394, allocations: 22.03 kB / 1.63 GB, free: 411.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.92e-05/2.394, allocations: 23.53 kB / 1.63 GB, free: 411.9 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009383/2.403, allocations: 1.63 MB / 1.632 GB, free: 411.6 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004778/2.408, allocations: 0.9222 MB / 1.633 GB, free: 411.5 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009169/2.417, allocations: 5.893 MB / 1.639 GB, free: 406.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006604/2.424, allocations: 418.7 kB / 1.639 GB, free: 406.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007279/2.425, allocations: 204.1 kB / 1.639 GB, free: 406.7 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (454): * Single equations (assignments): 448 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,19), (5,6), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00124/2.426, allocations: 441.5 kB / 1.64 GB, free: 406.3 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/2.427, allocations: 0.5582 MB / 1.64 GB, free: 406 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02204/2.449, allocations: 5.959 MB / 1.646 GB, free: 404 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01924/2.469, allocations: 4.779 MB / 1.651 GB, free: 402.4 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/2.469, allocations: 0 / 1.651 GB, free: 402.4 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003323/2.472, allocations: 1.124 MB / 1.652 GB, free: 401.7 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001424/2.473, allocations: 80.34 kB / 1.652 GB, free: 401.7 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004965/2.478, allocations: 341.3 kB / 1.652 GB, free: 401.6 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006012/2.479, allocations: 263.5 kB / 1.653 GB, free: 401.6 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01875/2.498, allocations: 5.258 MB / 1.658 GB, free: 399.9 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01729/2.515, allocations: 6.987 MB / 1.664 GB, free: 397.1 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004747/2.52, allocations: 2.007 MB / 1.666 GB, free: 396.4 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.006536/2.526, allocations: 3.45 MB / 1.67 GB, free: 394.9 MB / 1.311 GB Notification: Performance of Backend: time 7.01e-07/2.526, allocations: 0 / 1.67 GB, free: 394.9 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0281/2.555, allocations: 8.957 MB / 1.679 GB, free: 390.8 MB / 1.311 GB Notification: Performance of SimCode: time 0.02192/2.577, allocations: 13.54 MB / 1.692 GB, free: 380.7 MB / 1.311 GB Notification: Performance of Templates: time 0.1879/2.765, allocations: 155.3 MB / 1.843 GB, free: 226.6 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)