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.001222/0.001222, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00159/0.00159, allocations: 197.1 kB / 16.14 MB, free: 6.656 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.602/1.602, allocations: 205.1 MB / 222 MB, free: 4.742 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.611/0.611, allocations: 95.48 MB / 364.8 MB, free: 10.12 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.0016/0.0016, allocations: 67.91 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.397, allocations: 69.07 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity): time 0.003497/0.4005, allocations: 2.173 MB / 0.5038 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.4032, allocations: 1.976 MB / 0.5058 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.4034, allocations: 4 kB / 0.5058 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006921/0.4041, allocations: 212.9 kB / 0.506 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.189e-05/0.4042, allocations: 55.55 kB / 0.506 GB, free: 13.2 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.0009906/0.4052, allocations: 402.7 kB / 0.5064 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.4055, allocations: 382.8 kB / 0.5068 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.4057, allocations: 44.3 kB / 0.5068 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.4058, allocations: 139.6 kB / 0.507 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.406, allocations: 151.4 kB / 0.5071 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.406, allocations: 16 kB / 0.5071 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.4064, allocations: 291.6 kB / 0.5074 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.4065, allocations: 107.7 kB / 0.5075 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.4067, allocations: 167.1 kB / 0.5077 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.4072, allocations: 0.5804 MB / 0.5082 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4072, allocations: 0 / 0.5082 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4072, allocations: 4 kB / 0.5082 GB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.4072, allocations: 0 / 0.5082 GB, free: 10.95 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.001023/0.4082, allocations: 0.7139 MB / 0.5089 GB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4083, allocations: 11.98 kB / 0.5089 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005722/0.4089, allocations: 60.52 kB / 0.509 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.4092, allocations: 349.6 kB / 0.5093 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/0.4093, allocations: 45.69 kB / 0.5094 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.4093, allocations: 19.94 kB / 0.5094 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.4099, allocations: 255.5 kB / 0.5096 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.4099, allocations: 0 / 0.5096 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.4099, allocations: 4 kB / 0.5096 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4099, allocations: 3.984 kB / 0.5096 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.4106, allocations: 279.8 kB / 0.5099 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009994/0.4116, allocations: 0.6994 MB / 0.5106 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.4123, allocations: 238.5 kB / 0.5108 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.4126, allocations: 156.7 kB / 0.511 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.4127, allocations: 4 kB / 0.511 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005029/0.4132, allocations: 275.2 kB / 0.5112 GB, free: 7.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.4132, allocations: 0 / 0.5112 GB, free: 7.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.00112/0.4143, allocations: 0.4949 MB / 0.5117 GB, free: 7.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.4144, allocations: 55.41 kB / 0.5118 GB, free: 7.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.4147, allocations: 429.6 kB / 0.5122 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.4148, allocations: 37.7 kB / 0.5122 GB, free: 6.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4149, allocations: 172 kB / 0.5124 GB, free: 6.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.505e-05/0.4149, allocations: 51.25 kB / 0.5124 GB, free: 6.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.415, allocations: 45.7 kB / 0.5125 GB, free: 6.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4151, allocations: 350.8 kB / 0.5128 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.4156, allocations: 220.7 kB / 0.513 GB, free: 5.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.416, allocations: 219.8 kB / 0.5132 GB, free: 5.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006559/0.4166, allocations: 396.1 kB / 0.5136 GB, free: 5.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4166, allocations: 0 / 0.5136 GB, free: 5.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009851/0.4176, allocations: 0.6353 MB / 0.5142 GB, free: 4.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.4177, allocations: 47.66 kB / 0.5143 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4177, allocations: 0 / 0.5143 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4177, allocations: 8 kB / 0.5143 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.4179, allocations: 43.89 kB / 0.5143 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.418, allocations: 0 / 0.5143 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.4182, allocations: 31.81 kB / 0.5143 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.4182, allocations: 11.98 kB / 0.5144 GB, free: 4.41 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.0001875/0.4184, allocations: 185.8 kB / 0.5145 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.4185, allocations: 39.56 kB / 0.5146 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/0.4185, allocations: 43.45 kB / 0.5146 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4185, allocations: 4 kB / 0.5146 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4186, allocations: 0 / 0.5146 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4186, allocations: 0 / 0.5146 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.4189, allocations: 397.2 kB / 0.515 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4189, allocations: 4 kB / 0.515 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.4191, allocations: 39.89 kB / 0.515 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.4191, allocations: 7.938 kB / 0.515 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.4192, allocations: 4 kB / 0.5151 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4192, allocations: 4 kB / 0.5151 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4192, allocations: 4 kB / 0.5151 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000729/0.4199, allocations: 395.2 kB / 0.5154 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.42, allocations: 108.7 kB / 0.5155 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.42, allocations: 15.92 kB / 0.5156 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.4203, allocations: 31.95 kB / 0.5156 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.4204, allocations: 19.97 kB / 0.5156 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.4204, allocations: 4 kB / 0.5156 GB, free: 3.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002538/0.4207, allocations: 319.1 kB / 0.5159 GB, free: 2.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4207, allocations: 0 / 0.5159 GB, free: 2.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003511/0.421, allocations: 80.25 kB / 0.516 GB, free: 2.645 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.0004355/0.4215, allocations: 177.3 kB / 0.5162 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008419/0.4223, allocations: 465.2 kB / 0.5166 GB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4223, allocations: 0 / 0.5166 GB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.4227, allocations: 159.9 kB / 0.5168 GB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.4231, allocations: 69.5 kB / 0.5168 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.4241, allocations: 0.7089 MB / 0.5175 GB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.4243, allocations: 0.8107 MB / 0.5183 GB, free: 216 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.4245, allocations: 62.25 kB / 0.5184 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.4246, allocations: 23.44 kB / 0.5184 GB, free: 128 kB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4246, allocations: 0 / 0.5184 GB, free: 128 kB / 382.1 MB Notification: Performance of Templates: time 0.01084/0.4355, allocations: 6.079 MB / 0.5243 GB, free: 10.11 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.makefile (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)