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.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001464/0.001464, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.454/1.454, allocations: 205.1 MB / 222.1 MB, free: 4.906 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.543/1.543, allocations: 251.6 MB / 0.5089 GB, free: 3.305 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.001393/0.001392, allocations: 67.91 kB / 0.6218 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/0.5396, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.004008/0.5436, allocations: 2.406 MB / 0.7264 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0027/0.5463, allocations: 1.855 MB / 0.7282 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.5465, allocations: 0 / 0.7282 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.5472, allocations: 208.9 kB / 0.7284 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.5473, allocations: 51.55 kB / 0.7284 GB, free: 8.57 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.0008776/0.5482, allocations: 399 kB / 0.7288 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.5486, allocations: 402.8 kB / 0.7292 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.5487, allocations: 48.31 kB / 0.7292 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.5488, allocations: 151.5 kB / 0.7294 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.549, allocations: 163.4 kB / 0.7295 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.5491, allocations: 32 kB / 0.7296 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.5494, allocations: 243.7 kB / 0.7298 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.5495, allocations: 119.7 kB / 0.7299 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.5497, allocations: 163.2 kB / 0.7301 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.5502, allocations: 0.596 MB / 0.7306 GB, free: 6.293 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5502, allocations: 0 / 0.7306 GB, free: 6.293 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5502, allocations: 3.938 kB / 0.7306 GB, free: 6.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.5502, allocations: 3.984 kB / 0.7307 GB, free: 6.285 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001035/0.5513, allocations: 0.7101 MB / 0.7313 GB, free: 5.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5513, allocations: 8.031 kB / 0.7314 GB, free: 5.512 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.5529, allocations: 164.2 kB / 0.7315 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.5533, allocations: 366.3 kB / 0.7319 GB, free: 4.953 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.24e-05/0.5534, allocations: 75.94 kB / 0.7319 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.5535, allocations: 12.38 kB / 0.7319 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009257/0.5544, allocations: 445.3 kB / 0.7324 GB, free: 4.414 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.5544, allocations: 0 / 0.7324 GB, free: 4.414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.5545, allocations: 4 kB / 0.7324 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5545, allocations: 4 kB / 0.7324 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.5559, allocations: 0.5816 MB / 0.7329 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.5575, allocations: 1.039 MB / 0.734 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004565/0.562, allocations: 0.8572 MB / 0.7348 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006597/0.5627, allocations: 308.6 kB / 0.7351 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.5628, allocations: 0 / 0.7351 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009032/0.5637, allocations: 443 kB / 0.7355 GB, free: 1.117 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.5637, allocations: 0 / 0.7355 GB, free: 1.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002166/0.5658, allocations: 0.9256 MB / 0.7364 GB, free: 192 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.5659, allocations: 51.41 kB / 0.7365 GB, free: 128 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.5663, allocations: 437.5 kB / 0.7369 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.5664, allocations: 33.7 kB / 0.7369 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.5665, allocations: 164.1 kB / 0.7371 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/0.5665, allocations: 51.36 kB / 0.7371 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.5667, allocations: 57.66 kB / 0.7372 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5668, allocations: 350.7 kB / 0.7375 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007805/0.5676, allocations: 380.6 kB / 0.7379 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007471/0.5683, allocations: 377.5 kB / 0.7382 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.5697, allocations: 0.6055 MB / 0.7388 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5697, allocations: 0 / 0.7388 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00175/0.5714, allocations: 0.9124 MB / 0.7397 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.5715, allocations: 41.69 kB / 0.7398 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.5715, allocations: 0 / 0.7398 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.5715, allocations: 0 / 0.7398 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.572, allocations: 71.91 kB / 0.7398 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.572, allocations: 0 / 0.7398 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.5723, allocations: 35.89 kB / 0.7399 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.5724, allocations: 19.92 kB / 0.7399 GB, free: 12.57 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 (17): * Single equations (assignments): 16 * 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.0001974/0.5726, allocations: 189.7 kB / 0.7401 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.5727, allocations: 39.53 kB / 0.7401 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.5727, allocations: 39.47 kB / 0.7401 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.5727, allocations: 0 / 0.7401 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5728, allocations: 0 / 0.7401 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5728, allocations: 4 kB / 0.7401 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.5732, allocations: 0.5439 MB / 0.7407 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5733, allocations: 3.938 kB / 0.7407 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.5737, allocations: 63.92 kB / 0.7407 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.5737, allocations: 4 kB / 0.7407 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.5737, allocations: 3.984 kB / 0.7407 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5737, allocations: 4 kB / 0.7407 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5737, allocations: 3.938 kB / 0.7407 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.5752, allocations: 0.6564 MB / 0.7414 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.5754, allocations: 164.6 kB / 0.7415 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.5755, allocations: 11.98 kB / 0.7416 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.5759, allocations: 47.94 kB / 0.7416 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.576, allocations: 19.92 kB / 0.7416 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.576, allocations: 7.984 kB / 0.7416 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002859/0.5763, allocations: 327 kB / 0.7419 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5763, allocations: 0 / 0.7419 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003332/0.5767, allocations: 88.23 kB / 0.742 GB, free: 10.27 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 (16): * Single equations (assignments): 14 * 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.0003433/0.577, allocations: 154 kB / 0.7422 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.5786, allocations: 0.78 MB / 0.7429 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5786, allocations: 0 / 0.7429 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007484/0.5794, allocations: 327.7 kB / 0.7432 GB, free: 9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.5798, allocations: 75.69 kB / 0.7433 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.5813, allocations: 0.8817 MB / 0.7442 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.5816, allocations: 0.8104 MB / 0.745 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003945/0.582, allocations: 102.2 kB / 0.7451 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.5821, allocations: 35.41 kB / 0.7451 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5822, allocations: 0 / 0.7451 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of Templates: time 0.01033/0.5925, allocations: 6.977 MB / 0.7519 GB, free: 196 kB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)