Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.001211, allocations: 167.6 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008208/0.000821, allocations: 92.06 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003125, allocations: 9 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2147, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.05336/0.2681, allocations: 69.18 MB / 0.9643 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02321/0.2914, allocations: 14.69 MB / 0.9786 GB, free: 48 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002941/0.2944, allocations: 67.67 kB / 0.9787 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.2972, allocations: 0.7691 MB / 0.9795 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00778/0.305, allocations: 2.334 MB / 0.9817 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005732/0.3108, allocations: 1.887 MB / 0.9836 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008399/0.3192, allocations: 6.066 MB / 0.9895 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/0.3221, allocations: 1.499 MB / 0.991 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/0.326, allocations: 1.493 MB / 0.9924 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.3285, allocations: 1.256 MB / 0.9937 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003295/0.3289, allocations: 72 kB / 0.9937 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004704/0.3336, allocations: 1.828 MB / 0.9955 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005833/0.3342, allocations: 362.3 kB / 0.9959 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.3359, allocations: 0.9365 MB / 0.9968 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004446/0.3403, allocations: 2.934 MB / 0.9996 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3403, allocations: 0 / 0.9996 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3404, allocations: 0 / 0.9996 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.46e-05/0.3404, allocations: 0 / 0.9996 GB, free: 10.46 MB / 0.6511 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.004654/0.3451, allocations: 2.116 MB / 1.002 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3452, allocations: 12.03 kB / 1.002 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005443/0.3506, allocations: 0.7595 MB / 1.002 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/0.3538, allocations: 1.642 MB / 1.004 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.354, allocations: 148.3 kB / 1.004 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.3542, allocations: 140 kB / 1.004 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/0.3584, allocations: 1.828 MB / 1.006 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.3585, allocations: 11.92 kB / 1.006 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.3587, allocations: 60 kB / 1.006 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/0.3587, allocations: 35.94 kB / 1.006 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004783/0.3635, allocations: 1.622 MB / 1.008 GB, free: 1.859 MB / 0.6511 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.01194/0.3755, allocations: 7.56 MB / 1.015 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.3779, allocations: 0.8904 MB / 1.016 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.3796, allocations: 0.5532 MB / 1.017 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.381, allocations: 1.282 MB / 1.018 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/0.3811, allocations: 47.16 kB / 1.018 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=81): time 3.256e-06/0.3811, allocations: 0 / 1.018 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81): time 0.01684/0.3979, allocations: 2.835 MB / 1.021 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.3981, allocations: 192.6 kB / 1.021 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/0.4005, allocations: 1.429 MB / 1.022 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002354/0.4008, allocations: 57.69 kB / 1.022 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006834/0.4015, allocations: 0.747 MB / 1.023 GB, free: 1.508 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.4018, allocations: 284 kB / 1.023 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.402, allocations: 97.66 kB / 1.023 GB, free: 1.125 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4021, allocations: 349.9 kB / 1.024 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.4041, allocations: 0.5607 MB / 1.024 GB, free: 220 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.4063, allocations: 0.871 MB / 1.025 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003614/0.41, allocations: 1.241 MB / 1.026 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.41, allocations: 8 kB / 1.026 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01214/0.4221, allocations: 2.26 MB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.4224, allocations: 283.5 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.4224, allocations: 16.06 kB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.4242, allocations: 470.2 kB / 1.029 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.4258, allocations: 279.5 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.4275, allocations: 0.9973 MB / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/0.4303, allocations: 302.5 kB / 1.031 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/0.4306, allocations: 59.94 kB / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4306, allocations: 4 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01201/0.4426, allocations: 2.092 MB / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.4427, allocations: 8.562 kB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/0.4445, allocations: 481 kB / 1.033 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.4461, allocations: 271.6 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.4478, allocations: 0.993 MB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/0.4505, allocations: 279.4 kB / 1.035 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002396/0.4507, allocations: 59.89 kB / 1.035 GB, free: 4.934 MB / 0.6823 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.001185/0.4519, allocations: 490.9 kB / 1.035 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006363/0.4526, allocations: 158.1 kB / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/0.4587, allocations: 1.526 MB / 1.037 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.4587, allocations: 15.98 kB / 1.037 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4587, allocations: 0 / 1.037 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005241/0.464, allocations: 1.315 MB / 1.038 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.4791, allocations: 3.841 MB / 1.042 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.843e-05/0.4792, allocations: 4 kB / 1.042 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.4803, allocations: 179.8 kB / 1.042 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.482, allocations: 469.2 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.4822, allocations: 36.09 kB / 1.043 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.4839, allocations: 1.001 MB / 1.044 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.484, allocations: 4 kB / 1.044 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008016/0.492, allocations: 2.183 MB / 1.046 GB, free: 9.461 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/0.4932, allocations: 374.8 kB / 1.046 GB, free: 9.074 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000574/0.4938, allocations: 31.98 kB / 1.046 GB, free: 9.043 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/0.496, allocations: 185.2 kB / 1.046 GB, free: 8.867 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.4962, allocations: 80.33 kB / 1.047 GB, free: 8.785 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.4964, allocations: 47.94 kB / 1.047 GB, free: 8.738 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0022/0.4986, allocations: 1.023 MB / 1.048 GB, free: 7.719 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4986, allocations: 0 / 1.048 GB, free: 7.719 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003659/0.5023, allocations: 0.9824 MB / 1.049 GB, free: 6.734 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001743/0.5041, allocations: 0.6233 MB / 1.049 GB, free: 6.113 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006887/0.511, allocations: 2.016 MB / 1.051 GB, free: 4.102 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/0.511, allocations: 4 kB / 1.051 GB, free: 4.098 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.5131, allocations: 0.6397 MB / 1.052 GB, free: 3.461 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005185/0.5183, allocations: 0.8309 MB / 1.053 GB, free: 2.648 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.354/0.8723, allocations: 3.544 MB / 1.056 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/0.8732, allocations: 1.259 MB / 1.057 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007438/0.8739, allocations: 168 kB / 1.057 GB, free: 147.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/0.8739, allocations: 0 / 1.057 GB, free: 147.7 MB / 0.698 GB Notification: Performance of Templates: time 0.05884/0.9328, allocations: 38.78 MB / 1.095 GB, free: 129.5 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)