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.001185/0.001185, allocations: 108.6 kB / 15.99 MB, free: 6.367 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.001173/0.001173, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.419/1.419, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.679/1.679, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001354/0.001354, allocations: 64.64 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2536, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7729/1.027, allocations: 310.5 MB / 1.087 GB, free: 12.55 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02726/1.054, allocations: 18.2 MB / 1.105 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004845/1.059, allocations: 67.62 kB / 1.105 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006497/1.065, allocations: 1.929 MB / 1.106 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02052/1.086, allocations: 6.826 MB / 1.113 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009603/1.095, allocations: 3 MB / 1.116 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01297/1.108, allocations: 9.064 MB / 1.125 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005216/1.114, allocations: 3.041 MB / 1.128 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007804/1.122, allocations: 3.352 MB / 1.131 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007562/1.129, allocations: 3.432 MB / 1.135 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001587/1.131, allocations: 404 kB / 1.135 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01663/1.147, allocations: 7.294 MB / 1.142 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003271/1.151, allocations: 1.695 MB / 1.144 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005939/1.157, allocations: 2.303 MB / 1.146 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01208/1.169, allocations: 6.05 MB / 1.152 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/1.169, allocations: 0 / 1.152 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/1.169, allocations: 0 / 1.152 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002491/1.169, allocations: 0 / 1.152 GB, free: 9.867 MB / 0.8575 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.01599/1.185, allocations: 4.986 MB / 1.157 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.185, allocations: 15.91 kB / 1.157 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007501/1.193, allocations: 1.006 MB / 1.158 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005587/1.198, allocations: 2.138 MB / 1.16 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002677/1.199, allocations: 246.4 kB / 1.16 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/1.2, allocations: 331.9 kB / 1.16 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/1.21, allocations: 4.228 MB / 1.164 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/1.211, allocations: 8 kB / 1.164 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007154/1.211, allocations: 136 kB / 1.165 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002388/1.212, allocations: 174.3 kB / 1.165 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009918/1.222, allocations: 4.764 MB / 1.169 GB, free: 7.629 MB / 0.8731 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.02621/1.248, allocations: 14.37 MB / 1.183 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007599/1.255, allocations: 4.564 MB / 1.188 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004626/1.26, allocations: 2.448 MB / 1.19 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002119/1.262, allocations: 1.604 MB / 1.192 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/1.262, allocations: 85.58 kB / 1.192 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=392): time 6.713e-06/1.262, allocations: 0 / 1.192 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of matching and sorting (n=392): time 0.01198/1.274, allocations: 5.531 MB / 1.197 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/1.275, allocations: 90.48 kB / 1.197 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/1.278, allocations: 1.671 MB / 1.199 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005947/1.278, allocations: 97.7 kB / 1.199 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009383/1.279, allocations: 1.124 MB / 1.2 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001674/1.281, allocations: 1.313 MB / 1.202 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001404/1.282, allocations: 0.5585 MB / 1.202 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.282, allocations: 305.1 kB / 1.202 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00288/1.285, allocations: 1.56 MB / 1.204 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003183/1.289, allocations: 1.935 MB / 1.206 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006394/1.295, allocations: 3.769 MB / 1.209 GB, free: 13 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/1.295, allocations: 0 / 1.209 GB, free: 13 MB / 0.92 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008213/1.303, allocations: 4.169 MB / 1.214 GB, free: 8.801 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/1.303, allocations: 8.656 kB / 1.214 GB, free: 8.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/1.303, allocations: 4 kB / 1.214 GB, free: 8.789 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.289e-05/1.303, allocations: 27.98 kB / 1.214 GB, free: 8.762 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/1.307, allocations: 0.6904 MB / 1.214 GB, free: 8.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.11e-05/1.307, allocations: 27.92 kB / 1.214 GB, free: 8.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00371/1.31, allocations: 428.9 kB / 1.215 GB, free: 7.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004815/1.311, allocations: 116 kB / 1.215 GB, free: 7.508 MB / 0.92 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.002125/1.313, allocations: 0.7975 MB / 1.216 GB, free: 6.699 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.314, allocations: 292.5 kB / 1.216 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008675/1.323, allocations: 4.417 MB / 1.22 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-05/1.323, allocations: 36 kB / 1.22 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.323, allocations: 3.938 kB / 1.22 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006045/1.329, allocations: 3.788 MB / 1.224 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/1.346, allocations: 8.613 MB / 1.232 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/1.346, allocations: 4 kB / 1.232 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003538/1.349, allocations: 0.7337 MB / 1.233 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.15e-05/1.349, allocations: 16 kB / 1.233 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003713/1.35, allocations: 83.98 kB / 1.233 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.261e-05/1.35, allocations: 19.98 kB / 1.233 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.35, allocations: 0 / 1.233 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/1.36, allocations: 6.826 MB / 1.24 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/1.363, allocations: 0.7934 MB / 1.241 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007796/1.363, allocations: 79.98 kB / 1.241 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003166/1.367, allocations: 263 kB / 1.241 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005095/1.367, allocations: 242.5 kB / 1.241 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003207/1.368, allocations: 116 kB / 1.241 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00217/1.37, allocations: 1.141 MB / 1.242 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/1.37, allocations: 0 / 1.242 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00397/1.374, allocations: 1.228 MB / 1.244 GB, free: 9.617 MB / 0.9512 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.001352/1.375, allocations: 461.9 kB / 1.244 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02249/1.398, allocations: 9.841 MB / 1.254 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.398, allocations: 3.938 kB / 1.254 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003985/1.402, allocations: 2.157 MB / 1.256 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009091/1.411, allocations: 1.599 MB / 1.257 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/1.427, allocations: 9.286 MB / 1.266 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002637/1.43, allocations: 2.197 MB / 1.269 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002086/1.432, allocations: 303.4 kB / 1.269 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of SimCode: time 8.82e-07/1.432, allocations: 3.938 kB / 1.269 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of Templates: time 0.5085/1.94, allocations: 54.63 MB / 1.322 GB, free: 374.4 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)