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.335/1.335, allocations: 252 MB / 268 MB, free: 10.86 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.0009895/0.0009894, allocations: 175.3 kB / 327.6 MB, free: 2.094 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.643/1.643, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007978/0.0007981, allocations: 82.44 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 14.53 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1949, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.05197/0.2469, allocations: 68.27 MB / 0.9681 GB, free: 11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02049/0.2675, allocations: 14.52 MB / 0.9823 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.2705, allocations: 63.56 kB / 0.9824 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002946/0.2734, allocations: 0.7614 MB / 0.9831 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007592/0.2811, allocations: 2.334 MB / 0.9854 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005608/0.2867, allocations: 1.883 MB / 0.9872 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008296/0.295, allocations: 6.058 MB / 0.9931 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003587/0.2986, allocations: 1.527 MB / 0.9946 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.3025, allocations: 1.497 MB / 0.9961 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.3048, allocations: 1.252 MB / 0.9973 GB, free: 13 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0005052/0.3053, allocations: 72 kB / 0.9974 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004379/0.3097, allocations: 1.836 MB / 0.9992 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0006019/0.3103, allocations: 354.3 kB / 0.9995 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001573/0.3119, allocations: 0.9655 MB / 1 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003911/0.3158, allocations: 2.935 MB / 1.003 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3159, allocations: 0 / 1.003 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3159, allocations: 0 / 1.003 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.255e-05/0.316, allocations: 4 kB / 1.003 GB, free: 6.816 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.004069/0.3201, allocations: 2.114 MB / 1.005 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3201, allocations: 12.03 kB / 1.005 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005201/0.3253, allocations: 0.7556 MB / 1.006 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.3282, allocations: 1.657 MB / 1.008 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.3284, allocations: 144.3 kB / 1.008 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.3286, allocations: 136 kB / 1.008 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003986/0.3326, allocations: 1.835 MB / 1.01 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.3326, allocations: 0 / 1.01 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.3328, allocations: 60 kB / 1.01 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/0.3328, allocations: 39.94 kB / 1.01 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004789/0.3376, allocations: 1.622 MB / 1.011 GB, free: 14.22 MB / 0.6667 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.01143/0.3491, allocations: 7.567 MB / 1.019 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/0.3515, allocations: 0.8892 MB / 1.02 GB, free: 5.398 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.3533, allocations: 0.5571 MB / 1.02 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/0.3547, allocations: 1.271 MB / 1.022 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.3548, allocations: 55.22 kB / 1.022 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=81): time 3.787e-06/0.3548, allocations: 0 / 1.022 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81): time 0.01703/0.3718, allocations: 2.831 MB / 1.024 GB, free: 372 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.372, allocations: 188.6 kB / 1.025 GB, free: 140 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.3742, allocations: 1.433 MB / 1.026 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.3744, allocations: 49.7 kB / 1.026 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006392/0.3751, allocations: 0.7509 MB / 1.027 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.3754, allocations: 288 kB / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.3754, allocations: 20 kB / 1.027 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3756, allocations: 349.9 kB / 1.027 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.3775, allocations: 0.5569 MB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.3797, allocations: 0.871 MB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00365/0.3834, allocations: 1.246 MB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.3834, allocations: 0 / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005115/0.3885, allocations: 1.699 MB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.3887, allocations: 287.5 kB / 1.032 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3887, allocations: 11.94 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/0.3904, allocations: 475.2 kB / 1.032 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.3918, allocations: 279.5 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.3933, allocations: 0.9962 MB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/0.3958, allocations: 310.5 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.3959, allocations: 59.94 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.3959, allocations: 7.938 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004687/0.4006, allocations: 1.527 MB / 1.035 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4007, allocations: 8.062 kB / 1.035 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/0.4022, allocations: 483.2 kB / 1.036 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.4036, allocations: 275.6 kB / 1.036 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.4052, allocations: 0.9973 MB / 1.037 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.4074, allocations: 275.4 kB / 1.037 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.4075, allocations: 63.95 kB / 1.037 GB, free: 2.5 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 (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.0008709/0.4084, allocations: 478.9 kB / 1.038 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.4086, allocations: 154.1 kB / 1.038 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005717/0.4144, allocations: 1.529 MB / 1.04 GB, free: 328 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.4144, allocations: 11.98 kB / 1.04 GB, free: 316 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4144, allocations: 0 / 1.04 GB, free: 316 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005161/0.4196, allocations: 1.315 MB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.4342, allocations: 3.841 MB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/0.4343, allocations: 4 kB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.4354, allocations: 183.8 kB / 1.045 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.4371, allocations: 468.9 kB / 1.045 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.4373, allocations: 27.97 kB / 1.045 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.4388, allocations: 1.004 MB / 1.046 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4389, allocations: 4 kB / 1.046 GB, free: 9.297 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007518/0.4464, allocations: 2.195 MB / 1.048 GB, free: 7.027 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.4474, allocations: 410.8 kB / 1.049 GB, free: 6.605 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/0.4477, allocations: 20 kB / 1.049 GB, free: 6.586 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/0.4495, allocations: 198.2 kB / 1.049 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.4497, allocations: 76.39 kB / 1.049 GB, free: 6.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.811e-05/0.4498, allocations: 47.95 kB / 1.049 GB, free: 6.273 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001634/0.4515, allocations: 1.019 MB / 1.05 GB, free: 5.258 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4515, allocations: 3.938 kB / 1.05 GB, free: 5.254 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002599/0.4541, allocations: 1.002 MB / 1.051 GB, free: 4.25 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.001349/0.4554, allocations: 0.5994 MB / 1.052 GB, free: 3.656 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006695/0.4621, allocations: 2.028 MB / 1.054 GB, free: 1.629 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.4622, allocations: 4 kB / 1.054 GB, free: 1.625 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002053/0.4643, allocations: 0.6358 MB / 1.054 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00494/0.4692, allocations: 0.818 MB / 1.055 GB, free: 192 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3613/0.8306, allocations: 3.634 MB / 1.059 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.8313, allocations: 1.263 MB / 1.06 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/0.832, allocations: 161.4 kB / 1.06 GB, free: 142.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/0.832, allocations: 0 / 1.06 GB, free: 142.8 MB / 0.698 GB Notification: Performance of Templates: time 0.05645/0.8885, allocations: 38.79 MB / 1.098 GB, free: 124.3 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)