Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.errNegTemDif|heaPum.errHigPre|heaPum.errLowPre|heaPum.com.isOn|heaPum.TEvaMin|heaPum.eva.vol.T|heaPum.con.T|heaPum.TConMax|heaPum.QCon_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.errNegTemDif|heaPum.errHigPre|heaPum.errLowPre|heaPum.com.isOn|heaPum.TEvaMin|heaPum.eva.vol.T|heaPum.con.T|heaPum.TConMax|heaPum.QCon_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.001592/0.001592, allocations: 190.7 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 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.432/2.432, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7394, allocations: 151.6 MB / 1.167 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.07526/0.8147, allocations: 69.99 MB / 1.236 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02191/0.8367, allocations: 14.33 MB / 1.25 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.8395, allocations: 79.5 kB / 1.25 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.8424, allocations: 0.9743 MB / 1.251 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007364/0.8498, allocations: 2.697 MB / 1.253 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005427/0.8553, allocations: 2.065 MB / 1.255 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006687/0.862, allocations: 4.917 MB / 1.26 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003114/0.8651, allocations: 1.922 MB / 1.262 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004265/0.8694, allocations: 1.909 MB / 1.264 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/0.8719, allocations: 1.361 MB / 1.265 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006273/0.8725, allocations: 228 kB / 1.265 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00466/0.8772, allocations: 2.02 MB / 1.267 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008628/0.878, allocations: 0.5217 MB / 1.268 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002347/0.8804, allocations: 1.12 MB / 1.269 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006745/0.8872, allocations: 3.839 MB / 1.273 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.8872, allocations: 3.984 kB / 1.273 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8872, allocations: 3.938 kB / 1.273 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.847e-05/0.8873, allocations: 0 / 1.273 GB, free: 7.641 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005895/0.8932, allocations: 2.478 MB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.8932, allocations: 8.922 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00613/0.8994, allocations: 0.7205 MB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003458/0.9029, allocations: 1.7 MB / 1.278 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.903, allocations: 152.3 kB / 1.278 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.9034, allocations: 139.9 kB / 1.278 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00466/0.908, allocations: 1.817 MB / 1.28 GB, free: 416 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.9081, allocations: 0 / 1.28 GB, free: 416 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.9083, allocations: 63.98 kB / 1.28 GB, free: 352 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.883e-05/0.9084, allocations: 43.92 kB / 1.28 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005332/0.9137, allocations: 1.579 MB / 1.281 GB, free: 14.71 MB / 1.014 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.01199/0.9257, allocations: 7.529 MB / 1.289 GB, free: 6.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.9283, allocations: 0.867 MB / 1.289 GB, free: 5.945 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.9301, allocations: 0.5506 MB / 1.29 GB, free: 5.395 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.9316, allocations: 1.274 MB / 1.291 GB, free: 3.844 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.9316, allocations: 47.22 kB / 1.291 GB, free: 3.785 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 4.438e-06/0.9316, allocations: 7.922 kB / 1.291 GB, free: 3.777 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.01857/0.9502, allocations: 2.738 MB / 1.294 GB, free: 1.012 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.9504, allocations: 204.6 kB / 1.294 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.9531, allocations: 1.441 MB / 1.296 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.9533, allocations: 53.7 kB / 1.296 GB, free: 15.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007446/0.9541, allocations: 0.7509 MB / 1.296 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/0.9544, allocations: 280 kB / 1.297 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004751/0.9549, allocations: 254.6 kB / 1.297 GB, free: 13.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.9551, allocations: 349.9 kB / 1.297 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.9572, allocations: 0.5485 MB / 1.298 GB, free: 13.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/0.9596, allocations: 0.8486 MB / 1.299 GB, free: 12.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004018/0.9636, allocations: 1.221 MB / 1.3 GB, free: 10.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.9636, allocations: 0 / 1.3 GB, free: 10.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01322/0.9769, allocations: 2.202 MB / 1.302 GB, free: 8.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.9769, allocations: 8 kB / 1.302 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.977, allocations: 4 kB / 1.302 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.9788, allocations: 492.6 kB / 1.302 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.9804, allocations: 267.6 kB / 1.303 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.9822, allocations: 1.002 MB / 1.304 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.9847, allocations: 234.7 kB / 1.304 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.9849, allocations: 59.89 kB / 1.304 GB, free: 6.504 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002753/0.9877, allocations: 0.8656 MB / 1.305 GB, free: 5.633 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002335/0.99, allocations: 0.8447 MB / 1.306 GB, free: 4.672 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003917/0.9939, allocations: 1.198 MB / 1.307 GB, free: 3.383 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.334e-06/0.994, allocations: 0 / 1.307 GB, free: 3.383 MB / 1.029 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.01305/1.007, allocations: 2.218 MB / 1.309 GB, free: 1.156 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.007, allocations: 8 kB / 1.309 GB, free: 1.148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.007, allocations: 4 kB / 1.309 GB, free: 1.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/1.009, allocations: 488.7 kB / 1.309 GB, free: 0.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/1.01, allocations: 271.5 kB / 1.31 GB, free: 412 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/1.012, allocations: 0.9873 MB / 1.311 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/1.015, allocations: 219 kB / 1.311 GB, free: 15.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/1.015, allocations: 59.89 kB / 1.311 GB, free: 15.12 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 9 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0004171/1.015, allocations: 248 kB / 1.311 GB, free: 14.87 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006169/1.016, allocations: 154.1 kB / 1.311 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006492/1.022, allocations: 1.502 MB / 1.313 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005656/1.028, allocations: 1.284 MB / 1.314 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.028, allocations: 0 / 1.314 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009068/1.029, allocations: 386.8 kB / 1.314 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/1.029, allocations: 16 kB / 1.314 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/1.031, allocations: 127.8 kB / 1.314 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.031, allocations: 72.55 kB / 1.315 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006957/1.038, allocations: 1.545 MB / 1.316 GB, free: 9.719 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005796/1.044, allocations: 1.903 MB / 1.318 GB, free: 7.801 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001701/1.046, allocations: 0.4934 MB / 1.318 GB, free: 7.309 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001874/1.048, allocations: 1.006 MB / 1.319 GB, free: 6.305 MB / 1.045 GB Notification: Performance of Backend: time 7.82e-07/1.048, allocations: 0 / 1.319 GB, free: 6.305 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007896/1.056, allocations: 2.265 MB / 1.322 GB, free: 4.047 MB / 1.045 GB Notification: Performance of SimCode: time 0.006694/1.062, allocations: 3.699 MB / 1.325 GB, free: 316 kB / 1.045 GB Notification: Performance of Templates: time 0.07103/1.133, allocations: 47.34 MB / 1.371 GB, free: 1.32 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)