Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_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.001086/0.001086, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009212/0.009212, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 13.2 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3695, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.0681/0.4377, allocations: 68.29 MB / 1.141 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02192/0.4596, allocations: 14.35 MB / 1.155 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003478/0.4632, allocations: 59.62 kB / 1.155 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003017/0.4662, allocations: 0.7653 MB / 1.156 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008218/0.4745, allocations: 2.372 MB / 1.158 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005558/0.48, allocations: 1.868 MB / 1.16 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008764/0.4888, allocations: 6.096 MB / 1.166 GB, free: 9.492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003453/0.4923, allocations: 1.555 MB / 1.167 GB, free: 7.887 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.4965, allocations: 1.489 MB / 1.169 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/0.4994, allocations: 1.252 MB / 1.17 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007169/0.5002, allocations: 72 kB / 1.17 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005095/0.5053, allocations: 1.747 MB / 1.172 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000852/0.5062, allocations: 358.3 kB / 1.172 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002367/0.5086, allocations: 0.9655 MB / 1.173 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007817/0.5164, allocations: 3.645 MB / 1.177 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5164, allocations: 0 / 1.177 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5165, allocations: 0 / 1.177 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001282/0.5166, allocations: 0 / 1.177 GB, free: 14.33 MB / 0.9356 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.006088/0.5227, allocations: 2.078 MB / 1.179 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.5228, allocations: 12.03 kB / 1.179 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006079/0.5288, allocations: 0.7556 MB / 1.179 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004094/0.533, allocations: 1.677 MB / 1.181 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.5332, allocations: 140.3 kB / 1.181 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000487/0.5337, allocations: 136 kB / 1.181 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006287/0.54, allocations: 1.844 MB / 1.183 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.819e-05/0.5402, allocations: 4 kB / 1.183 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004152/0.5406, allocations: 59.94 kB / 1.183 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.359e-05/0.5407, allocations: 51.91 kB / 1.183 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/0.5467, allocations: 1.614 MB / 1.185 GB, free: 5.73 MB / 0.9356 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.01473/0.5615, allocations: 7.595 MB / 1.192 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.5641, allocations: 0.8892 MB / 1.193 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.566, allocations: 0.5543 MB / 1.194 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.5675, allocations: 1.275 MB / 1.195 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.967e-05/0.5676, allocations: 47.22 kB / 1.195 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=81): time 3.717e-06/0.5676, allocations: 0 / 1.195 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.01842/0.5861, allocations: 2.835 MB / 1.198 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5862, allocations: 188.6 kB / 1.198 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/0.5894, allocations: 1.433 MB / 1.199 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002597/0.5897, allocations: 49.7 kB / 1.199 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008775/0.5906, allocations: 0.7587 MB / 1.2 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004211/0.591, allocations: 276 kB / 1.2 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.5912, allocations: 97.66 kB / 1.2 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5914, allocations: 345.9 kB / 1.201 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.5936, allocations: 0.5621 MB / 1.201 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/0.5961, allocations: 0.8642 MB / 1.202 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004024/0.6001, allocations: 1.249 MB / 1.203 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.6001, allocations: 4 kB / 1.203 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01359/0.6137, allocations: 2.268 MB / 1.205 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.000294/0.6141, allocations: 293.1 kB / 1.206 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.6141, allocations: 8 kB / 1.206 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.6161, allocations: 492.5 kB / 1.206 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.6178, allocations: 279.5 kB / 1.207 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.6197, allocations: 0.9935 MB / 1.207 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/0.6228, allocations: 306.5 kB / 1.208 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/0.623, allocations: 59.94 kB / 1.208 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6231, allocations: 4 kB / 1.208 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01297/0.636, allocations: 2.092 MB / 1.21 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/0.6361, allocations: 8 kB / 1.21 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/0.638, allocations: 498.7 kB / 1.21 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.6397, allocations: 271.6 kB / 1.211 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.6415, allocations: 1.002 MB / 1.212 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/0.6442, allocations: 270.7 kB / 1.212 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/0.6445, allocations: 63.94 kB / 1.212 GB, free: 8.734 MB / 0.9669 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.001284/0.6458, allocations: 476.8 kB / 1.212 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/0.6464, allocations: 154.1 kB / 1.213 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006606/0.653, allocations: 1.537 MB / 1.214 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.6531, allocations: 8 kB / 1.214 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.6531, allocations: 3.938 kB / 1.214 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005684/0.6588, allocations: 1.315 MB / 1.215 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/0.6758, allocations: 3.852 MB / 1.219 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/0.6759, allocations: 4 kB / 1.219 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.677, allocations: 183.8 kB / 1.219 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.6789, allocations: 488.2 kB / 1.22 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.679, allocations: 27.97 kB / 1.22 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.6808, allocations: 0.9992 MB / 1.221 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.6808, allocations: 12.19 kB / 1.221 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008348/0.6892, allocations: 2.191 MB / 1.223 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/0.6904, allocations: 426.8 kB / 1.223 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005391/0.691, allocations: 20 kB / 1.223 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002317/0.6933, allocations: 191 kB / 1.223 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.6935, allocations: 84.33 kB / 1.224 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.6937, allocations: 51.88 kB / 1.224 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002252/0.6959, allocations: 1.023 MB / 1.225 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.7e-07/0.696, allocations: 0 / 1.225 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003791/0.6997, allocations: 0.955 MB / 1.226 GB, free: 10.48 MB / 0.9825 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.001802/0.7016, allocations: 0.5526 MB / 1.226 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007295/0.7089, allocations: 2.028 MB / 1.228 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.7089, allocations: 0.5 kB / 1.228 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002173/0.7111, allocations: 0.6431 MB / 1.229 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006229/0.7173, allocations: 0.8116 MB / 1.229 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008694/0.7261, allocations: 3.593 MB / 1.233 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.7273, allocations: 1.262 MB / 1.234 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002268/0.7296, allocations: 397.7 kB / 1.235 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/0.7301, allocations: 139.3 kB / 1.235 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of SimCode: time 1.303e-06/0.7301, allocations: 0 / 1.235 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of Templates: time 0.6781/1.408, allocations: 39.82 MB / 1.274 GB, free: 166.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)