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.001465/0.001465, allocations: 103.2 kB / 16.29 MB, free: 6.426 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.001785/0.001785, allocations: 188.6 kB / 17.22 MB, free: 5.957 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.297/1.297, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.613/1.613, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001242/0.001242, allocations: 71.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.173, allocations: 114.6 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5304/0.7034, allocations: 314.1 MB / 1.091 GB, free: 120 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02172/0.7251, allocations: 18.28 MB / 1.109 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.7274, allocations: 83.62 kB / 1.109 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003821/0.7312, allocations: 2.152 MB / 1.111 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01297/0.7442, allocations: 7.227 MB / 1.118 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006188/0.7504, allocations: 3.261 MB / 1.121 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008086/0.7585, allocations: 9.055 MB / 1.13 GB, free: 7.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.7615, allocations: 3.114 MB / 1.133 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.7653, allocations: 3.306 MB / 1.136 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3651/1.13, allocations: 3.225 MB / 1.139 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008341/1.131, allocations: 403.4 kB / 1.14 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/1.142, allocations: 7.003 MB / 1.147 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00194/1.144, allocations: 1.682 MB / 1.148 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003055/1.147, allocations: 2.303 MB / 1.15 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01331/1.161, allocations: 8.191 MB / 1.158 GB, free: 14.31 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.161, allocations: 1.656 kB / 1.158 GB, free: 14.31 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/1.161, allocations: 0.8438 kB / 1.158 GB, free: 14.31 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001199/1.161, allocations: 0.7812 kB / 1.158 GB, free: 14.31 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.01315/1.174, allocations: 4.982 MB / 1.163 GB, free: 12.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/1.174, allocations: 10.78 kB / 1.163 GB, free: 12.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006078/1.18, allocations: 1.006 MB / 1.164 GB, free: 12.22 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/1.184, allocations: 2.142 MB / 1.166 GB, free: 11.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/1.184, allocations: 245.3 kB / 1.167 GB, free: 11.65 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004804/1.184, allocations: 331.3 kB / 1.167 GB, free: 11.64 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007112/1.191, allocations: 4.232 MB / 1.171 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.471e-05/1.191, allocations: 10.66 kB / 1.171 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003193/1.192, allocations: 141.6 kB / 1.171 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/1.192, allocations: 168.7 kB / 1.171 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007948/1.2, allocations: 4.77 MB / 1.176 GB, free: 11.31 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.0168/1.217, allocations: 14.41 MB / 1.19 GB, free: 20.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/1.221, allocations: 4.576 MB / 1.195 GB, free: 20.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002688/1.224, allocations: 2.448 MB / 1.197 GB, free: 20.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/1.226, allocations: 1.61 MB / 1.199 GB, free: 19.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/1.226, allocations: 80.95 kB / 1.199 GB, free: 18.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=392): time 6.582e-06/1.226, allocations: 1.062 kB / 1.199 GB, free: 18.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=392): time 0.007457/1.233, allocations: 5.529 MB / 1.204 GB, free: 18.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/1.233, allocations: 92.33 kB / 1.204 GB, free: 18.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/1.235, allocations: 1.672 MB / 1.206 GB, free: 18.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002502/1.235, allocations: 94.36 kB / 1.206 GB, free: 18.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005239/1.236, allocations: 1.121 MB / 1.207 GB, free: 17.96 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008089/1.237, allocations: 1.325 MB / 1.208 GB, free: 17.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007489/1.238, allocations: 0.5489 MB / 1.209 GB, free: 17.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/1.238, allocations: 304.2 kB / 1.209 GB, free: 16.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/1.24, allocations: 1.565 MB / 1.211 GB, free: 16.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/1.242, allocations: 1.934 MB / 1.212 GB, free: 16.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004497/1.246, allocations: 3.762 MB / 1.216 GB, free: 16.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.246, allocations: 1 kB / 1.216 GB, free: 16.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005805/1.252, allocations: 4.174 MB / 1.22 GB, free: 16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.252, allocations: 6.094 kB / 1.22 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.252, allocations: 5.375 kB / 1.22 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/1.252, allocations: 20.22 kB / 1.22 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/1.255, allocations: 0.6894 MB / 1.221 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.231e-05/1.255, allocations: 28.39 kB / 1.221 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/1.258, allocations: 261.4 kB / 1.221 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/1.258, allocations: 117.8 kB / 1.221 GB, free: 15.86 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.001404/1.259, allocations: 0.7982 MB / 1.222 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005917/1.26, allocations: 289.8 kB / 1.222 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006005/1.266, allocations: 4.413 MB / 1.227 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/1.266, allocations: 37.19 kB / 1.227 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.266, allocations: 9.375 kB / 1.227 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004337/1.27, allocations: 3.789 MB / 1.23 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/1.281, allocations: 8.611 MB / 1.239 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/1.281, allocations: 3 kB / 1.239 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/1.284, allocations: 0.7318 MB / 1.24 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.728e-05/1.284, allocations: 16.22 kB / 1.24 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/1.284, allocations: 85.98 kB / 1.24 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/1.284, allocations: 19.12 kB / 1.24 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.284, allocations: 2.344 kB / 1.24 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007475/1.292, allocations: 6.816 MB / 1.246 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/1.293, allocations: 0.8011 MB / 1.247 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/1.294, allocations: 66.16 kB / 1.247 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.295, allocations: 89.36 kB / 1.247 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/1.296, allocations: 238.3 kB / 1.247 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/1.296, allocations: 114.2 kB / 1.248 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001203/1.297, allocations: 1.146 MB / 1.249 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/1.297, allocations: 1.781 kB / 1.249 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002227/1.299, allocations: 1.236 MB / 1.25 GB, free: 12.15 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.0007385/1.3, allocations: 464.7 kB / 1.25 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004809/1.305, allocations: 3.956 MB / 1.254 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.305, allocations: 0.9375 kB / 1.254 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002544/1.308, allocations: 2.15 MB / 1.256 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005261/1.313, allocations: 1.59 MB / 1.258 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009627/1.322, allocations: 7.621 MB / 1.265 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/1.324, allocations: 2.197 MB / 1.267 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003018/1.327, allocations: 1.202 MB / 1.269 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008573/1.328, allocations: 271.4 kB / 1.269 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of SimCode: time 2.265e-06/1.328, allocations: 0 / 1.269 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of Templates: time 0.9915/2.319, allocations: 62.2 MB / 1.33 GB, free: 14.41 MB / 1.014 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)