Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.157/2.157, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 195.4 kB / 499.1 MB, free: 4.656 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 116.7 kB / 0.9329 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 49.08 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2558, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil): time 0.003864/0.2597, allocations: 3.375 MB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.004189/0.2639, allocations: 3.284 MB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.2641, allocations: 8 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.2655, allocations: 0.5154 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.2657, allocations: 107.3 kB / 1.225 GB, free: 109.8 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.001569/0.2673, allocations: 0.601 MB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.2683, allocations: 1.546 MB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.2686, allocations: 257.1 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.269, allocations: 0.5139 MB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004255/0.2694, allocations: 0.5798 MB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.2696, allocations: 84 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000763/0.2703, allocations: 0.5813 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.2707, allocations: 0.5688 MB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005177/0.2712, allocations: 0.8005 MB / 1.231 GB, free: 104.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.2731, allocations: 3.322 MB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2731, allocations: 0 / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2731, allocations: 0 / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.2732, allocations: 3.938 kB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002877/0.276, allocations: 2.094 MB / 1.236 GB, free: 98.77 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2761, allocations: 11.98 kB / 1.236 GB, free: 98.75 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005834/0.2819, allocations: 0.6427 MB / 1.237 GB, free: 98.11 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.2841, allocations: 1.564 MB / 1.238 GB, free: 96.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.2843, allocations: 132.5 kB / 1.238 GB, free: 96.36 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/0.2844, allocations: 31.94 kB / 1.238 GB, free: 96.33 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/0.2874, allocations: 1.887 MB / 1.24 GB, free: 94.43 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2874, allocations: 0 / 1.24 GB, free: 94.43 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.626e-05/0.2875, allocations: 16 kB / 1.24 GB, free: 94.42 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2875, allocations: 7.938 kB / 1.24 GB, free: 94.41 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004709/0.2922, allocations: 2.622 MB / 1.243 GB, free: 91.79 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006777/0.299, allocations: 4.587 MB / 1.247 GB, free: 87.14 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009001/0.3081, allocations: 2.889 MB / 1.25 GB, free: 84.24 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.3101, allocations: 1.189 MB / 1.251 GB, free: 83.05 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.397e-05/0.3102, allocations: 12.42 kB / 1.251 GB, free: 83.04 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002777/0.313, allocations: 1.784 MB / 1.253 GB, free: 81.23 MB / 0.823 GB Notification: Performance of pre-optimization done (n=61): time 3.386e-06/0.313, allocations: 0 / 1.253 GB, free: 81.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=61): time 0.007248/0.3203, allocations: 3.63 MB / 1.256 GB, free: 77.59 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.3203, allocations: 101.6 kB / 1.257 GB, free: 77.47 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004054/0.3244, allocations: 2.688 MB / 1.259 GB, free: 74.78 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.3246, allocations: 53.69 kB / 1.259 GB, free: 74.72 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004984/0.3251, allocations: 0.6692 MB / 1.26 GB, free: 74.05 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.3253, allocations: 181.5 kB / 1.26 GB, free: 73.87 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/0.3256, allocations: 154.1 kB / 1.26 GB, free: 73.71 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.245e-05/0.3257, allocations: 330 kB / 1.26 GB, free: 73.38 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/0.3279, allocations: 1.454 MB / 1.262 GB, free: 71.93 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.3302, allocations: 1.438 MB / 1.263 GB, free: 70.48 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/0.3342, allocations: 2.211 MB / 1.265 GB, free: 68.25 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3342, allocations: 0 / 1.265 GB, free: 68.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005222/0.3394, allocations: 2.983 MB / 1.268 GB, free: 65.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.179e-05/0.3395, allocations: 83.38 kB / 1.268 GB, free: 65.15 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3395, allocations: 0 / 1.268 GB, free: 65.15 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3396, allocations: 0 / 1.268 GB, free: 65.15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.3408, allocations: 191.7 kB / 1.269 GB, free: 64.96 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3408, allocations: 4 kB / 1.269 GB, free: 64.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.3422, allocations: 111.4 kB / 1.269 GB, free: 64.85 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.3424, allocations: 43.94 kB / 1.269 GB, free: 64.81 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dryCoi.cooCap.checkBoundsTCon[4],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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.001008/0.3434, allocations: 0.7691 MB / 1.27 GB, free: 64.02 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/0.3439, allocations: 173.9 kB / 1.27 GB, free: 63.85 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005815/0.3497, allocations: 2.66 MB / 1.272 GB, free: 61.18 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.3497, allocations: 8 kB / 1.272 GB, free: 61.17 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3497, allocations: 0 / 1.272 GB, free: 61.17 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3498, allocations: 7.922 kB / 1.272 GB, free: 61.16 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.3522, allocations: 2.294 MB / 1.275 GB, free: 58.81 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3522, allocations: 0 / 1.275 GB, free: 58.81 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.3537, allocations: 183.7 kB / 1.275 GB, free: 58.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3537, allocations: 0 / 1.275 GB, free: 58.63 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.3538, allocations: 39.94 kB / 1.275 GB, free: 58.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3539, allocations: 0 / 1.275 GB, free: 58.59 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3539, allocations: 3.938 kB / 1.275 GB, free: 58.59 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009291/0.3632, allocations: 5.178 MB / 1.28 GB, free: 53.34 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.3642, allocations: 0.5728 MB / 1.28 GB, free: 52.75 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.3644, allocations: 63.97 kB / 1.28 GB, free: 52.69 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.3658, allocations: 119.8 kB / 1.281 GB, free: 52.57 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.3659, allocations: 56.48 kB / 1.281 GB, free: 52.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.366, allocations: 47.92 kB / 1.281 GB, free: 52.47 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002015/0.3681, allocations: 1.93 MB / 1.283 GB, free: 50.55 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3681, allocations: 0 / 1.283 GB, free: 50.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009733/0.3691, allocations: 367.9 kB / 1.283 GB, free: 50.19 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.0006215/0.3697, allocations: 282.8 kB / 1.283 GB, free: 49.92 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004771/0.3745, allocations: 2.977 MB / 1.286 GB, free: 46.91 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3745, allocations: 0 / 1.286 GB, free: 46.91 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.3767, allocations: 1.35 MB / 1.287 GB, free: 45.55 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.3782, allocations: 408.7 kB / 1.288 GB, free: 45.15 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.3844, allocations: 4.828 MB / 1.293 GB, free: 40.28 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008563/0.3853, allocations: 1.596 MB / 1.294 GB, free: 38.65 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001761/0.3871, allocations: 0.5752 MB / 1.295 GB, free: 38.07 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004817/0.3876, allocations: 131.3 kB / 1.295 GB, free: 37.95 MB / 0.823 GB Notification: Performance of SimCode: time 1.302e-06/0.3876, allocations: 0 / 1.295 GB, free: 37.95 MB / 0.823 GB Notification: Performance of Templates: time 0.03974/0.4273, allocations: 31.54 MB / 1.326 GB, free: 6.574 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)