Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001552/0.001552, allocations: 110.6 kB / 16.42 MB, free: 6.508 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.001254/0.001254, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.331/1.331, 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 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7738, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.08414/0.858, allocations: 69.98 MB / 1.157 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02676/0.8848, allocations: 14.35 MB / 1.171 GB, free: 8.977 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004617/0.8894, allocations: 70.09 kB / 1.171 GB, free: 8.953 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003968/0.8934, allocations: 0.9661 MB / 1.172 GB, free: 8.355 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.9041, allocations: 2.703 MB / 1.175 GB, free: 6.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007284/0.9114, allocations: 2.069 MB / 1.177 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009798/0.9212, allocations: 4.917 MB / 1.181 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004431/0.9257, allocations: 1.914 MB / 1.183 GB, free: 1.562 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005928/0.9317, allocations: 1.913 MB / 1.185 GB, free: 400 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/0.9351, allocations: 1.366 MB / 1.187 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0009012/0.936, allocations: 228.7 kB / 1.187 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006714/0.9427, allocations: 2.025 MB / 1.189 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.9439, allocations: 0.5114 MB / 1.189 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003185/0.9471, allocations: 1.133 MB / 1.19 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.009193/0.9563, allocations: 3.835 MB / 1.194 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.9563, allocations: 1.031 kB / 1.194 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9564, allocations: 4 kB / 1.194 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001226/0.9565, allocations: 0 / 1.194 GB, free: 10.64 MB / 0.9356 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.007657/0.9642, allocations: 2.488 MB / 1.196 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.9642, allocations: 8.719 kB / 1.197 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006732/0.971, allocations: 0.7171 MB / 1.197 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/0.9755, allocations: 1.691 MB / 1.199 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.9758, allocations: 144.1 kB / 1.199 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004705/0.9763, allocations: 136.8 kB / 1.199 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00657/0.9828, allocations: 1.815 MB / 1.201 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.086e-05/0.9829, allocations: 10.38 kB / 1.201 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/0.9833, allocations: 65.92 kB / 1.201 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-05/0.9834, allocations: 39.92 kB / 1.201 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005947/0.9893, allocations: 1.588 MB / 1.203 GB, free: 4.949 MB / 0.9356 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.0143/1.004, allocations: 7.524 MB / 1.21 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/1.006, allocations: 0.8795 MB / 1.211 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/1.008, allocations: 0.5435 MB / 1.211 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/1.01, allocations: 1.268 MB / 1.213 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/1.01, allocations: 48.41 kB / 1.213 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=81): time 3.978e-06/1.01, allocations: 1.281 kB / 1.213 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.0195/1.03, allocations: 2.745 MB / 1.215 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/1.03, allocations: 190 kB / 1.215 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/1.033, allocations: 1.458 MB / 1.217 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003147/1.034, allocations: 49.7 kB / 1.217 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009121/1.035, allocations: 0.7471 MB / 1.218 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000387/1.035, allocations: 276 kB / 1.218 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006007/1.036, allocations: 266.6 kB / 1.218 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.036, allocations: 349.9 kB / 1.218 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/1.038, allocations: 0.5447 MB / 1.219 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/1.04, allocations: 0.8486 MB / 1.22 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004028/1.044, allocations: 1.21 MB / 1.221 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/1.044, allocations: 0 / 1.221 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01355/1.058, allocations: 2.218 MB / 1.223 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/1.058, allocations: 10.34 kB / 1.223 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/1.058, allocations: 8 kB / 1.223 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/1.06, allocations: 488.7 kB / 1.224 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.062, allocations: 267.5 kB / 1.224 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/1.064, allocations: 0.9895 MB / 1.225 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/1.066, allocations: 242.6 kB / 1.225 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/1.067, allocations: 59.94 kB / 1.225 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003146/1.07, allocations: 0.8617 MB / 1.226 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002438/1.072, allocations: 0.8408 MB / 1.227 GB, free: 15 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003958/1.076, allocations: 1.206 MB / 1.228 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.683e-06/1.076, allocations: 3.938 kB / 1.228 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.01347/1.09, allocations: 2.202 MB / 1.23 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.09, allocations: 12.09 kB / 1.23 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.09, allocations: 11.98 kB / 1.23 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/1.092, allocations: 489.2 kB / 1.231 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/1.093, allocations: 263.6 kB / 1.231 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/1.095, allocations: 0.9948 MB / 1.232 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/1.098, allocations: 219 kB / 1.232 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/1.098, allocations: 63.94 kB / 1.232 GB, free: 9.438 MB / 0.9669 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.0004979/1.099, allocations: 244.5 kB / 1.232 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008261/1.099, allocations: 158.1 kB / 1.233 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006607/1.106, allocations: 1.508 MB / 1.234 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005447/1.112, allocations: 1.28 MB / 1.235 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.112, allocations: 0 / 1.235 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.113, allocations: 378.9 kB / 1.236 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005661/1.113, allocations: 16 kB / 1.236 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/1.115, allocations: 127.8 kB / 1.236 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.116, allocations: 72.55 kB / 1.236 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00718/1.123, allocations: 1.544 MB / 1.237 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005931/1.129, allocations: 1.901 MB / 1.239 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001786/1.13, allocations: 0.4935 MB / 1.24 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00249/1.133, allocations: 1.01 MB / 1.241 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of Backend: time 2.404e-06/1.133, allocations: 0 / 1.241 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.009949/1.143, allocations: 2.265 MB / 1.243 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of SimCode: time 0.008087/1.151, allocations: 3.711 MB / 1.247 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of Templates: time 0.08203/1.233, allocations: 47.31 MB / 1.293 GB, free: 11.74 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)