Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage.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.MultiStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.647/1.647, allocations: 287.4 MB / 303.2 MB, free: 8.297 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.001002/0.001002, allocations: 178.3 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.517/1.517, allocations: 205.4 MB / 0.6305 GB, free: 10.51 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.001193/0.001193, allocations: 93.27 kB / 0.7438 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006482/0.0006485, allocations: 13 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2483, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage): time 0.6016/0.8499, allocations: 186.9 MB / 1.162 GB, free: 2.387 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02901/0.879, allocations: 19.56 MB / 1.181 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.8818, allocations: 37.97 kB / 1.181 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003524/0.8854, allocations: 0.927 MB / 1.182 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006589/0.892, allocations: 1.831 MB / 1.184 GB, free: 0.5234 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.007766/0.8998, allocations: 2.492 MB / 1.186 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.008902/0.9087, allocations: 7.792 MB / 1.194 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00459/0.9133, allocations: 2.42 MB / 1.196 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00465/0.918, allocations: 2.331 MB / 1.198 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00456/0.9226, allocations: 2.408 MB / 1.201 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.9242, allocations: 301.6 kB / 1.201 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00765/0.9319, allocations: 2.355 MB / 1.203 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.003045/0.935, allocations: 1.901 MB / 1.205 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.003289/0.9383, allocations: 1.231 MB / 1.206 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.9519, allocations: 12.68 MB / 1.219 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9519, allocations: 0 / 1.219 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9519, allocations: 0 / 1.219 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002929/0.9522, allocations: 0 / 1.219 GB, free: 6.617 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.01416/0.9664, allocations: 5.985 MB / 1.225 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.9665, allocations: 8.031 kB / 1.225 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03245/0.9989, allocations: 4.031 MB / 1.229 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01449/1.013, allocations: 6.309 MB / 1.235 GB, free: 6.074 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008723/1.014, allocations: 451.2 kB / 1.235 GB, free: 5.59 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/1.015, allocations: 175.9 kB / 1.235 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/1.032, allocations: 6.628 MB / 1.242 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/1.032, allocations: 0 / 1.242 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005794/1.033, allocations: 67.98 kB / 1.242 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/1.033, allocations: 66.86 kB / 1.242 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02361/1.056, allocations: 8.99 MB / 1.251 GB, free: 5.613 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.04738/1.104, allocations: 24.22 MB / 1.274 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02814/1.132, allocations: 8.883 MB / 1.283 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01105/1.143, allocations: 4.205 MB / 1.287 GB, free: 48 kB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008593/1.144, allocations: 0.7732 MB / 1.288 GB, free: 15.11 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01333/1.157, allocations: 5.593 MB / 1.293 GB, free: 9.508 MB / 0.823 GB Notification: Performance of pre-optimization done (n=186): time 4.709e-06/1.157, allocations: 0 / 1.293 GB, free: 9.508 MB / 0.823 GB Notification: Performance of matching and sorting (n=188): time 0.08649/1.244, allocations: 22.91 MB / 1.316 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.244, allocations: 148.8 kB / 1.316 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02066/1.265, allocations: 9.98 MB / 1.326 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001125/1.266, allocations: 113.7 kB / 1.326 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.003317/1.269, allocations: 2.224 MB / 1.328 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00118/1.27, allocations: 0.5932 MB / 1.328 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006424/1.271, allocations: 40 kB / 1.328 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002383/1.271, allocations: 386 kB / 1.329 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01282/1.284, allocations: 5.166 MB / 1.334 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01283/1.297, allocations: 5.359 MB / 1.339 GB, free: 10.34 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.8707/2.168, allocations: 147.7 MB / 1.483 GB, free: 319 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/2.168, allocations: 0 / 1.483 GB, free: 319 MB / 0.948 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.04523/2.213, allocations: 12.47 MB / 1.495 GB, free: 306.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002124/2.213, allocations: 303.8 kB / 1.496 GB, free: 306.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/2.213, allocations: 4 kB / 1.496 GB, free: 306.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006118/2.219, allocations: 1.504 MB / 1.497 GB, free: 305 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005936/2.225, allocations: 0.8698 MB / 1.498 GB, free: 304.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/2.238, allocations: 13.13 MB / 1.511 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008402/2.246, allocations: 0.6552 MB / 1.512 GB, free: 289.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009474/2.247, allocations: 143.8 kB / 1.512 GB, free: 289.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/2.247, allocations: 4 kB / 1.512 GB, free: 289.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04074/2.288, allocations: 11.99 MB / 1.523 GB, free: 277.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/2.288, allocations: 8.094 kB / 1.523 GB, free: 277.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004598/2.293, allocations: 1.317 MB / 1.525 GB, free: 276 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005721/2.299, allocations: 0.8737 MB / 1.526 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009248/2.308, allocations: 11.56 MB / 1.537 GB, free: 262.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00823/2.316, allocations: 0.6557 MB / 1.537 GB, free: 262.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009394/2.317, allocations: 135.8 kB / 1.538 GB, free: 262 MB / 0.948 GB Warning: Assuming fixed start value for the following 1 variables: mulStaDX.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: mulStaDX.vol.dynBal.medium.p = mulStaDX.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 60 (mulStaDX.i_x,$whenCondition1,$PRE.speRat.combiTimeTable.nextTimeEvent,$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],$PRE.mulStaDX.eva.off,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,mulStaDX.dxCoo.wetCoi.cooCap.stage,mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],mulStaDX.dxCoo.wetCoi.shr.on,mulStaDX.dxCoo.dryCoi.cooCap.stage,mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],mulStaDX.eva.off,speRat.combiTimeTable.nextTimeEvent,$PRE.speRat.combiTimeTable.nextTimeEventScaled,speRat.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 214 * Array equations: 1 * Algorithm blocks: 3 * 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.004578/2.322, allocations: 2.509 MB / 1.54 GB, free: 259.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001799/2.323, allocations: 0.5308 MB / 1.541 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03951/2.363, allocations: 10.39 MB / 1.551 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03678/2.4, allocations: 9.484 MB / 1.56 GB, free: 239.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/2.4, allocations: 4 kB / 1.56 GB, free: 239.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005319/2.405, allocations: 1.971 MB / 1.562 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002252/2.407, allocations: 160 kB / 1.562 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007463/2.415, allocations: 0.6934 MB / 1.563 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004958/2.415, allocations: 209.6 kB / 1.563 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02612/2.442, allocations: 8.969 MB / 1.572 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03269/2.474, allocations: 14.32 MB / 1.586 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009903/2.484, allocations: 4.247 MB / 1.59 GB, free: 208.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01149/2.496, allocations: 7.081 MB / 1.597 GB, free: 201.7 MB / 0.948 GB Notification: Performance of Backend: time 1.974e-06/2.496, allocations: 0 / 1.597 GB, free: 201.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03454/2.53, allocations: 15.1 MB / 1.612 GB, free: 186.8 MB / 0.948 GB Notification: Performance of SimCode: time 0.0202/2.551, allocations: 13.1 MB / 1.624 GB, free: 173.6 MB / 0.948 GB Notification: Performance of Templates: time 0.2025/2.753, allocations: 169 MB / 1.789 GB, free: 4.902 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage.pipe 2>&1)