Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.66/1.66, allocations: 287.4 MB / 303.2 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 180.8 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007118/0.0007118, allocations: 96.31 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004103, allocations: 12.8 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2207, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed): time 0.6231/0.8439, allocations: 186.8 MB / 1.162 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0261/0.87, allocations: 19.24 MB / 1.18 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.8726, allocations: 37.09 kB / 1.18 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003047/0.8757, allocations: 0.9005 MB / 1.181 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005968/0.8817, allocations: 1.736 MB / 1.183 GB, free: 1.07 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.007933/0.8897, allocations: 2.38 MB / 1.185 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.008755/0.8984, allocations: 7.661 MB / 1.193 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004332/0.9028, allocations: 2.366 MB / 1.195 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005445/0.9083, allocations: 2.301 MB / 1.197 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004406/0.9127, allocations: 2.361 MB / 1.2 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.00134/0.9141, allocations: 298.6 kB / 1.2 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007387/0.9215, allocations: 2.565 MB / 1.203 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002477/0.924, allocations: 1.848 MB / 1.204 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.9266, allocations: 1.22 MB / 1.206 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.941, allocations: 12.66 MB / 1.218 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.9411, allocations: 0 / 1.218 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9411, allocations: 0 / 1.218 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000385/0.9415, allocations: 4 kB / 1.218 GB, free: 7.594 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.01538/0.9569, allocations: 5.861 MB / 1.224 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/0.9569, allocations: 12.03 kB / 1.224 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03363/0.9906, allocations: 4.094 MB / 1.228 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/1.005, allocations: 6.249 MB / 1.234 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007574/1.006, allocations: 413.5 kB / 1.234 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008952/1.007, allocations: 172 kB / 1.234 GB, free: 6.555 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01657/1.024, allocations: 6.794 MB / 1.241 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/1.024, allocations: 0 / 1.241 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005282/1.024, allocations: 64 kB / 1.241 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.788e-05/1.024, allocations: 50.83 kB / 1.241 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02493/1.049, allocations: 9.325 MB / 1.25 GB, free: 6.27 MB / 0.7761 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.0505/1.1, allocations: 24.36 MB / 1.274 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02916/1.129, allocations: 9.414 MB / 1.283 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01152/1.141, allocations: 4.4 MB / 1.287 GB, free: 15.85 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/1.142, allocations: 1.208 MB / 1.289 GB, free: 14.39 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01351/1.156, allocations: 5.822 MB / 1.294 GB, free: 8.543 MB / 0.823 GB Notification: Performance of pre-optimization done (n=183): time 6.011e-06/1.156, allocations: 0 / 1.294 GB, free: 8.543 MB / 0.823 GB Notification: Performance of matching and sorting (n=185): time 0.0888/1.245, allocations: 23.85 MB / 1.318 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.245, allocations: 144.7 kB / 1.318 GB, free: 380 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01866/1.263, allocations: 9.797 MB / 1.327 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001189/1.265, allocations: 113.7 kB / 1.327 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002644/1.267, allocations: 2.169 MB / 1.329 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.268, allocations: 0.5778 MB / 1.33 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/1.269, allocations: 44 kB / 1.33 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001739/1.269, allocations: 381.9 kB / 1.33 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01279/1.282, allocations: 5.314 MB / 1.336 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0135/1.295, allocations: 5.486 MB / 1.341 GB, free: 8.402 MB / 0.8698 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.8335/2.129, allocations: 157.6 MB / 1.495 GB, free: 307.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/2.129, allocations: 0 / 1.495 GB, free: 307.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.0459/2.175, allocations: 12.8 MB / 1.507 GB, free: 294.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002339/2.175, allocations: 330.5 kB / 1.508 GB, free: 294.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/2.175, allocations: 3.938 kB / 1.508 GB, free: 294.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006106/2.181, allocations: 1.495 MB / 1.509 GB, free: 292.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005864/2.187, allocations: 0.8854 MB / 1.51 GB, free: 292 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/2.199, allocations: 13.18 MB / 1.523 GB, free: 278 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008237/2.208, allocations: 0.6709 MB / 1.524 GB, free: 277.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007533/2.208, allocations: 157.3 kB / 1.524 GB, free: 277.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/2.208, allocations: 4 kB / 1.524 GB, free: 277.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04066/2.249, allocations: 12.37 MB / 1.536 GB, free: 264.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/2.249, allocations: 0 / 1.536 GB, free: 264.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004662/2.254, allocations: 1.323 MB / 1.537 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006009/2.26, allocations: 0.8854 MB / 1.538 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009177/2.269, allocations: 11.58 MB / 1.549 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009357/2.278, allocations: 0.6701 MB / 1.55 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/2.279, allocations: 157.1 kB / 1.55 GB, free: 249.4 MB / 0.948 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: varSpeDX.vol.dynBal.medium.p = varSpeDX.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 64 (varSpeDX.i_x,$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],$PRE.varSpeDX.eva.off,$PRE.varSpeDX.deaBan.y,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpeDX.dxCoo.wetCoi.cooCap.stage,varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],varSpeDX.dxCoo.wetCoi.shr.on,varSpeDX.dxCoo.dryCoi.cooCap.stage,varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],varSpeDX.eva.off,varSpeDX.deaBan.y,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (218): * Single equations (assignments): 205 * Array equations: 1 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {1 1,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005228/2.285, allocations: 2.512 MB / 1.553 GB, free: 246.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001894/2.287, allocations: 0.52 MB / 1.553 GB, free: 246.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04148/2.328, allocations: 10.86 MB / 1.564 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03911/2.367, allocations: 9.917 MB / 1.573 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/2.367, allocations: 0 / 1.573 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004661/2.372, allocations: 2.007 MB / 1.575 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002076/2.374, allocations: 160 kB / 1.575 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007506/2.382, allocations: 0.7068 MB / 1.576 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004433/2.382, allocations: 205.6 kB / 1.576 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02674/2.409, allocations: 9.47 MB / 1.586 GB, free: 213.3 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03297/2.442, allocations: 15.04 MB / 1.6 GB, free: 198.2 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009716/2.452, allocations: 4.466 MB / 1.605 GB, free: 193.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01105/2.463, allocations: 6.961 MB / 1.611 GB, free: 186.8 MB / 0.948 GB Notification: Performance of Backend: time 8.51e-07/2.463, allocations: 0 / 1.611 GB, free: 186.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03399/2.497, allocations: 15.33 MB / 1.626 GB, free: 171.4 MB / 0.948 GB Notification: Performance of SimCode: time 0.02052/2.517, allocations: 12.96 MB / 1.639 GB, free: 158.4 MB / 0.948 GB Notification: Performance of Templates: time 0.5958/3.113, allocations: 171.3 MB / 1.806 GB, free: 320.9 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed.pipe 2>&1)