Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008462/0.0008464, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.006044/0.006044, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003737, allocations: 11.16 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4003, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.07006/0.4704, allocations: 68.29 MB / 1.141 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02425/0.4948, allocations: 14.36 MB / 1.155 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/0.4985, allocations: 63.56 kB / 1.155 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003487/0.502, allocations: 0.7653 MB / 1.156 GB, free: 3.785 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009647/0.5117, allocations: 2.372 MB / 1.158 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006795/0.5185, allocations: 1.853 MB / 1.16 GB, free: 15.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01077/0.5293, allocations: 6.111 MB / 1.166 GB, free: 9.445 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004141/0.5335, allocations: 1.547 MB / 1.167 GB, free: 7.848 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004671/0.5382, allocations: 1.489 MB / 1.169 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003193/0.5414, allocations: 1.256 MB / 1.17 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008138/0.5423, allocations: 72 kB / 1.17 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005741/0.548, allocations: 1.755 MB / 1.172 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009873/0.549, allocations: 358.3 kB / 1.172 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.5517, allocations: 0.9655 MB / 1.173 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008416/0.5602, allocations: 3.641 MB / 1.177 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5602, allocations: 0 / 1.177 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.681e-06/0.5602, allocations: 0 / 1.177 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001289/0.5603, allocations: 3.938 kB / 1.177 GB, free: 14.28 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.005311/0.5657, allocations: 2.082 MB / 1.179 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5657, allocations: 8.031 kB / 1.179 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006044/0.5718, allocations: 0.7556 MB / 1.179 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/0.5755, allocations: 1.673 MB / 1.181 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.5757, allocations: 148.3 kB / 1.181 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004555/0.5762, allocations: 136 kB / 1.181 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005386/0.5816, allocations: 1.844 MB / 1.183 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.5817, allocations: 0 / 1.183 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/0.5819, allocations: 63.92 kB / 1.183 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-05/0.582, allocations: 40 kB / 1.183 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005442/0.5874, allocations: 1.622 MB / 1.185 GB, free: 5.68 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.01355/0.601, allocations: 7.587 MB / 1.192 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.6036, allocations: 0.8892 MB / 1.193 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.6054, allocations: 0.5543 MB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.6068, allocations: 1.282 MB / 1.195 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.6068, allocations: 43.22 kB / 1.195 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=81): time 2.695e-06/0.6068, allocations: 0 / 1.195 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.01867/0.6255, allocations: 2.835 MB / 1.198 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.6257, allocations: 188.6 kB / 1.198 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/0.6286, allocations: 1.433 MB / 1.199 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.6289, allocations: 57.69 kB / 1.199 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008055/0.6297, allocations: 0.747 MB / 1.2 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/0.6301, allocations: 283.9 kB / 1.2 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.6304, allocations: 97.66 kB / 1.2 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6305, allocations: 345.9 kB / 1.201 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/0.6327, allocations: 0.5583 MB / 1.201 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.6352, allocations: 0.8681 MB / 1.202 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003988/0.6392, allocations: 1.245 MB / 1.203 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.6392, allocations: 8 kB / 1.203 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01359/0.6528, allocations: 2.264 MB / 1.205 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002749/0.6531, allocations: 291.6 kB / 1.206 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.6531, allocations: 8 kB / 1.206 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/0.6551, allocations: 485.2 kB / 1.206 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.6569, allocations: 283.5 kB / 1.207 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.6587, allocations: 0.9973 MB / 1.207 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/0.6617, allocations: 298.5 kB / 1.208 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.662, allocations: 67.94 kB / 1.208 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.662, allocations: 1.562 kB / 1.208 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01328/0.6753, allocations: 2.096 MB / 1.21 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.6754, allocations: 7.984 kB / 1.21 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/0.6772, allocations: 495.9 kB / 1.21 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.6789, allocations: 271.6 kB / 1.211 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.6807, allocations: 1.002 MB / 1.212 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.6835, allocations: 270.7 kB / 1.212 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/0.6837, allocations: 59.94 kB / 1.212 GB, free: 8.691 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.00124/0.685, allocations: 484.8 kB / 1.212 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005647/0.6856, allocations: 158.1 kB / 1.213 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006726/0.6923, allocations: 1.529 MB / 1.214 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.6923, allocations: 11.98 kB / 1.214 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.6924, allocations: 4 kB / 1.214 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005699/0.6981, allocations: 1.311 MB / 1.215 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/0.7151, allocations: 3.853 MB / 1.219 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.7152, allocations: 8 kB / 1.219 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.7164, allocations: 187.8 kB / 1.219 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.7182, allocations: 478.4 kB / 1.22 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.7183, allocations: 31.97 kB / 1.22 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.7201, allocations: 0.9992 MB / 1.221 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.7201, allocations: 4 kB / 1.221 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008344/0.7285, allocations: 2.199 MB / 1.223 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.7298, allocations: 418.8 kB / 1.223 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005017/0.7303, allocations: 24 kB / 1.223 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002416/0.7327, allocations: 192.5 kB / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.7329, allocations: 84.33 kB / 1.224 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.7331, allocations: 55.88 kB / 1.224 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002131/0.7352, allocations: 1.027 MB / 1.225 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3e-07/0.7352, allocations: 0 / 1.225 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003465/0.7387, allocations: 0.9511 MB / 1.226 GB, free: 10.43 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.001641/0.7404, allocations: 0.5447 MB / 1.226 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007232/0.7476, allocations: 2.02 MB / 1.228 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.7476, allocations: 4 kB / 1.228 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002113/0.7498, allocations: 0.6397 MB / 1.229 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005288/0.7551, allocations: 0.8214 MB / 1.229 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/0.7621, allocations: 3.592 MB / 1.233 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.7632, allocations: 1.27 MB / 1.234 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002138/0.7653, allocations: 387.4 kB / 1.235 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004757/0.7658, allocations: 151.3 kB / 1.235 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of SimCode: time 1.032e-06/0.7658, allocations: 0 / 1.235 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of Templates: time 0.6299/1.396, allocations: 39.82 MB / 1.274 GB, free: 167 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)