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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001263/0.001263, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.98 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3047, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9585/1.263, allocations: 312 MB / 1.372 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02891/1.292, allocations: 18.66 MB / 1.39 GB, free: 7.172 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004911/1.297, allocations: 80.91 kB / 1.391 GB, free: 7.172 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006503/1.304, allocations: 1.878 MB / 1.392 GB, free: 6.59 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02023/1.324, allocations: 6.905 MB / 1.399 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008953/1.333, allocations: 2.922 MB / 1.402 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0148/1.348, allocations: 13.13 MB / 1.415 GB, free: 9.793 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004649/1.352, allocations: 2.657 MB / 1.417 GB, free: 8.156 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006512/1.359, allocations: 2.892 MB / 1.42 GB, free: 6.715 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007182/1.366, allocations: 3.361 MB / 1.423 GB, free: 4.844 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001086/1.367, allocations: 226.2 kB / 1.424 GB, free: 4.844 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01654/1.384, allocations: 8.126 MB / 1.432 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002904/1.387, allocations: 1.519 MB / 1.433 GB, free: 11.76 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004626/1.391, allocations: 2.119 MB / 1.435 GB, free: 9.633 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01788/1.409, allocations: 8.491 MB / 1.443 GB, free: 1.117 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.409, allocations: 0 / 1.443 GB, free: 1.117 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/1.409, allocations: 0 / 1.443 GB, free: 1.117 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001861/1.41, allocations: 0 / 1.443 GB, free: 1.117 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.01498/1.425, allocations: 4.993 MB / 1.448 GB, free: 12.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.425, allocations: 12.03 kB / 1.448 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007288/1.432, allocations: 1.006 MB / 1.449 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004758/1.437, allocations: 2.17 MB / 1.451 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/1.437, allocations: 242.4 kB / 1.452 GB, free: 8.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007221/1.438, allocations: 320 kB / 1.452 GB, free: 8.258 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007866/1.446, allocations: 4.243 MB / 1.456 GB, free: 3.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.23e-05/1.446, allocations: 4 kB / 1.456 GB, free: 3.926 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000315/1.446, allocations: 136 kB / 1.456 GB, free: 3.793 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001778/1.446, allocations: 174.3 kB / 1.456 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008324/1.455, allocations: 4.776 MB / 1.461 GB, free: 14.84 MB / 1.076 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.02113/1.476, allocations: 14.37 MB / 1.475 GB, free: 15.48 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006071/1.482, allocations: 4.556 MB / 1.48 GB, free: 10.94 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003459/1.485, allocations: 2.448 MB / 1.482 GB, free: 8.484 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/1.487, allocations: 1.616 MB / 1.484 GB, free: 6.539 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/1.487, allocations: 69.64 kB / 1.484 GB, free: 6.461 MB / 1.092 GB Notification: Performance of pre-optimization done (n=392): time 7.474e-06/1.487, allocations: 3.984 kB / 1.484 GB, free: 6.457 MB / 1.092 GB Notification: Performance of matching and sorting (n=392): time 0.009261/1.496, allocations: 5.539 MB / 1.489 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/1.496, allocations: 90.48 kB / 1.489 GB, free: 0.793 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/1.499, allocations: 1.682 MB / 1.491 GB, free: 15.07 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002675/1.499, allocations: 93.7 kB / 1.491 GB, free: 14.97 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007774/1.5, allocations: 1.132 MB / 1.492 GB, free: 13.83 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001145/1.501, allocations: 1.324 MB / 1.493 GB, free: 12.48 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008518/1.502, allocations: 0.5468 MB / 1.494 GB, free: 11.93 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.018e-05/1.502, allocations: 313 kB / 1.494 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/1.504, allocations: 1.568 MB / 1.496 GB, free: 10.05 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/1.507, allocations: 1.919 MB / 1.497 GB, free: 8.066 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005678/1.513, allocations: 3.766 MB / 1.501 GB, free: 4.215 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/1.513, allocations: 4 kB / 1.501 GB, free: 4.211 MB / 1.107 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007254/1.52, allocations: 4.174 MB / 1.505 GB, free: 12 kB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/1.52, allocations: 4 kB / 1.505 GB, free: 8 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/1.52, allocations: 8 kB / 1.505 GB, free: 0 / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.72e-05/1.52, allocations: 16.05 kB / 1.505 GB, free: 15.98 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/1.523, allocations: 0.6982 MB / 1.506 GB, free: 15.29 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.069e-05/1.523, allocations: 29.36 kB / 1.506 GB, free: 15.26 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/1.527, allocations: 480.9 kB / 1.506 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002429/1.527, allocations: 116 kB / 1.507 GB, free: 14.67 MB / 1.123 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.001565/1.528, allocations: 0.7976 MB / 1.507 GB, free: 13.86 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007499/1.529, allocations: 292.5 kB / 1.508 GB, free: 13.57 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007372/1.537, allocations: 4.433 MB / 1.512 GB, free: 9.102 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/1.537, allocations: 36 kB / 1.512 GB, free: 9.066 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.537, allocations: 3.938 kB / 1.512 GB, free: 9.062 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005615/1.542, allocations: 3.807 MB / 1.516 GB, free: 5.188 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/1.557, allocations: 8.637 MB / 1.524 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/1.557, allocations: 4 kB / 1.524 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003471/1.561, allocations: 0.7256 MB / 1.525 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.196e-05/1.561, allocations: 12 kB / 1.525 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002946/1.561, allocations: 83.98 kB / 1.525 GB, free: 11.56 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.267e-05/1.561, allocations: 24.05 kB / 1.525 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.561, allocations: 7.938 kB / 1.525 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009838/1.571, allocations: 6.564 MB / 1.531 GB, free: 4.871 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/1.573, allocations: 0.7933 MB / 1.532 GB, free: 4.055 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005609/1.574, allocations: 75.98 kB / 1.532 GB, free: 3.98 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002603/1.577, allocations: 259.5 kB / 1.532 GB, free: 3.727 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/1.577, allocations: 238.5 kB / 1.533 GB, free: 3.492 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.577, allocations: 120 kB / 1.533 GB, free: 3.375 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001666/1.579, allocations: 1.157 MB / 1.534 GB, free: 2.195 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.61e-07/1.579, allocations: 0 / 1.534 GB, free: 2.195 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003173/1.582, allocations: 1.224 MB / 1.535 GB, free: 0.9688 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.001047/1.583, allocations: 463 kB / 1.536 GB, free: 0.5156 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006202/1.589, allocations: 3.925 MB / 1.539 GB, free: 12.58 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.589, allocations: 0 / 1.539 GB, free: 12.58 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003243/1.593, allocations: 2.148 MB / 1.541 GB, free: 10.43 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007602/1.6, allocations: 1.53 MB / 1.543 GB, free: 8.91 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/1.613, allocations: 9.181 MB / 1.552 GB, free: 15.66 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001785/1.615, allocations: 2.205 MB / 1.554 GB, free: 13.41 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.004643/1.62, allocations: 1.212 MB / 1.555 GB, free: 12.2 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.621, allocations: 271.4 kB / 1.556 GB, free: 11.93 MB / 1.17 GB Notification: Performance of SimCode: time 1.052e-06/1.621, allocations: 0 / 1.556 GB, free: 11.93 MB / 1.17 GB Notification: Performance of Templates: time 0.0975/1.718, allocations: 59.22 MB / 1.613 GB, free: 1.34 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)