Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.585/1.585, allocations: 287.4 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009642/0.0009643, allocations: 179.2 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007313/0.0007314, allocations: 104.1 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003859, allocations: 11.22 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1864, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.05311/0.2396, allocations: 64.51 MB / 1.042 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.2584, allocations: 13.34 MB / 1.055 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002687/0.2611, allocations: 59.62 kB / 1.055 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.2636, allocations: 0.6481 MB / 1.056 GB, free: 13.46 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006486/0.2702, allocations: 2.014 MB / 1.058 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004663/0.2748, allocations: 1.468 MB / 1.059 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006987/0.2818, allocations: 5.312 MB / 1.065 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003574/0.2854, allocations: 1.516 MB / 1.066 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003546/0.289, allocations: 1.427 MB / 1.067 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.2913, allocations: 1.19 MB / 1.069 GB, free: 492 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005248/0.2919, allocations: 72 kB / 1.069 GB, free: 420 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.38/0.6719, allocations: 1.435 MB / 1.07 GB, free: 30.09 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008313/0.6728, allocations: 343.3 kB / 1.07 GB, free: 30.09 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009491/0.6738, allocations: 433.6 kB / 1.071 GB, free: 30.06 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005544/0.6793, allocations: 2.83 MB / 1.074 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.6793, allocations: 0.7031 kB / 1.074 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6793, allocations: 2.516 kB / 1.074 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.686e-05/0.6794, allocations: 0 / 1.074 GB, free: 29.98 MB / 0.6823 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.005263/0.6847, allocations: 2.083 MB / 1.076 GB, free: 28.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.6848, allocations: 13 kB / 1.076 GB, free: 28.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005968/0.6907, allocations: 0.7555 MB / 1.076 GB, free: 28.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/0.6942, allocations: 1.654 MB / 1.078 GB, free: 28.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.6944, allocations: 145.3 kB / 1.078 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002674/0.6947, allocations: 139.9 kB / 1.078 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004864/0.6996, allocations: 1.83 MB / 1.08 GB, free: 28.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.6996, allocations: 1.312 kB / 1.08 GB, free: 28.01 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.6998, allocations: 56.53 kB / 1.08 GB, free: 28.01 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.6999, allocations: 48.16 kB / 1.08 GB, free: 28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005268/0.7051, allocations: 1.613 MB / 1.082 GB, free: 27.97 MB / 0.6823 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.01157/0.7167, allocations: 7.587 MB / 1.089 GB, free: 24.63 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.7192, allocations: 0.8932 MB / 1.09 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.721, allocations: 0.5508 MB / 1.091 GB, free: 24.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.7221, allocations: 1.275 MB / 1.092 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.7222, allocations: 44.67 kB / 1.092 GB, free: 23.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=81): time 5.39e-06/0.7222, allocations: 4 kB / 1.092 GB, free: 23.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81): time 0.0181/0.7403, allocations: 2.829 MB / 1.095 GB, free: 22.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.7404, allocations: 190.3 kB / 1.095 GB, free: 22.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00287/0.7433, allocations: 1.416 MB / 1.096 GB, free: 22.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002945/0.7436, allocations: 54.5 kB / 1.096 GB, free: 22.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000695/0.7443, allocations: 0.7534 MB / 1.097 GB, free: 22.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/0.7447, allocations: 281.2 kB / 1.097 GB, free: 21.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.7448, allocations: 23.88 kB / 1.097 GB, free: 21.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7449, allocations: 349.2 kB / 1.098 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.747, allocations: 0.5478 MB / 1.098 GB, free: 21.63 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/0.7492, allocations: 0.8659 MB / 1.099 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/0.7528, allocations: 1.234 MB / 1.1 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.7528, allocations: 1.469 kB / 1.1 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005263/0.7581, allocations: 1.682 MB / 1.102 GB, free: 20.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.7583, allocations: 286 kB / 1.102 GB, free: 20.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.7583, allocations: 10.25 kB / 1.102 GB, free: 20.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.76, allocations: 496.9 kB / 1.103 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.7615, allocations: 278.8 kB / 1.103 GB, free: 20.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.763, allocations: 0.9998 MB / 1.104 GB, free: 19.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/0.7659, allocations: 307.9 kB / 1.104 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.7661, allocations: 61.66 kB / 1.104 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.7661, allocations: 5.5 kB / 1.104 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004724/0.7708, allocations: 1.527 MB / 1.106 GB, free: 19.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.7708, allocations: 3.188 kB / 1.106 GB, free: 19.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.7724, allocations: 495.8 kB / 1.106 GB, free: 19.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.7738, allocations: 275.2 kB / 1.106 GB, free: 19.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.7752, allocations: 1 MB / 1.107 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.7779, allocations: 275.1 kB / 1.108 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.778, allocations: 63.11 kB / 1.108 GB, free: 19.2 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 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001025/0.7791, allocations: 485.8 kB / 1.108 GB, free: 19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/0.7794, allocations: 153.5 kB / 1.108 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005885/0.7853, allocations: 1.521 MB / 1.11 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005133/0.7905, allocations: 1.315 MB / 1.111 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.7905, allocations: 8.219 kB / 1.111 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.7918, allocations: 410.4 kB / 1.111 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/0.7921, allocations: 20.39 kB / 1.111 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/0.7939, allocations: 183.9 kB / 1.112 GB, free: 18.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.7941, allocations: 74.69 kB / 1.112 GB, free: 18.41 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006778/0.8009, allocations: 1.603 MB / 1.113 GB, free: 18.23 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005619/0.8065, allocations: 1.943 MB / 1.115 GB, free: 17.9 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001685/0.8082, allocations: 0.4967 MB / 1.116 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002063/0.8103, allocations: 0.985 MB / 1.117 GB, free: 17.78 MB / 0.6823 GB Notification: Performance of Backend: time 3.01e-07/0.8103, allocations: 1.719 kB / 1.117 GB, free: 17.78 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007728/0.818, allocations: 2.256 MB / 1.119 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of SimCode: time 0.006723/0.8248, allocations: 4.214 MB / 1.123 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of Templates: time 0.06203/0.8869, allocations: 43.79 MB / 1.166 GB, free: 440 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)