Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001308/0.001308, allocations: 113.5 kB / 16.81 MB, free: 5.77 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.001274/0.001274, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.423/1.423, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 68.83 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3045, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.08134/0.3858, allocations: 70.48 MB / 1.331 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02232/0.4081, allocations: 14.39 MB / 1.345 GB, free: 7.816 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.4104, allocations: 71.62 kB / 1.345 GB, free: 7.746 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002985/0.4134, allocations: 0.9782 MB / 1.346 GB, free: 6.762 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00766/0.4211, allocations: 2.701 MB / 1.349 GB, free: 4.055 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005529/0.4266, allocations: 2.088 MB / 1.351 GB, free: 1.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00787/0.4345, allocations: 4.923 MB / 1.355 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004168/0.4387, allocations: 1.54 MB / 1.357 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005485/0.4441, allocations: 1.912 MB / 1.359 GB, free: 9.531 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/0.4468, allocations: 1.424 MB / 1.36 GB, free: 8.102 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007308/0.4476, allocations: 228 kB / 1.36 GB, free: 7.879 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005123/0.4527, allocations: 2.052 MB / 1.362 GB, free: 5.824 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009115/0.4536, allocations: 0.5372 MB / 1.363 GB, free: 5.285 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002202/0.4558, allocations: 1.12 MB / 1.364 GB, free: 4.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007787/0.4636, allocations: 3.855 MB / 1.368 GB, free: 300 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4636, allocations: 0 / 1.368 GB, free: 300 kB / 1.076 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4636, allocations: 0 / 1.368 GB, free: 300 kB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000112/0.4637, allocations: 0 / 1.368 GB, free: 300 kB / 1.076 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.006229/0.47, allocations: 2.549 MB / 1.37 GB, free: 13.67 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.47, allocations: 12.02 kB / 1.37 GB, free: 13.66 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006177/0.4762, allocations: 0.7371 MB / 1.371 GB, free: 12.92 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003912/0.4801, allocations: 1.702 MB / 1.373 GB, free: 11.16 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.4803, allocations: 148.3 kB / 1.373 GB, free: 11.01 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004321/0.4807, allocations: 136 kB / 1.373 GB, free: 10.88 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005324/0.4861, allocations: 1.816 MB / 1.375 GB, free: 8.965 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-05/0.4861, allocations: 7.891 kB / 1.375 GB, free: 8.957 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/0.4864, allocations: 60 kB / 1.375 GB, free: 8.898 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-05/0.4864, allocations: 43.94 kB / 1.375 GB, free: 8.855 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005661/0.4921, allocations: 1.579 MB / 1.376 GB, free: 7.27 MB / 1.092 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.01337/0.5055, allocations: 7.554 MB / 1.384 GB, free: 15.35 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.5081, allocations: 0.8266 MB / 1.385 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001885/0.51, allocations: 0.5073 MB / 1.385 GB, free: 14.01 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/0.5116, allocations: 1.271 MB / 1.386 GB, free: 12.46 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/0.5116, allocations: 51.2 kB / 1.386 GB, free: 12.41 MB / 1.107 GB Notification: Performance of pre-optimization done (n=81): time 4.488e-06/0.5116, allocations: 0 / 1.386 GB, free: 12.41 MB / 1.107 GB Notification: Performance of matching and sorting (n=81): time 0.01901/0.5306, allocations: 2.746 MB / 1.389 GB, free: 9.629 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.5308, allocations: 188.6 kB / 1.389 GB, free: 9.402 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/0.5336, allocations: 1.445 MB / 1.391 GB, free: 7.949 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002645/0.5339, allocations: 59.11 kB / 1.391 GB, free: 7.887 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008472/0.5347, allocations: 0.764 MB / 1.391 GB, free: 7.113 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004328/0.5352, allocations: 297.5 kB / 1.392 GB, free: 6.82 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005685/0.5357, allocations: 254.7 kB / 1.392 GB, free: 6.566 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.5359, allocations: 345.9 kB / 1.392 GB, free: 6.223 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.5381, allocations: 0.5486 MB / 1.393 GB, free: 5.668 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.5406, allocations: 0.8509 MB / 1.394 GB, free: 4.699 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/0.5448, allocations: 1.214 MB / 1.395 GB, free: 3.395 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.5448, allocations: 8 kB / 1.395 GB, free: 3.387 MB / 1.107 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0138/0.5586, allocations: 2.202 MB / 1.397 GB, free: 1.176 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.5587, allocations: 9.094 kB / 1.397 GB, free: 1.168 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.5587, allocations: 8 kB / 1.397 GB, free: 1.16 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.5607, allocations: 495.3 kB / 1.397 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.5623, allocations: 267.5 kB / 1.398 GB, free: 428 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.5643, allocations: 0.9935 MB / 1.399 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/0.5669, allocations: 246.9 kB / 1.399 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.5671, allocations: 59.89 kB / 1.399 GB, free: 15.1 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002896/0.57, allocations: 0.8617 MB / 1.4 GB, free: 14.23 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002524/0.5725, allocations: 0.8447 MB / 1.401 GB, free: 13.27 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004256/0.5768, allocations: 1.206 MB / 1.402 GB, free: 11.98 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.037e-05/0.5768, allocations: 4 kB / 1.402 GB, free: 11.97 MB / 1.123 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.01374/0.5906, allocations: 2.203 MB / 1.404 GB, free: 9.754 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.5906, allocations: 8 kB / 1.404 GB, free: 9.746 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.5906, allocations: 8 kB / 1.404 GB, free: 9.738 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/0.5924, allocations: 481.2 kB / 1.404 GB, free: 9.273 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.5941, allocations: 271.5 kB / 1.405 GB, free: 9.008 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.5959, allocations: 0.9895 MB / 1.406 GB, free: 7.992 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.5985, allocations: 219.3 kB / 1.406 GB, free: 7.777 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.5986, allocations: 63.94 kB / 1.406 GB, free: 7.715 MB / 1.123 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.0004236/0.5991, allocations: 255.9 kB / 1.406 GB, free: 7.457 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/0.5995, allocations: 171 kB / 1.406 GB, free: 7.289 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006507/0.606, allocations: 1.483 MB / 1.408 GB, free: 5.797 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005756/0.6118, allocations: 1.28 MB / 1.409 GB, free: 4.48 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.6118, allocations: 0 / 1.409 GB, free: 4.48 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008849/0.6126, allocations: 375.8 kB / 1.409 GB, free: 4.094 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.6129, allocations: 24 kB / 1.409 GB, free: 4.07 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/0.6147, allocations: 139.7 kB / 1.41 GB, free: 3.934 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.6149, allocations: 60.56 kB / 1.41 GB, free: 3.875 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007245/0.6221, allocations: 1.549 MB / 1.411 GB, free: 2.32 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006062/0.6282, allocations: 1.91 MB / 1.413 GB, free: 404 kB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001771/0.6299, allocations: 477.2 kB / 1.413 GB, free: 15.92 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00186/0.6318, allocations: 1.014 MB / 1.414 GB, free: 14.91 MB / 1.139 GB Notification: Performance of Backend: time 3.6e-07/0.6318, allocations: 0 / 1.414 GB, free: 14.91 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007846/0.6396, allocations: 2.175 MB / 1.417 GB, free: 12.74 MB / 1.139 GB Notification: Performance of SimCode: time 0.007152/0.6468, allocations: 3.772 MB / 1.42 GB, free: 8.93 MB / 1.139 GB Notification: Performance of Templates: time 0.08116/0.728, allocations: 48.08 MB / 1.467 GB, free: 9.254 MB / 1.186 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)