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.008284/0.008284, allocations: 100.9 kB / 15.73 MB, free: 5.586 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.001706/0.001706, allocations: 189.4 kB / 16.67 MB, free: 5.523 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.417/1.417, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.462/1.462, allocations: 251.7 MB / 0.5094 GB, free: 428 kB / 430.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.001722/0.001722, allocations: 71.89 kB / 0.7258 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5428/0.5445, allocations: 104.7 MB / 0.8281 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.004667/0.5492, allocations: 2.359 MB / 0.8304 GB, free: 240 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003259/0.5525, allocations: 1.876 MB / 0.8322 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.5528, allocations: 4 kB / 0.8322 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008835/0.5537, allocations: 222.3 kB / 0.8324 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.554, allocations: 67.42 kB / 0.8325 GB, free: 14.06 MB / 0.6387 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.001227/0.5553, allocations: 419.3 kB / 0.8329 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006032/0.5559, allocations: 402.8 kB / 0.8333 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.556, allocations: 48.38 kB / 0.8333 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.5563, allocations: 155.5 kB / 0.8335 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.5565, allocations: 155.4 kB / 0.8336 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.139e-05/0.5566, allocations: 28 kB / 0.8336 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.5571, allocations: 239.7 kB / 0.8339 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.5573, allocations: 119.7 kB / 0.834 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.5575, allocations: 159.2 kB / 0.8341 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007609/0.5582, allocations: 0.6059 MB / 0.8347 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5582, allocations: 4 kB / 0.8347 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5582, allocations: 0 / 0.8347 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5583, allocations: 4 kB / 0.8347 GB, free: 11.77 MB / 0.6387 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.001211/0.5595, allocations: 0.7022 MB / 0.8354 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5595, allocations: 12.03 kB / 0.8354 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.5613, allocations: 164.3 kB / 0.8356 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.562, allocations: 362.3 kB / 0.8359 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.5622, allocations: 75.94 kB / 0.836 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.5622, allocations: 16.36 kB / 0.836 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.5633, allocations: 441.4 kB / 0.8365 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5634, allocations: 0 / 0.8365 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.5634, allocations: 4 kB / 0.8365 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.5634, allocations: 8 kB / 0.8365 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.565, allocations: 0.5815 MB / 0.837 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.5669, allocations: 1.043 MB / 0.838 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/0.5719, allocations: 0.8493 MB / 0.8389 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000792/0.5727, allocations: 312.6 kB / 0.8392 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.5727, allocations: 0 / 0.8392 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.5738, allocations: 446 kB / 0.8396 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 2.365e-06/0.5738, allocations: 0 / 0.8396 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.00259/0.5764, allocations: 0.9186 MB / 0.8405 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.5765, allocations: 59.39 kB / 0.8406 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.577, allocations: 429.6 kB / 0.841 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.5771, allocations: 41.69 kB / 0.841 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.5772, allocations: 164.1 kB / 0.8412 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.5773, allocations: 47.36 kB / 0.8412 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.5774, allocations: 53.67 kB / 0.8413 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.5776, allocations: 354.7 kB / 0.8416 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008769/0.5785, allocations: 380.6 kB / 0.842 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008406/0.5793, allocations: 375.2 kB / 0.8423 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.5808, allocations: 0.6035 MB / 0.8429 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5809, allocations: 3.938 kB / 0.8429 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001972/0.5828, allocations: 0.9124 MB / 0.8438 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.5829, allocations: 37.69 kB / 0.8438 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5829, allocations: 4 kB / 0.8438 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.5829, allocations: 0 / 0.8438 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.5834, allocations: 71.91 kB / 0.8439 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5834, allocations: 0 / 0.8439 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.5838, allocations: 31.95 kB / 0.8439 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.5839, allocations: 19.92 kB / 0.844 GB, free: 2.062 MB / 0.6387 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.000251/0.5842, allocations: 193.7 kB / 0.8441 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/0.5843, allocations: 35.53 kB / 0.8442 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.254e-05/0.5843, allocations: 39.47 kB / 0.8442 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.5843, allocations: 0 / 0.8442 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5843, allocations: 0 / 0.8442 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5844, allocations: 0 / 0.8442 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.5849, allocations: 0.5443 MB / 0.8447 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5849, allocations: 0 / 0.8447 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.5854, allocations: 71.92 kB / 0.8448 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5854, allocations: 0 / 0.8448 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.5854, allocations: 11.92 kB / 0.8448 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5854, allocations: 0 / 0.8448 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5854, allocations: 4 kB / 0.8448 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.5871, allocations: 0.6564 MB / 0.8455 GB, free: 440 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.5874, allocations: 164.6 kB / 0.8456 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.5874, allocations: 15.98 kB / 0.8456 GB, free: 240 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.5879, allocations: 43.94 kB / 0.8457 GB, free: 196 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.588, allocations: 19.97 kB / 0.8457 GB, free: 176 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.588, allocations: 7.984 kB / 0.8457 GB, free: 168 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003292/0.5883, allocations: 335.1 kB / 0.846 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5883, allocations: 0 / 0.846 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003821/0.5887, allocations: 80 kB / 0.8461 GB, free: 15.76 MB / 0.6544 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.0004428/0.5892, allocations: 158.3 kB / 0.8463 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.591, allocations: 0.7606 MB / 0.847 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5911, allocations: 4 kB / 0.847 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008165/0.5919, allocations: 323.7 kB / 0.8473 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.5923, allocations: 76.36 kB / 0.8474 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.594, allocations: 0.8302 MB / 0.8482 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.5944, allocations: 0.8142 MB / 0.849 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003356/0.5947, allocations: 102.2 kB / 0.8491 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.5948, allocations: 31.41 kB / 0.8491 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.5948, allocations: 0 / 0.8491 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.012/0.6069, allocations: 7.188 MB / 0.8561 GB, free: 5.539 MB / 0.6544 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)