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.001101/0.001101, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001154/0.001154, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.338/1.338, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.498/2.498, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 64.12 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7586/0.7599, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.06966/0.8296, allocations: 69.97 MB / 1.236 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02001/0.8497, allocations: 14.35 MB / 1.25 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.8523, allocations: 71.62 kB / 1.25 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.855, allocations: 0.9704 MB / 1.251 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006917/0.862, allocations: 2.7 MB / 1.253 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00501/0.867, allocations: 2.073 MB / 1.255 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006002/0.873, allocations: 4.916 MB / 1.26 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/0.8757, allocations: 1.919 MB / 1.262 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/0.8795, allocations: 1.896 MB / 1.264 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.8816, allocations: 1.365 MB / 1.265 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000472/0.8821, allocations: 228 kB / 1.265 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004176/0.8863, allocations: 2.027 MB / 1.267 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006084/0.8869, allocations: 0.5256 MB / 1.268 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.8884, allocations: 1.124 MB / 1.269 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005593/0.894, allocations: 3.851 MB / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.894, allocations: 0 / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.894, allocations: 0 / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.212e-05/0.8941, allocations: 0 / 1.273 GB, free: 7.516 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.005167/0.8993, allocations: 2.553 MB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.8993, allocations: 12.92 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005708/0.905, allocations: 0.7254 MB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/0.9081, allocations: 1.706 MB / 1.278 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.9083, allocations: 144.3 kB / 1.278 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/0.9085, allocations: 140 kB / 1.278 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004378/0.9129, allocations: 1.816 MB / 1.28 GB, free: 200 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.089e-05/0.913, allocations: 8 kB / 1.28 GB, free: 192 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.9132, allocations: 56 kB / 1.28 GB, free: 136 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.9132, allocations: 47.88 kB / 1.28 GB, free: 88 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005124/0.9184, allocations: 1.591 MB / 1.281 GB, free: 14.49 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.01124/0.9296, allocations: 7.538 MB / 1.289 GB, free: 6.586 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.9321, allocations: 0.8787 MB / 1.29 GB, free: 5.699 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.934, allocations: 0.5441 MB / 1.29 GB, free: 5.156 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.9356, allocations: 1.271 MB / 1.291 GB, free: 3.609 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/0.9357, allocations: 43.33 kB / 1.291 GB, free: 3.555 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 3.316e-06/0.9357, allocations: 3.938 kB / 1.291 GB, free: 3.551 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.01789/0.9536, allocations: 2.754 MB / 1.294 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.9537, allocations: 192.6 kB / 1.294 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/0.9564, allocations: 1.449 MB / 1.296 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002092/0.9567, allocations: 53.69 kB / 1.296 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007627/0.9574, allocations: 0.7601 MB / 1.296 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.9578, allocations: 293.5 kB / 1.297 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004822/0.9583, allocations: 258.7 kB / 1.297 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.9584, allocations: 349.8 kB / 1.297 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.9605, allocations: 0.5447 MB / 1.298 GB, free: 12.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.9629, allocations: 0.8486 MB / 1.299 GB, free: 11.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.9669, allocations: 1.217 MB / 1.3 GB, free: 10.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.9669, allocations: 4 kB / 1.3 GB, free: 10.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01327/0.9802, allocations: 2.21 MB / 1.302 GB, free: 8.305 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.9802, allocations: 11.98 kB / 1.302 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.9803, allocations: 4 kB / 1.302 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.9821, allocations: 486.6 kB / 1.303 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.9837, allocations: 267.6 kB / 1.303 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.9855, allocations: 0.9989 MB / 1.304 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/0.988, allocations: 243 kB / 1.304 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.9882, allocations: 59.89 kB / 1.304 GB, free: 6.234 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002745/0.991, allocations: 0.8617 MB / 1.305 GB, free: 5.367 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002379/0.9934, allocations: 0.8496 MB / 1.306 GB, free: 4.402 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004012/0.9974, allocations: 1.206 MB / 1.307 GB, free: 3.105 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.425e-06/0.9974, allocations: 4 kB / 1.307 GB, free: 3.102 MB / 1.029 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.01463/1.012, allocations: 2.206 MB / 1.309 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.012, allocations: 8 kB / 1.309 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.012, allocations: 12.23 kB / 1.309 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/1.014, allocations: 485.3 kB / 1.31 GB, free: 404 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/1.016, allocations: 267.6 kB / 1.31 GB, free: 136 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/1.017, allocations: 0.9935 MB / 1.311 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/1.02, allocations: 219.2 kB / 1.311 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/1.02, allocations: 63.94 kB / 1.311 GB, free: 14.84 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.0004099/1.021, allocations: 258.2 kB / 1.311 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005167/1.021, allocations: 166.9 kB / 1.311 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006532/1.028, allocations: 1.492 MB / 1.313 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005743/1.033, allocations: 1.276 MB / 1.314 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/1.033, allocations: 7.938 kB / 1.314 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/1.035, allocations: 387.7 kB / 1.315 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005983/1.035, allocations: 20 kB / 1.315 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/1.037, allocations: 131.8 kB / 1.315 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/1.038, allocations: 64.56 kB / 1.315 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007321/1.045, allocations: 1.546 MB / 1.316 GB, free: 9.426 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005916/1.051, allocations: 1.914 MB / 1.318 GB, free: 7.496 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001797/1.053, allocations: 0.4934 MB / 1.319 GB, free: 7.004 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001884/1.055, allocations: 1.006 MB / 1.32 GB, free: 6 MB / 1.045 GB Notification: Performance of Backend: time 5.11e-07/1.055, allocations: 0 / 1.32 GB, free: 6 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007977/1.063, allocations: 2.277 MB / 1.322 GB, free: 3.73 MB / 1.045 GB Notification: Performance of SimCode: time 0.006521/1.069, allocations: 3.757 MB / 1.325 GB, free: 15.94 MB / 1.061 GB Notification: Performance of Templates: time 0.07464/1.144, allocations: 47.32 MB / 1.372 GB, free: 0.957 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)