Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.WaterCooled.Examples.VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.001199, allocations: 112.7 kB / 16.38 MB, free: 6.023 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.00113/0.001131, allocations: 188.6 kB / 17.31 MB, free: 5.617 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.397/1.397, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.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.001599/0.001599, allocations: 63.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2637, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed): time 0.8236/1.087, allocations: 303.6 MB / 1.081 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.04426/1.132, allocations: 28.27 MB / 1.109 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00514/1.137, allocations: 79.56 kB / 1.109 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005663/1.143, allocations: 1.681 MB / 1.111 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01203/1.155, allocations: 3.604 MB / 1.114 GB, free: 8.309 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.01162/1.166, allocations: 4.126 MB / 1.118 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01093/1.177, allocations: 6.973 MB / 1.125 GB, free: 13.27 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00559/1.183, allocations: 2.848 MB / 1.128 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007297/1.19, allocations: 2.933 MB / 1.131 GB, free: 7.508 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004586/1.195, allocations: 2.28 MB / 1.133 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001776/1.197, allocations: 0.5273 MB / 1.133 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/1.208, allocations: 4.577 MB / 1.138 GB, free: 120 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.5541/1.762, allocations: 1.368 MB / 1.139 GB, free: 96.8 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003836/1.766, allocations: 2.269 MB / 1.141 GB, free: 96.8 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01762/1.784, allocations: 10 MB / 1.151 GB, free: 96.65 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.784, allocations: 0 / 1.151 GB, free: 96.65 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.697e-06/1.784, allocations: 0.5625 kB / 1.151 GB, free: 96.65 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002228/1.784, allocations: 2.391 kB / 1.151 GB, free: 96.65 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01833/1.802, allocations: 4.869 MB / 1.156 GB, free: 94.49 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/1.802, allocations: 11.28 kB / 1.156 GB, free: 94.49 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02596/1.828, allocations: 2.753 MB / 1.159 GB, free: 94.3 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/1.84, allocations: 3.809 MB / 1.162 GB, free: 93.61 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007212/1.841, allocations: 344.1 kB / 1.163 GB, free: 93.42 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/1.842, allocations: 174.4 kB / 1.163 GB, free: 93.42 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01622/1.859, allocations: 4.108 MB / 1.167 GB, free: 93.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.706e-05/1.859, allocations: 1.5 kB / 1.167 GB, free: 93.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008685/1.86, allocations: 65.09 kB / 1.167 GB, free: 93.25 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.82e-05/1.86, allocations: 59.75 kB / 1.167 GB, free: 93.25 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02153/1.881, allocations: 5.305 MB / 1.172 GB, free: 93.23 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04028/1.922, allocations: 15.7 MB / 1.187 GB, free: 90.7 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02196/1.944, allocations: 5.042 MB / 1.192 GB, free: 90.51 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008409/1.952, allocations: 2.458 MB / 1.195 GB, free: 90.46 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002766/1.955, allocations: 4.292 MB / 1.199 GB, free: 85.58 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009676/1.965, allocations: 2.903 MB / 1.202 GB, free: 84.79 MB / 0.92 GB Notification: Performance of pre-optimization done (n=126): time 6.131e-06/1.965, allocations: 1.641 kB / 1.202 GB, free: 84.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=126): time 0.05569/2.02, allocations: 9.979 MB / 1.212 GB, free: 81.84 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/2.02, allocations: 124 kB / 1.212 GB, free: 81.71 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.011/2.031, allocations: 4.667 MB / 1.216 GB, free: 80.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001074/2.033, allocations: 78 kB / 1.216 GB, free: 80.67 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002174/2.035, allocations: 1.352 MB / 1.218 GB, free: 80.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001052/2.036, allocations: 419.6 kB / 1.218 GB, free: 79.97 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002023/2.038, allocations: 404.8 kB / 1.218 GB, free: 79.86 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/2.038, allocations: 361.9 kB / 1.219 GB, free: 79.54 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008799/2.047, allocations: 2.808 MB / 1.221 GB, free: 78.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01017/2.057, allocations: 3.11 MB / 1.225 GB, free: 78.14 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1651/2.222, allocations: 52.49 MB / 1.276 GB, free: 30.49 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/2.222, allocations: 0 / 1.276 GB, free: 30.49 MB / 0.92 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.04248/2.265, allocations: 8.255 MB / 1.284 GB, free: 22.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/2.265, allocations: 150.8 kB / 1.284 GB, free: 22.08 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/2.265, allocations: 4 kB / 1.284 GB, free: 22.08 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00384/2.269, allocations: 1.021 MB / 1.285 GB, free: 21.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004747/2.274, allocations: 0.6151 MB / 1.286 GB, free: 20.44 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008559/2.282, allocations: 7.578 MB / 1.293 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007117/2.289, allocations: 0.5733 MB / 1.294 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009323/2.29, allocations: 107.9 kB / 1.294 GB, free: 11.75 MB / 0.92 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01168/2.302, allocations: 3.902 MB / 1.297 GB, free: 7.836 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00981/2.312, allocations: 3.097 MB / 1.3 GB, free: 4.672 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1824/2.494, allocations: 52.41 MB / 1.352 GB, free: 100 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.214e-05/2.494, allocations: 4 kB / 1.352 GB, free: 96 kB / 0.9669 GB Notification: Performance of matching and sorting (n=176) (initialization_lambda0): time 0.04685/2.541, allocations: 8.192 MB / 1.36 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002053/2.541, allocations: 154.7 kB / 1.36 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/2.541, allocations: 3.984 kB / 1.36 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003846/2.545, allocations: 0.972 MB / 1.361 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00494/2.55, allocations: 0.6196 MB / 1.361 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00933/2.56, allocations: 7.136 MB / 1.368 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007248/2.567, allocations: 0.5452 MB / 1.369 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008421/2.568, allocations: 103.9 kB / 1.369 GB, free: 13.91 MB / 0.9981 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 28 (varSpeDX.eva.i_x,$PRE.varSpeDX.eva.deaBan.y,$PRE.varSpeDX.eva.eva.off,$PRE.varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,varSpeDX.eva.deaBan.y,varSpeDX.eva.eva.off,varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],varSpeDX.eva.dxCoo.dryCoi.cooCap.stage,varSpeDX.eva.dxCoo.wetCoi.shr.on,varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],varSpeDX.eva.dxCoo.wetCoi.cooCap.stage,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(8,3), (1,1), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00153/2.569, allocations: 326.7 kB / 1.369 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002018/2.571, allocations: 308.2 kB / 1.37 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03965/2.611, allocations: 7.141 MB / 1.377 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.703e-05/2.611, allocations: 3.984 kB / 1.377 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/2.611, allocations: 4 kB / 1.377 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004281/2.615, allocations: 1.114 MB / 1.378 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00235/2.618, allocations: 39.09 kB / 1.378 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006601/2.624, allocations: 443.3 kB / 1.378 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006377/2.625, allocations: 140.8 kB / 1.378 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02596/2.651, allocations: 5.775 MB / 1.384 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0292/2.68, allocations: 8.408 MB / 1.392 GB, free: 6.199 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008801/2.689, allocations: 2.506 MB / 1.395 GB, free: 3.695 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.009135/2.698, allocations: 3.316 MB / 1.398 GB, free: 400 kB / 1.014 GB Notification: Performance of Backend: time 9.72e-07/2.698, allocations: 0 / 1.398 GB, free: 400 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.03752/2.736, allocations: 9.018 MB / 1.407 GB, free: 7.367 MB / 1.029 GB Notification: Performance of SimCode: time 0.01677/2.753, allocations: 7.193 MB / 1.414 GB, free: 228 kB / 1.029 GB Notification: Performance of Templates: time 0.1783/2.931, allocations: 115.7 MB / 1.527 GB, free: 13.46 MB / 1.154 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.pipe 2>&1)