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 2.526/2.526, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001647/0.001647, allocations: 169.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001217/0.001217, allocations: 97.66 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004775, allocations: 12.17 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2065, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.09094/0.2975, allocations: 58.56 MB / 1.035 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02728/0.3249, allocations: 12.01 MB / 1.047 GB, free: 5.648 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.3276, allocations: 55.62 kB / 1.047 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003984/0.3316, allocations: 0.8006 MB / 1.048 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0096/0.3413, allocations: 2.168 MB / 1.05 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.008881/0.3502, allocations: 1.915 MB / 1.052 GB, free: 0.7344 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00711/0.3573, allocations: 2.753 MB / 1.055 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003186/0.3606, allocations: 1.314 MB / 1.056 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004565/0.3652, allocations: 1.308 MB / 1.057 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.3678, allocations: 0.8787 MB / 1.058 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005301/0.3684, allocations: 79.94 kB / 1.058 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005144/0.3735, allocations: 1.182 MB / 1.059 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008681/0.3744, allocations: 330.7 kB / 1.06 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009681/0.3754, allocations: 428.7 kB / 1.06 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006097/0.3815, allocations: 2.681 MB / 1.063 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3816, allocations: 0 / 1.063 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3816, allocations: 0 / 1.063 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.856e-05/0.3817, allocations: 0 / 1.063 GB, free: 5.746 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.006521/0.3882, allocations: 2.066 MB / 1.065 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3883, allocations: 8.031 kB / 1.065 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.3992, allocations: 0.7547 MB / 1.065 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004977/0.4042, allocations: 1.534 MB / 1.067 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.4046, allocations: 152.3 kB / 1.067 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005826/0.4052, allocations: 139.9 kB / 1.067 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7342/1.139, allocations: 1.809 MB / 1.069 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.731e-05/1.14, allocations: 2.281 kB / 1.069 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004333/1.14, allocations: 57.62 kB / 1.069 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/1.14, allocations: 42.97 kB / 1.069 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/1.154, allocations: 1.611 MB / 1.071 GB, free: 88.5 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.02619/1.18, allocations: 7.62 MB / 1.078 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006496/1.187, allocations: 0.8894 MB / 1.079 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002306/1.189, allocations: 1.273 MB / 1.08 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.427e-05/1.189, allocations: 45.88 kB / 1.08 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=81): time 5.28e-06/1.189, allocations: 0 / 1.08 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81): time 0.03398/1.223, allocations: 2.81 MB / 1.083 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/1.223, allocations: 200.8 kB / 1.083 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003863/1.227, allocations: 1.465 MB / 1.085 GB, free: 80.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003493/1.227, allocations: 51.17 kB / 1.085 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008904/1.228, allocations: 0.75 MB / 1.085 GB, free: 79.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004915/1.229, allocations: 279.5 kB / 1.086 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/1.229, allocations: 23.56 kB / 1.086 GB, free: 79.37 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.229, allocations: 346.8 kB / 1.086 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004062/1.233, allocations: 0.5525 MB / 1.086 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004357/1.238, allocations: 0.864 MB / 1.087 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004108/1.242, allocations: 0.5959 MB / 1.088 GB, free: 78.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/1.242, allocations: 6.031 kB / 1.088 GB, free: 78.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01068/1.252, allocations: 1.692 MB / 1.09 GB, free: 77.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005353/1.253, allocations: 2.592 MB / 1.092 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/1.253, allocations: 6.812 kB / 1.092 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/1.256, allocations: 496.8 kB / 1.093 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/1.259, allocations: 281 kB / 1.093 GB, free: 74.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/1.262, allocations: 0.9991 MB / 1.094 GB, free: 73.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004989/1.267, allocations: 312.9 kB / 1.094 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/1.267, allocations: 59.16 kB / 1.094 GB, free: 73.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.267, allocations: 3.844 kB / 1.094 GB, free: 73.81 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009416/1.277, allocations: 1.522 MB / 1.096 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/1.277, allocations: 6.781 kB / 1.096 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/1.28, allocations: 493.8 kB / 1.096 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/1.283, allocations: 285.3 kB / 1.096 GB, free: 73.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/1.286, allocations: 0.9991 MB / 1.097 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004517/1.29, allocations: 274.7 kB / 1.098 GB, free: 72.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003435/1.291, allocations: 68.09 kB / 1.098 GB, free: 72.32 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.001401/1.292, allocations: 490.8 kB / 1.098 GB, free: 71.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000591/1.293, allocations: 159.5 kB / 1.098 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/1.304, allocations: 1.536 MB / 1.1 GB, free: 71.31 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/1.304, allocations: 8.047 kB / 1.1 GB, free: 71.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.304, allocations: 1.719 kB / 1.1 GB, free: 71.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01041/1.315, allocations: 1.305 MB / 1.101 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02859/1.343, allocations: 3.871 MB / 1.105 GB, free: 69.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/1.344, allocations: 4.375 kB / 1.105 GB, free: 69.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/1.346, allocations: 172.8 kB / 1.105 GB, free: 69.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002905/1.349, allocations: 484.4 kB / 1.106 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/1.349, allocations: 34.61 kB / 1.106 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002648/1.352, allocations: 0.9915 MB / 1.107 GB, free: 68.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/1.352, allocations: 4.094 kB / 1.107 GB, free: 68.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/1.366, allocations: 2.451 MB / 1.109 GB, free: 66.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.368, allocations: 433.3 kB / 1.109 GB, free: 65.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006042/1.369, allocations: 26.5 kB / 1.109 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004017/1.373, allocations: 180.7 kB / 1.11 GB, free: 65.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/1.373, allocations: 86.52 kB / 1.11 GB, free: 65.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/1.373, allocations: 52.5 kB / 1.11 GB, free: 65.83 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003168/1.376, allocations: 1.042 MB / 1.111 GB, free: 65.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.71e-07/1.376, allocations: 0 / 1.111 GB, free: 65.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005203/1.382, allocations: 0.9618 MB / 1.112 GB, free: 65.07 MB / 0.6823 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 (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 Backend phase and start with SimCode phase: time 0.002039/1.384, allocations: 0.5608 MB / 1.112 GB, free: 64.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.397, allocations: 2.014 MB / 1.114 GB, free: 63.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.648e-05/1.397, allocations: 6.484 kB / 1.114 GB, free: 63.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004024/1.401, allocations: 0.6358 MB / 1.115 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006899/1.408, allocations: 0.7897 MB / 1.116 GB, free: 63.22 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/1.423, allocations: 3.436 MB / 1.119 GB, free: 60.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/1.425, allocations: 1.298 MB / 1.12 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005445/1.43, allocations: 400.9 kB / 1.121 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/1.432, allocations: 151.5 kB / 1.121 GB, free: 59.68 MB / 0.6823 GB Notification: Performance of SimCode: time 2.104e-06/1.432, allocations: 0 / 1.121 GB, free: 59.68 MB / 0.6823 GB Notification: Performance of Templates: time 0.1241/1.556, allocations: 38.74 MB / 1.159 GB, free: 25.12 MB / 0.6823 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)