Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001312/0.001312, allocations: 196.6 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.548/1.548, allocations: 251.6 MB / 0.5088 GB, free: 3.406 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.91 kB / 0.6216 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/0.5298, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00414/0.534, allocations: 2.951 MB / 0.7267 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002949/0.537, allocations: 2.241 MB / 0.7289 GB, free: 7.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.5372, allocations: 4 kB / 0.7289 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007863/0.5379, allocations: 260.7 kB / 0.7291 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.5381, allocations: 63.42 kB / 0.7292 GB, free: 7.652 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.5393, allocations: 442.4 kB / 0.7296 GB, free: 7.227 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005543/0.5398, allocations: 490.6 kB / 0.7301 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.54, allocations: 52.72 kB / 0.7301 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.5402, allocations: 183.4 kB / 0.7303 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.5404, allocations: 203.3 kB / 0.7305 GB, free: 6.316 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.5405, allocations: 24 kB / 0.7305 GB, free: 6.293 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.5409, allocations: 231.7 kB / 0.7308 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.5411, allocations: 159.6 kB / 0.7309 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.5413, allocations: 206.9 kB / 0.7311 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000778/0.5421, allocations: 0.7361 MB / 0.7318 GB, free: 4.969 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.5421, allocations: 0 / 0.7318 GB, free: 4.969 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5421, allocations: 3.938 kB / 0.7318 GB, free: 4.965 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.5421, allocations: 4 kB / 0.7318 GB, free: 4.961 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001488/0.5436, allocations: 0.8322 MB / 0.7326 GB, free: 4.066 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5437, allocations: 8.031 kB / 0.7326 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.5459, allocations: 232.2 kB / 0.7329 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.5464, allocations: 425.9 kB / 0.7333 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.5465, allocations: 83.88 kB / 0.7334 GB, free: 3.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.5466, allocations: 12.38 kB / 0.7334 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.5478, allocations: 0.5325 MB / 0.7339 GB, free: 2.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5478, allocations: 0 / 0.7339 GB, free: 2.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.5479, allocations: 4 kB / 0.7339 GB, free: 2.727 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5479, allocations: 4 kB / 0.7339 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.5499, allocations: 0.7728 MB / 0.7346 GB, free: 1.949 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.5522, allocations: 1.273 MB / 0.7359 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005432/0.5577, allocations: 1.01 MB / 0.7369 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009619/0.5587, allocations: 404.6 kB / 0.7373 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.5587, allocations: 7.984 kB / 0.7373 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.5599, allocations: 0.5301 MB / 0.7378 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 2.715e-06/0.5599, allocations: 0 / 0.7378 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.003274/0.5632, allocations: 1.185 MB / 0.7389 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.5633, allocations: 51.41 kB / 0.739 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000698/0.564, allocations: 0.5175 MB / 0.7395 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/0.5641, allocations: 33.7 kB / 0.7395 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.5643, allocations: 200.5 kB / 0.7397 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.281e-05/0.5644, allocations: 67 kB / 0.7398 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.5646, allocations: 65.66 kB / 0.7398 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5648, allocations: 358.8 kB / 0.7402 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.5658, allocations: 468.5 kB / 0.7406 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.5669, allocations: 0.4965 MB / 0.7411 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.5688, allocations: 0.7587 MB / 0.7419 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5688, allocations: 0 / 0.7419 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002338/0.5712, allocations: 1.084 MB / 0.7429 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.5713, allocations: 41.69 kB / 0.743 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5713, allocations: 0 / 0.743 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.5713, allocations: 3.938 kB / 0.743 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.572, allocations: 103.8 kB / 0.7431 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.572, allocations: 3.938 kB / 0.7431 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.5725, allocations: 63.78 kB / 0.7431 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.5726, allocations: 15.98 kB / 0.7431 GB, free: 9.082 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003527/0.5729, allocations: 210.6 kB / 0.7433 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.424e-05/0.573, allocations: 47.42 kB / 0.7434 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.5731, allocations: 59.86 kB / 0.7434 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5731, allocations: 4 kB / 0.7435 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.5731, allocations: 0 / 0.7435 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5732, allocations: 0 / 0.7435 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006851/0.5738, allocations: 0.6455 MB / 0.7441 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5739, allocations: 3.984 kB / 0.7441 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005893/0.5745, allocations: 87.89 kB / 0.7442 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5745, allocations: 0 / 0.7442 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.5745, allocations: 15.92 kB / 0.7442 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.5745, allocations: 4 kB / 0.7442 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5745, allocations: 0 / 0.7442 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.5766, allocations: 0.8346 MB / 0.745 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.5769, allocations: 184.5 kB / 0.7452 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-05/0.5769, allocations: 11.94 kB / 0.7452 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/0.5775, allocations: 67.86 kB / 0.7453 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.5776, allocations: 23.95 kB / 0.7453 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.5777, allocations: 19.98 kB / 0.7453 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004392/0.5781, allocations: 383.1 kB / 0.7457 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5781, allocations: 4 kB / 0.7457 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000433/0.5786, allocations: 103.9 kB / 0.7458 GB, free: 6.297 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004596/0.579, allocations: 157.2 kB / 0.7459 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.5812, allocations: 0.9362 MB / 0.7468 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5812, allocations: 0 / 0.7468 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.5822, allocations: 426 kB / 0.7472 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.5828, allocations: 97.77 kB / 0.7473 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.5851, allocations: 1.135 MB / 0.7484 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.5855, allocations: 0.8544 MB / 0.7493 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005444/0.5861, allocations: 134.9 kB / 0.7494 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.5862, allocations: 39.41 kB / 0.7494 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.5863, allocations: 0 / 0.7494 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of Templates: time 0.01483/0.6011, allocations: 8.296 MB / 0.7575 GB, free: 10.3 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)