Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008582/0.000858, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005039/0.005039, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003673, allocations: 13.33 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3286, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9904/1.319, allocations: 307.7 MB / 1.375 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02435/1.343, allocations: 18.49 MB / 1.393 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004571/1.348, allocations: 71.44 kB / 1.393 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005601/1.354, allocations: 1.882 MB / 1.395 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01893/1.373, allocations: 6.895 MB / 1.401 GB, free: 10.89 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.009274/1.382, allocations: 2.942 MB / 1.404 GB, free: 8.688 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01596/1.398, allocations: 13.12 MB / 1.417 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004726/1.403, allocations: 2.587 MB / 1.42 GB, free: 84 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006568/1.409, allocations: 2.803 MB / 1.422 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006891/1.416, allocations: 3.264 MB / 1.425 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001065/1.417, allocations: 197.7 kB / 1.426 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01616/1.433, allocations: 8.098 MB / 1.434 GB, free: 7.516 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002679/1.436, allocations: 1.48 MB / 1.435 GB, free: 6.031 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004292/1.44, allocations: 2.082 MB / 1.437 GB, free: 3.934 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.017/1.457, allocations: 8.381 MB / 1.445 GB, free: 11.53 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.457, allocations: 0 / 1.445 GB, free: 11.53 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.164e-06/1.457, allocations: 0 / 1.445 GB, free: 11.53 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001549/1.458, allocations: 0 / 1.445 GB, free: 11.53 MB / 1.045 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.01231/1.47, allocations: 4.327 MB / 1.449 GB, free: 7.133 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.47, allocations: 8.031 kB / 1.449 GB, free: 7.125 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007132/1.477, allocations: 1.006 MB / 1.45 GB, free: 6.113 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004321/1.482, allocations: 2.166 MB / 1.453 GB, free: 3.895 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/1.482, allocations: 242.4 kB / 1.453 GB, free: 3.656 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006223/1.482, allocations: 327.9 kB / 1.453 GB, free: 3.336 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007674/1.49, allocations: 4.235 MB / 1.457 GB, free: 15.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.322e-05/1.49, allocations: 4 kB / 1.457 GB, free: 15.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/1.49, allocations: 143.9 kB / 1.457 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/1.491, allocations: 170.4 kB / 1.458 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008173/1.499, allocations: 4.779 MB / 1.462 GB, free: 9.914 MB / 1.061 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.0213/1.52, allocations: 14.39 MB / 1.476 GB, free: 10.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006996/1.527, allocations: 4.554 MB / 1.481 GB, free: 6.008 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004185/1.531, allocations: 2.452 MB / 1.483 GB, free: 3.551 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001827/1.533, allocations: 1.62 MB / 1.485 GB, free: 1.598 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.134e-05/1.533, allocations: 85.64 kB / 1.485 GB, free: 1.504 MB / 1.076 GB Notification: Performance of pre-optimization done (n=392): time 7.213e-06/1.533, allocations: 3.938 kB / 1.485 GB, free: 1.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=392): time 0.01104/1.544, allocations: 5.531 MB / 1.49 GB, free: 11.94 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/1.545, allocations: 90.48 kB / 1.49 GB, free: 11.84 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/1.548, allocations: 1.692 MB / 1.492 GB, free: 10.1 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003996/1.548, allocations: 97.7 kB / 1.492 GB, free: 10 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009613/1.549, allocations: 1.132 MB / 1.493 GB, free: 8.855 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/1.55, allocations: 1.32 MB / 1.494 GB, free: 7.52 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005013/1.551, allocations: 268.8 kB / 1.495 GB, free: 7.25 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.551, allocations: 301.1 kB / 1.495 GB, free: 6.953 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002852/1.554, allocations: 1.568 MB / 1.496 GB, free: 5.383 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003253/1.557, allocations: 1.916 MB / 1.498 GB, free: 3.398 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006372/1.564, allocations: 3.766 MB / 1.502 GB, free: 15.54 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/1.564, allocations: 0 / 1.502 GB, free: 15.54 MB / 1.107 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007898/1.571, allocations: 4.173 MB / 1.506 GB, free: 11.34 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/1.572, allocations: 8 kB / 1.506 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/1.572, allocations: 4 kB / 1.506 GB, free: 11.33 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.204e-05/1.572, allocations: 20 kB / 1.506 GB, free: 11.31 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/1.575, allocations: 0.7027 MB / 1.507 GB, free: 10.61 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-05/1.575, allocations: 23.94 kB / 1.507 GB, free: 10.59 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003764/1.579, allocations: 476.7 kB / 1.507 GB, free: 10.12 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003836/1.579, allocations: 116 kB / 1.507 GB, free: 10 MB / 1.107 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.001952/1.581, allocations: 0.7977 MB / 1.508 GB, free: 9.195 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009596/1.582, allocations: 288.5 kB / 1.508 GB, free: 8.91 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008318/1.59, allocations: 4.433 MB / 1.513 GB, free: 4.441 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/1.59, allocations: 39.94 kB / 1.513 GB, free: 4.402 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/1.59, allocations: 0 / 1.513 GB, free: 4.402 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005893/1.596, allocations: 3.796 MB / 1.517 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/1.612, allocations: 8.649 MB / 1.525 GB, free: 7.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/1.612, allocations: 4 kB / 1.525 GB, free: 7.727 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003434/1.616, allocations: 0.722 MB / 1.526 GB, free: 7.004 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.317e-05/1.616, allocations: 16 kB / 1.526 GB, free: 6.988 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003577/1.616, allocations: 79.98 kB / 1.526 GB, free: 6.91 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.841e-05/1.616, allocations: 16 kB / 1.526 GB, free: 6.895 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/1.616, allocations: 4 kB / 1.526 GB, free: 6.891 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/1.627, allocations: 6.578 MB / 1.532 GB, free: 224 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002406/1.63, allocations: 0.7894 MB / 1.533 GB, free: 15.41 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008779/1.63, allocations: 71.98 kB / 1.533 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003283/1.634, allocations: 275.3 kB / 1.533 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006341/1.634, allocations: 242.5 kB / 1.534 GB, free: 14.83 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003998/1.635, allocations: 108 kB / 1.534 GB, free: 14.72 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002199/1.637, allocations: 1.157 MB / 1.535 GB, free: 13.54 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.51e-07/1.637, allocations: 0 / 1.535 GB, free: 13.54 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003683/1.641, allocations: 1.228 MB / 1.536 GB, free: 12.31 MB / 1.139 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.001165/1.642, allocations: 468.9 kB / 1.536 GB, free: 11.85 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007234/1.649, allocations: 3.92 MB / 1.54 GB, free: 7.918 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.649, allocations: 4 kB / 1.54 GB, free: 7.914 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004389/1.654, allocations: 2.15 MB / 1.542 GB, free: 5.766 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/1.664, allocations: 1.545 MB / 1.544 GB, free: 4.238 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/1.682, allocations: 9.483 MB / 1.553 GB, free: 10.68 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003405/1.686, allocations: 2.205 MB / 1.555 GB, free: 8.441 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.005901/1.692, allocations: 1.216 MB / 1.556 GB, free: 7.219 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/1.693, allocations: 271.3 kB / 1.557 GB, free: 6.953 MB / 1.154 GB Notification: Performance of SimCode: time 1.032e-06/1.693, allocations: 0 / 1.557 GB, free: 6.953 MB / 1.154 GB Notification: Performance of Templates: time 0.1042/1.798, allocations: 58.72 MB / 1.614 GB, free: 12.84 MB / 1.217 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)