Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001752/0.001751, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002374/0.002374, allocations: 198.2 kB / 16.53 MB, free: 6.391 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.425/1.425, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.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.759/1.759, allocations: 292.3 MB / 0.5488 GB, free: 12.83 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.001406/0.001406, allocations: 65.8 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2631, allocations: 114.6 MB / 0.7834 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7846/1.048, allocations: 314.1 MB / 1.09 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02875/1.077, allocations: 18.29 MB / 1.108 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00428/1.081, allocations: 83.56 kB / 1.108 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005954/1.087, allocations: 2.144 MB / 1.11 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01913/1.106, allocations: 7.238 MB / 1.117 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01055/1.117, allocations: 3.244 MB / 1.12 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01347/1.13, allocations: 9.062 MB / 1.129 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00562/1.136, allocations: 3.099 MB / 1.132 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006873/1.143, allocations: 3.302 MB / 1.135 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006574/1.149, allocations: 3.242 MB / 1.139 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001526/1.151, allocations: 404 kB / 1.139 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01503/1.166, allocations: 6.999 MB / 1.146 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002842/1.169, allocations: 1.691 MB / 1.147 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005525/1.174, allocations: 2.295 MB / 1.15 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01978/1.194, allocations: 8.138 MB / 1.158 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/1.194, allocations: 0 / 1.158 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.224e-06/1.194, allocations: 0 / 1.158 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002629/1.195, allocations: 0 / 1.158 GB, free: 7.793 MB / 0.8731 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.01536/1.21, allocations: 4.986 MB / 1.163 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.21, allocations: 8.031 kB / 1.163 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006841/1.217, allocations: 1.002 MB / 1.164 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004206/1.221, allocations: 2.154 MB / 1.166 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/1.221, allocations: 246.4 kB / 1.166 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00055/1.222, allocations: 323.9 kB / 1.166 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006879/1.229, allocations: 4.232 MB / 1.17 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.879e-05/1.229, allocations: 4 kB / 1.17 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003257/1.229, allocations: 140 kB / 1.17 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/1.229, allocations: 170.4 kB / 1.171 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008103/1.237, allocations: 4.772 MB / 1.175 GB, free: 5.551 MB / 0.8887 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.01968/1.257, allocations: 14.5 MB / 1.189 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00594/1.263, allocations: 4.568 MB / 1.194 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003437/1.267, allocations: 2.452 MB / 1.196 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/1.268, allocations: 1.604 MB / 1.198 GB, free: 13.11 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.727e-05/1.268, allocations: 73.64 kB / 1.198 GB, free: 13.03 MB / 0.92 GB Notification: Performance of pre-optimization done (n=392): time 5.891e-06/1.268, allocations: 4 kB / 1.198 GB, free: 13.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=392): time 0.009151/1.277, allocations: 5.539 MB / 1.203 GB, free: 7.461 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/1.278, allocations: 94.48 kB / 1.203 GB, free: 7.355 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/1.28, allocations: 1.66 MB / 1.205 GB, free: 5.652 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002745/1.28, allocations: 97.69 kB / 1.205 GB, free: 5.551 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008713/1.281, allocations: 1.12 MB / 1.206 GB, free: 4.418 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/1.282, allocations: 1.32 MB / 1.208 GB, free: 3.078 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008634/1.283, allocations: 0.5507 MB / 1.208 GB, free: 2.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.283, allocations: 305.1 kB / 1.208 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/1.286, allocations: 1.568 MB / 1.21 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002799/1.289, allocations: 1.935 MB / 1.212 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00554/1.294, allocations: 3.781 MB / 1.215 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/1.294, allocations: 0 / 1.215 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006893/1.301, allocations: 4.162 MB / 1.22 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/1.301, allocations: 8 kB / 1.22 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/1.301, allocations: 4 kB / 1.22 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/1.301, allocations: 20 kB / 1.22 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/1.304, allocations: 0.6943 MB / 1.22 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.02e-05/1.304, allocations: 19.98 kB / 1.22 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002754/1.307, allocations: 268.5 kB / 1.221 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/1.307, allocations: 116 kB / 1.221 GB, free: 5.457 MB / 0.9356 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.001477/1.309, allocations: 0.7975 MB / 1.221 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007026/1.309, allocations: 284.6 kB / 1.222 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007175/1.317, allocations: 4.432 MB / 1.226 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/1.317, allocations: 36 kB / 1.226 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.317, allocations: 0 / 1.226 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005338/1.322, allocations: 3.78 MB / 1.23 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/1.336, allocations: 8.632 MB / 1.238 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.336, allocations: 4 kB / 1.238 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003272/1.339, allocations: 0.7259 MB / 1.239 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-05/1.339, allocations: 20 kB / 1.239 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/1.339, allocations: 83.98 kB / 1.239 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.039e-05/1.339, allocations: 19.94 kB / 1.239 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.339, allocations: 3.984 kB / 1.239 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/1.349, allocations: 6.82 MB / 1.246 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/1.351, allocations: 0.7894 MB / 1.246 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004464/1.352, allocations: 75.98 kB / 1.246 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/1.354, allocations: 87.11 kB / 1.247 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/1.354, allocations: 242.5 kB / 1.247 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002036/1.354, allocations: 108 kB / 1.247 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001555/1.356, allocations: 1.145 MB / 1.248 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.356, allocations: 0 / 1.248 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002822/1.359, allocations: 1.232 MB / 1.249 GB, free: 7.73 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],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.0009112/1.36, allocations: 464.8 kB / 1.25 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02093/1.381, allocations: 9.837 MB / 1.259 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.381, allocations: 5.312 kB / 1.259 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003279/1.384, allocations: 2.156 MB / 1.261 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007712/1.392, allocations: 1.606 MB / 1.263 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/1.405, allocations: 7.698 MB / 1.27 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/1.407, allocations: 2.197 MB / 1.273 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004774/1.412, allocations: 1.2 MB / 1.274 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.413, allocations: 271.4 kB / 1.274 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of SimCode: time 1.433e-06/1.413, allocations: 0 / 1.274 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of Templates: time 0.4643/1.877, allocations: 62.23 MB / 1.335 GB, free: 374.1 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)