Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.0016/0.0016, allocations: 189.5 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002154, allocations: 293.1 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9703/0.9703, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.5523, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9665/1.519, allocations: 314.1 MB / 1.074 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03504/1.554, allocations: 18.46 MB / 1.092 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009164/1.563, allocations: 90.53 kB / 1.092 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.008505/1.572, allocations: 2.151 MB / 1.094 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02743/1.599, allocations: 7.306 MB / 1.101 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01229/1.612, allocations: 3.226 MB / 1.104 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01666/1.628, allocations: 9.098 MB / 1.113 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006661/1.635, allocations: 3.116 MB / 1.116 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008948/1.644, allocations: 3.345 MB / 1.12 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008624/1.653, allocations: 3.246 MB / 1.123 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.002329/1.655, allocations: 404 kB / 1.123 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01973/1.675, allocations: 6.991 MB / 1.13 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003947/1.679, allocations: 1.687 MB / 1.132 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.008698/1.687, allocations: 2.322 MB / 1.134 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02403/1.712, allocations: 8.185 MB / 1.142 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/1.712, allocations: 3.984 kB / 1.142 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.434e-06/1.712, allocations: 0 / 1.142 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002941/1.712, allocations: 4 kB / 1.142 GB, free: 8.984 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.02159/1.734, allocations: 4.997 MB / 1.147 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 8.104e-05/1.734, allocations: 8.031 kB / 1.147 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008859/1.743, allocations: 0.9984 MB / 1.148 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007069/1.75, allocations: 2.259 MB / 1.15 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003116/1.75, allocations: 242.4 kB / 1.15 GB, free: 364 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/1.751, allocations: 327.9 kB / 1.15 GB, free: 36 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/1.764, allocations: 4.235 MB / 1.155 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001699/1.764, allocations: 7.922 kB / 1.155 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/1.765, allocations: 140 kB / 1.155 GB, free: 11.57 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/1.765, allocations: 162.4 kB / 1.155 GB, free: 11.41 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/1.776, allocations: 4.783 MB / 1.16 GB, free: 6.617 MB / 0.795 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.02815/1.804, allocations: 14.44 MB / 1.174 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007724/1.812, allocations: 4.551 MB / 1.178 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004575/1.817, allocations: 2.463 MB / 1.18 GB, free: 204 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002067/1.819, allocations: 1.6 MB / 1.182 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.709e-05/1.819, allocations: 81.58 kB / 1.182 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=392): time 5.17e-06/1.819, allocations: 0 / 1.182 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=392): time 0.01236/1.831, allocations: 5.543 MB / 1.188 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/1.831, allocations: 90.48 kB / 1.188 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/1.835, allocations: 1.681 MB / 1.189 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006032/1.835, allocations: 97.7 kB / 1.189 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/1.836, allocations: 1.132 MB / 1.19 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001818/1.838, allocations: 1.32 MB / 1.192 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001525/1.84, allocations: 0.5508 MB / 1.192 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.84, allocations: 301.1 kB / 1.193 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/1.843, allocations: 1.56 MB / 1.194 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003387/1.846, allocations: 1.924 MB / 1.196 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006643/1.853, allocations: 3.77 MB / 1.2 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/1.853, allocations: 4 kB / 1.2 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00825/1.861, allocations: 4.17 MB / 1.204 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/1.861, allocations: 11.98 kB / 1.204 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/1.861, allocations: 4 kB / 1.204 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.791e-05/1.862, allocations: 24 kB / 1.204 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/1.865, allocations: 0.6982 MB / 1.204 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.061e-05/1.865, allocations: 16.34 kB / 1.204 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003101/1.868, allocations: 265 kB / 1.205 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004148/1.868, allocations: 120 kB / 1.205 GB, free: 6.602 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * 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.002033/1.87, allocations: 0.7937 MB / 1.206 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.872, allocations: 292.5 kB / 1.206 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008661/1.88, allocations: 4.429 MB / 1.21 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.851e-05/1.88, allocations: 36 kB / 1.21 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/1.88, allocations: 0 / 1.21 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006173/1.886, allocations: 3.792 MB / 1.214 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/1.905, allocations: 8.648 MB / 1.222 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.905, allocations: 0 / 1.222 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003572/1.908, allocations: 0.726 MB / 1.223 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.653e-05/1.908, allocations: 12 kB / 1.223 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004437/1.909, allocations: 83.98 kB / 1.223 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.364e-05/1.909, allocations: 23.92 kB / 1.223 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.909, allocations: 4 kB / 1.223 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.92, allocations: 6.572 MB / 1.23 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002825/1.923, allocations: 0.7972 MB / 1.23 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008425/1.924, allocations: 76 kB / 1.23 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/1.927, allocations: 87.83 kB / 1.231 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005193/1.927, allocations: 234.5 kB / 1.231 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003121/1.928, allocations: 119.9 kB / 1.231 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002335/1.93, allocations: 1.149 MB / 1.232 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.81e-07/1.93, allocations: 8 kB / 1.232 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003901/1.934, allocations: 1.228 MB / 1.233 GB, free: 9.086 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001178/1.935, allocations: 457.4 kB / 1.234 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006987/1.942, allocations: 3.951 MB / 1.238 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.942, allocations: 0 / 1.238 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/1.946, allocations: 2.154 MB / 1.24 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008448/1.954, allocations: 1.606 MB / 1.241 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.969, allocations: 7.841 MB / 1.249 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002697/1.972, allocations: 2.205 MB / 1.251 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/1.974, allocations: 307.4 kB / 1.251 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of SimCode: time 1.322e-06/1.974, allocations: 0 / 1.251 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of Templates: time 0.09385/2.068, allocations: 55.28 MB / 1.305 GB, free: 15.48 MB / 0.9512 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)