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.00201/0.00201, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.002097/0.002097, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.77/1.77, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.79/1.79, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001439/0.001439, allocations: 67.89 kB / 0.6721 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2509, allocations: 114.6 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7789/1.03, allocations: 314.1 MB / 1.091 GB, free: 140 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02775/1.058, allocations: 18.28 MB / 1.109 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004979/1.063, allocations: 83.56 kB / 1.109 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006367/1.069, allocations: 2.16 MB / 1.111 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0191/1.088, allocations: 7.227 MB / 1.118 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.009415/1.098, allocations: 3.241 MB / 1.121 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01253/1.11, allocations: 9.062 MB / 1.13 GB, free: 7.984 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005376/1.116, allocations: 3.097 MB / 1.133 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007556/1.123, allocations: 3.298 MB / 1.136 GB, free: 1.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5923/1.716, allocations: 3.234 MB / 1.139 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001724/1.717, allocations: 405.9 kB / 1.14 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01649/1.734, allocations: 6.994 MB / 1.146 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004111/1.738, allocations: 1.685 MB / 1.148 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01085/1.749, allocations: 2.303 MB / 1.15 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02367/1.773, allocations: 8.135 MB / 1.158 GB, free: 14.39 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/1.773, allocations: 0.625 kB / 1.158 GB, free: 14.39 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.294e-06/1.773, allocations: 1.031 kB / 1.158 GB, free: 14.39 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002586/1.773, allocations: 2.75 kB / 1.158 GB, free: 14.39 MB / 0.92 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.795, allocations: 4.988 MB / 1.163 GB, free: 12.52 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.795, allocations: 9.562 kB / 1.163 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009112/1.804, allocations: 1.002 MB / 1.164 GB, free: 12.31 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0069/1.811, allocations: 2.14 MB / 1.166 GB, free: 11.74 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003112/1.811, allocations: 245.5 kB / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/1.813, allocations: 332.1 kB / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/1.825, allocations: 4.235 MB / 1.171 GB, free: 11.44 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002362/1.826, allocations: 6.5 kB / 1.171 GB, free: 11.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/1.827, allocations: 134.1 kB / 1.171 GB, free: 11.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003098/1.827, allocations: 169.8 kB / 1.171 GB, free: 11.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/1.84, allocations: 4.775 MB / 1.176 GB, free: 11.39 MB / 0.92 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.03107/1.871, allocations: 14.51 MB / 1.19 GB, free: 20.96 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008446/1.88, allocations: 4.567 MB / 1.195 GB, free: 20.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004961/1.885, allocations: 2.447 MB / 1.197 GB, free: 20.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002113/1.887, allocations: 1.618 MB / 1.199 GB, free: 19.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/1.887, allocations: 76.64 kB / 1.199 GB, free: 19.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=392): time 1.135e-05/1.887, allocations: 0.9062 kB / 1.199 GB, free: 19.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=392): time 0.0153/1.902, allocations: 5.524 MB / 1.204 GB, free: 18.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/1.902, allocations: 95.98 kB / 1.204 GB, free: 18.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/1.906, allocations: 1.668 MB / 1.206 GB, free: 18.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.001067/1.908, allocations: 99.8 kB / 1.206 GB, free: 18.45 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.909, allocations: 1.122 MB / 1.207 GB, free: 18.03 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.002281/1.911, allocations: 1.322 MB / 1.208 GB, free: 17.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00292/1.914, allocations: 0.5512 MB / 1.209 GB, free: 17.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.914, allocations: 302.1 kB / 1.209 GB, free: 16.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003543/1.918, allocations: 1.561 MB / 1.211 GB, free: 16.83 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004137/1.922, allocations: 1.937 MB / 1.212 GB, free: 16.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008075/1.93, allocations: 3.772 MB / 1.216 GB, free: 16.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.531e-05/1.93, allocations: 0.7812 kB / 1.216 GB, free: 16.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01166/1.942, allocations: 4.163 MB / 1.22 GB, free: 16.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/1.942, allocations: 9.844 kB / 1.22 GB, free: 16.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/1.942, allocations: 5.25 kB / 1.22 GB, free: 16.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.534e-05/1.942, allocations: 17.62 kB / 1.22 GB, free: 16.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003834/1.946, allocations: 0.6946 MB / 1.221 GB, free: 16.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.791e-05/1.946, allocations: 28.69 kB / 1.221 GB, free: 16.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004621/1.95, allocations: 257.4 kB / 1.221 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/1.951, allocations: 116.9 kB / 1.221 GB, free: 15.93 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.003472/1.955, allocations: 0.799 MB / 1.222 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00175/1.957, allocations: 291.2 kB / 1.222 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/1.968, allocations: 4.419 MB / 1.227 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-05/1.968, allocations: 40.84 kB / 1.227 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.626e-05/1.968, allocations: 3.938 kB / 1.227 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00799/1.976, allocations: 3.782 MB / 1.23 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/1.999, allocations: 8.618 MB / 1.239 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/1.999, allocations: 2.875 kB / 1.239 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004203/2.003, allocations: 0.7331 MB / 1.24 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.483e-05/2.003, allocations: 15.16 kB / 1.24 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009315/2.004, allocations: 87.86 kB / 1.24 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.67e-05/2.004, allocations: 17.19 kB / 1.24 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/2.004, allocations: 3.438 kB / 1.24 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/2.018, allocations: 6.822 MB / 1.246 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003254/2.022, allocations: 0.7932 MB / 1.247 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001782/2.023, allocations: 73.53 kB / 1.247 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003919/2.027, allocations: 86.84 kB / 1.247 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001208/2.029, allocations: 235.1 kB / 1.247 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008518/2.029, allocations: 119.1 kB / 1.248 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002512/2.032, allocations: 1.139 MB / 1.249 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.4e-07/2.032, allocations: 0.5312 kB / 1.249 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.006444/2.038, allocations: 1.237 MB / 1.25 GB, free: 12.26 MB / 0.9356 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.002211/2.041, allocations: 466.2 kB / 1.25 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.02433/2.065, allocations: 9.841 MB / 1.26 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/2.065, allocations: 0 / 1.26 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004912/2.07, allocations: 2.158 MB / 1.262 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01196/2.082, allocations: 1.6 MB / 1.264 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/2.102, allocations: 7.869 MB / 1.271 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003561/2.106, allocations: 2.197 MB / 1.273 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002662/2.108, allocations: 307.4 kB / 1.274 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of SimCode: time 9.72e-07/2.109, allocations: 4 kB / 1.274 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of Templates: time 0.09376/2.202, allocations: 54.64 MB / 1.327 GB, free: 372 kB / 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)