Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.CoolingCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008476, allocations: 91.77 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.006578/0.006578, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.818/1.818, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6506/0.6506, allocations: 95.63 MB / 366.4 MB, free: 10.24 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006476/0.0006476, allocations: 16 kB / 447.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5305/0.5312, allocations: 70.33 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity): time 0.002499/0.5338, allocations: 1.815 MB / 0.5075 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.5366, allocations: 1.945 MB / 0.5094 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.5368, allocations: 0 / 0.5094 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000936/0.5377, allocations: 216.9 kB / 0.5096 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.5379, allocations: 51.55 kB / 0.5096 GB, free: 12.29 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-43: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.001266/0.5392, allocations: 414.7 kB / 0.51 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.5396, allocations: 370.8 kB / 0.5104 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.5398, allocations: 44.31 kB / 0.5104 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.54, allocations: 131.6 kB / 0.5105 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.5402, allocations: 155.4 kB / 0.5107 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.5402, allocations: 16 kB / 0.5107 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004596/0.5407, allocations: 291.6 kB / 0.511 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.5409, allocations: 111.7 kB / 0.5111 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.5411, allocations: 184.8 kB / 0.5113 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.5417, allocations: 0.5803 MB / 0.5118 GB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.5417, allocations: 0 / 0.5118 GB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5417, allocations: 0 / 0.5118 GB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.5418, allocations: 0 / 0.5118 GB, free: 10.02 MB / 382.1 MB 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.001265/0.543, allocations: 0.6558 MB / 0.5125 GB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.78e-05/0.5431, allocations: 15.97 kB / 0.5125 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000659/0.5438, allocations: 64.44 kB / 0.5125 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.5442, allocations: 345.7 kB / 0.5129 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.644e-05/0.5443, allocations: 49.64 kB / 0.5129 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.5443, allocations: 12 kB / 0.5129 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.5449, allocations: 279.5 kB / 0.5132 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.5449, allocations: 0 / 0.5132 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.545, allocations: 0 / 0.5132 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.545, allocations: 0 / 0.5132 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007885/0.5458, allocations: 327.7 kB / 0.5135 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.5469, allocations: 0.7111 MB / 0.5142 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/0.5476, allocations: 266.4 kB / 0.5145 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.548, allocations: 168.8 kB / 0.5146 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.5481, allocations: 0 / 0.5146 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005942/0.5487, allocations: 291.1 kB / 0.5149 GB, free: 6.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 3.557e-06/0.5487, allocations: 3.984 kB / 0.5149 GB, free: 6.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001225/0.5499, allocations: 0.5498 MB / 0.5154 GB, free: 6.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.5499, allocations: 63.39 kB / 0.5155 GB, free: 6.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003639/0.5503, allocations: 421.6 kB / 0.5159 GB, free: 5.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.5504, allocations: 33.7 kB / 0.5159 GB, free: 5.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.5505, allocations: 179.9 kB / 0.5161 GB, free: 5.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.5505, allocations: 47.36 kB / 0.5161 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.5506, allocations: 21.72 kB / 0.5162 GB, free: 5.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5507, allocations: 346.8 kB / 0.5165 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.5511, allocations: 244.7 kB / 0.5167 GB, free: 4.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.5516, allocations: 235.8 kB / 0.517 GB, free: 4.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007646/0.5523, allocations: 428.2 kB / 0.5174 GB, free: 4.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5524, allocations: 0 / 0.5174 GB, free: 4.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001053/0.5534, allocations: 0.6704 MB / 0.518 GB, free: 3.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.5535, allocations: 45.62 kB / 0.5181 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5535, allocations: 0 / 0.5181 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.5535, allocations: 4 kB / 0.5181 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.5538, allocations: 51.89 kB / 0.5181 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.5538, allocations: 0 / 0.5181 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.554, allocations: 47.75 kB / 0.5182 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.554, allocations: 11.98 kB / 0.5182 GB, free: 3.25 MB / 382.1 MB 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.0002106/0.5543, allocations: 185.8 kB / 0.5184 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.5543, allocations: 35.56 kB / 0.5184 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851e-05/0.5544, allocations: 39.47 kB / 0.5184 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5544, allocations: 8 kB / 0.5184 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5544, allocations: 0 / 0.5184 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5544, allocations: 0 / 0.5184 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.5548, allocations: 397.2 kB / 0.5188 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5548, allocations: 4 kB / 0.5188 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.555, allocations: 51.89 kB / 0.5189 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.555, allocations: 11.94 kB / 0.5189 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.5551, allocations: 3.984 kB / 0.5189 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5551, allocations: 3.984 kB / 0.5189 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5551, allocations: 4 kB / 0.5189 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.5559, allocations: 424.5 kB / 0.5193 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.556, allocations: 120.7 kB / 0.5194 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.556, allocations: 7.938 kB / 0.5194 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.5563, allocations: 47.95 kB / 0.5195 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.5564, allocations: 19.97 kB / 0.5195 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.5564, allocations: 4 kB / 0.5195 GB, free: 1.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002874/0.5567, allocations: 315.1 kB / 0.5198 GB, free: 1.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5567, allocations: 0 / 0.5198 GB, free: 1.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.5571, allocations: 88.14 kB / 0.5199 GB, free: 1.418 MB / 382.1 MB 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.0004689/0.5576, allocations: 171 kB / 0.52 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009391/0.5585, allocations: 492.5 kB / 0.5205 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5586, allocations: 0 / 0.5205 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003796/0.5589, allocations: 183.9 kB / 0.5207 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.5594, allocations: 81.38 kB / 0.5208 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.5607, allocations: 0.7252 MB / 0.5215 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.5611, allocations: 0.8107 MB / 0.5223 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.5613, allocations: 66.25 kB / 0.5223 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.5614, allocations: 27.44 kB / 0.5223 GB, free: 14.82 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5614, allocations: 0 / 0.5223 GB, free: 14.82 MB / 398.1 MB Notification: Performance of Templates: time 0.0116/0.573, allocations: 6.001 MB / 0.5282 GB, free: 8.883 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.pipe 2>&1) Environment - environmentSimulation: