Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0011/0.0011, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.001105/0.001106, allocations: 190.6 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.299/1.299, 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 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 68.11 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7418/0.7432, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.06557/0.8088, allocations: 69.98 MB / 1.277 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01996/0.8288, allocations: 14.35 MB / 1.291 GB, free: 9.016 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.831, allocations: 75.56 kB / 1.291 GB, free: 8.941 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.8332, allocations: 0.9353 MB / 1.292 GB, free: 8 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006479/0.8397, allocations: 2.584 MB / 1.294 GB, free: 5.41 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004834/0.8445, allocations: 2.065 MB / 1.296 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005684/0.8502, allocations: 4.903 MB / 1.301 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.8526, allocations: 1.922 MB / 1.303 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003491/0.8561, allocations: 1.906 MB / 1.305 GB, free: 10.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.8579, allocations: 1.365 MB / 1.306 GB, free: 9.195 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.8582, allocations: 232 kB / 1.306 GB, free: 8.969 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00376/0.8619, allocations: 2.024 MB / 1.308 GB, free: 6.941 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004804/0.8624, allocations: 0.5178 MB / 1.309 GB, free: 6.422 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.8636, allocations: 1.128 MB / 1.31 GB, free: 5.289 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004663/0.8682, allocations: 3.831 MB / 1.314 GB, free: 1.449 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8682, allocations: 0 / 1.314 GB, free: 1.449 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8683, allocations: 0 / 1.314 GB, free: 1.449 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.602e-05/0.8683, allocations: 0 / 1.314 GB, free: 1.449 MB / 1.029 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.004054/0.8723, allocations: 2.494 MB / 1.316 GB, free: 14.89 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.8724, allocations: 8.031 kB / 1.316 GB, free: 14.88 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005742/0.8781, allocations: 0.7166 MB / 1.317 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.8807, allocations: 1.696 MB / 1.319 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.8808, allocations: 144.3 kB / 1.319 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.8811, allocations: 139.9 kB / 1.319 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/0.885, allocations: 1.816 MB / 1.321 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.8851, allocations: 3.938 kB / 1.321 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.8853, allocations: 60 kB / 1.321 GB, free: 10.15 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.8853, allocations: 39.94 kB / 1.321 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004818/0.8901, allocations: 1.583 MB / 1.322 GB, free: 8.523 MB / 1.045 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.01031/0.9005, allocations: 7.54 MB / 1.33 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.9029, allocations: 0.8703 MB / 1.33 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.9046, allocations: 0.5376 MB / 1.331 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.906, allocations: 1.271 MB / 1.332 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.906, allocations: 51.16 kB / 1.332 GB, free: 13.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=81): time 2.966e-06/0.906, allocations: 4 kB / 1.332 GB, free: 13.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=81): time 0.01745/0.9235, allocations: 2.745 MB / 1.335 GB, free: 10.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.9236, allocations: 192.6 kB / 1.335 GB, free: 10.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.9259, allocations: 1.453 MB / 1.337 GB, free: 9.113 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.9261, allocations: 49.7 kB / 1.337 GB, free: 9.059 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006799/0.9268, allocations: 0.7431 MB / 1.337 GB, free: 8.305 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.9271, allocations: 280 kB / 1.338 GB, free: 8.027 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/0.9275, allocations: 258.6 kB / 1.338 GB, free: 7.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9277, allocations: 357.9 kB / 1.338 GB, free: 7.414 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.9297, allocations: 0.5446 MB / 1.339 GB, free: 6.863 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/0.932, allocations: 0.8447 MB / 1.339 GB, free: 5.898 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/0.9358, allocations: 1.214 MB / 1.341 GB, free: 4.594 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.9359, allocations: 0 / 1.341 GB, free: 4.594 MB / 1.061 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01279/0.9487, allocations: 2.209 MB / 1.343 GB, free: 2.371 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.9487, allocations: 8.562 kB / 1.343 GB, free: 2.363 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.9487, allocations: 8 kB / 1.343 GB, free: 2.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/0.9505, allocations: 488.7 kB / 1.343 GB, free: 1.883 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.952, allocations: 271.5 kB / 1.344 GB, free: 1.617 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.9537, allocations: 0.9895 MB / 1.345 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.9561, allocations: 230.7 kB / 1.345 GB, free: 384 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.9563, allocations: 75.81 kB / 1.345 GB, free: 308 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002617/0.9589, allocations: 0.8578 MB / 1.346 GB, free: 15.44 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00223/0.9612, allocations: 0.8408 MB / 1.346 GB, free: 14.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003693/0.9649, allocations: 1.209 MB / 1.348 GB, free: 13.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.39e-06/0.9649, allocations: 0 / 1.348 GB, free: 13.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.01252/0.9774, allocations: 2.202 MB / 1.35 GB, free: 10.97 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.9775, allocations: 8 kB / 1.35 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.9775, allocations: 4.562 kB / 1.35 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.9791, allocations: 495.5 kB / 1.35 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.9806, allocations: 263.8 kB / 1.351 GB, free: 10.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.9821, allocations: 0.9993 MB / 1.352 GB, free: 9.195 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.9845, allocations: 219 kB / 1.352 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.9846, allocations: 63.94 kB / 1.352 GB, free: 8.918 MB / 1.076 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.000422/0.985, allocations: 244 kB / 1.352 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006115/0.9856, allocations: 154.1 kB / 1.352 GB, free: 8.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006688/0.9923, allocations: 1.506 MB / 1.354 GB, free: 7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005606/0.998, allocations: 1.276 MB / 1.355 GB, free: 5.684 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.998, allocations: 0 / 1.355 GB, free: 5.684 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007733/0.9988, allocations: 390.8 kB / 1.355 GB, free: 5.281 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/0.9991, allocations: 16 kB / 1.355 GB, free: 5.266 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/1.001, allocations: 123.8 kB / 1.355 GB, free: 5.145 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/1.001, allocations: 72.55 kB / 1.355 GB, free: 5.074 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006824/1.008, allocations: 1.537 MB / 1.357 GB, free: 3.531 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005625/1.014, allocations: 1.905 MB / 1.359 GB, free: 1.613 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001646/1.015, allocations: 0.4973 MB / 1.359 GB, free: 1.109 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001725/1.017, allocations: 1.01 MB / 1.36 GB, free: 104 kB / 1.076 GB Notification: Performance of Backend: time 5.11e-07/1.017, allocations: 0 / 1.36 GB, free: 104 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007669/1.025, allocations: 2.254 MB / 1.363 GB, free: 13.86 MB / 1.092 GB Notification: Performance of SimCode: time 0.006519/1.031, allocations: 3.705 MB / 1.366 GB, free: 10.12 MB / 1.092 GB Notification: Performance of Templates: time 0.07562/1.107, allocations: 48.3 MB / 1.413 GB, free: 10.22 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)