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.001412/0.001416, allocations: 102.8 kB / 16.35 MB, free: 6.348 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.001611/0.001611, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.345/1.345, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.753/1.753, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001616/0.001616, allocations: 67.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2362, allocations: 114.5 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6799/0.9161, allocations: 314.1 MB / 1.091 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02702/0.9432, allocations: 18.28 MB / 1.109 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003709/0.9469, allocations: 79.62 kB / 1.109 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005674/0.9526, allocations: 2.148 MB / 1.112 GB, free: 11 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01725/0.9699, allocations: 7.243 MB / 1.119 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.008254/0.9782, allocations: 3.259 MB / 1.122 GB, free: 480 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.9894, allocations: 9.064 MB / 1.131 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004584/0.994, allocations: 3.095 MB / 1.134 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006628/1.001, allocations: 3.313 MB / 1.137 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5004/1.501, allocations: 3.221 MB / 1.14 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00166/1.503, allocations: 403.2 kB / 1.14 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01636/1.519, allocations: 7.006 MB / 1.147 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003825/1.523, allocations: 1.682 MB / 1.149 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008531/1.532, allocations: 2.304 MB / 1.151 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02299/1.555, allocations: 8.196 MB / 1.159 GB, free: 14.31 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.555, allocations: 2.5 kB / 1.159 GB, free: 14.31 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.144e-06/1.555, allocations: 0 / 1.159 GB, free: 14.31 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002398/1.555, allocations: 2.766 kB / 1.159 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.01979/1.575, allocations: 4.975 MB / 1.164 GB, free: 12.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.575, allocations: 10.78 kB / 1.164 GB, free: 12.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008173/1.583, allocations: 1.007 MB / 1.165 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005911/1.589, allocations: 2.138 MB / 1.167 GB, free: 11.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/1.589, allocations: 247.5 kB / 1.167 GB, free: 11.65 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009572/1.59, allocations: 332.7 kB / 1.168 GB, free: 11.65 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008103/1.598, allocations: 4.233 MB / 1.172 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-05/1.598, allocations: 10.06 kB / 1.172 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003522/1.599, allocations: 133.6 kB / 1.172 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/1.599, allocations: 169.8 kB / 1.172 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009201/1.608, allocations: 4.776 MB / 1.177 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.02298/1.631, allocations: 14.42 MB / 1.191 GB, free: 20.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/1.637, allocations: 4.567 MB / 1.195 GB, free: 20.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003492/1.64, allocations: 2.447 MB / 1.198 GB, free: 20.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001634/1.642, allocations: 1.608 MB / 1.199 GB, free: 19.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.05e-05/1.642, allocations: 78.06 kB / 1.199 GB, free: 18.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=392): time 5.47e-06/1.642, allocations: 0.9062 kB / 1.199 GB, free: 18.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=392): time 0.00937/1.651, allocations: 5.529 MB / 1.205 GB, free: 18.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/1.652, allocations: 94.77 kB / 1.205 GB, free: 18.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/1.654, allocations: 1.668 MB / 1.206 GB, free: 18.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004577/1.654, allocations: 93.17 kB / 1.207 GB, free: 18.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006396/1.655, allocations: 1.126 MB / 1.208 GB, free: 17.96 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.656, allocations: 1.318 MB / 1.209 GB, free: 17.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008476/1.657, allocations: 0.5504 MB / 1.209 GB, free: 17.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.689e-05/1.657, allocations: 306.4 kB / 1.21 GB, free: 16.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/1.659, allocations: 1.56 MB / 1.211 GB, free: 16.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/1.662, allocations: 1.938 MB / 1.213 GB, free: 16.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005314/1.667, allocations: 3.765 MB / 1.217 GB, free: 16.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/1.668, allocations: 7.672 kB / 1.217 GB, free: 16.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006873/1.674, allocations: 4.162 MB / 1.221 GB, free: 16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/1.674, allocations: 9.844 kB / 1.221 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/1.674, allocations: 5.688 kB / 1.221 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/1.675, allocations: 21.38 kB / 1.221 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/1.678, allocations: 0.6913 MB / 1.222 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.62e-05/1.678, allocations: 31.52 kB / 1.222 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/1.681, allocations: 257.3 kB / 1.222 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/1.681, allocations: 117.7 kB / 1.222 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.001711/1.683, allocations: 0.7965 MB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007987/1.684, allocations: 290.9 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00672/1.69, allocations: 4.419 MB / 1.227 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/1.691, allocations: 38.56 kB / 1.227 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.691, allocations: 3.938 kB / 1.227 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004977/1.696, allocations: 3.781 MB / 1.231 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/1.71, allocations: 8.613 MB / 1.24 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.71, allocations: 5.578 kB / 1.24 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003315/1.713, allocations: 0.737 MB / 1.24 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.281e-05/1.713, allocations: 17.98 kB / 1.24 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002354/1.714, allocations: 84.44 kB / 1.24 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.659e-05/1.714, allocations: 17.78 kB / 1.24 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.714, allocations: 3.781 kB / 1.24 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008654/1.722, allocations: 6.832 MB / 1.247 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/1.725, allocations: 0.7876 MB / 1.248 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005268/1.725, allocations: 74.03 kB / 1.248 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.727, allocations: 88.89 kB / 1.248 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003945/1.728, allocations: 235.9 kB / 1.248 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000232/1.728, allocations: 113.4 kB / 1.248 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001497/1.729, allocations: 1.144 MB / 1.249 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.729, allocations: 1.156 kB / 1.249 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003604/1.733, allocations: 1.239 MB / 1.251 GB, free: 11.75 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.00158/1.735, allocations: 464.8 kB / 1.251 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.745, allocations: 3.946 MB / 1.255 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.745, allocations: 1.969 kB / 1.255 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005749/1.751, allocations: 2.159 MB / 1.257 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01293/1.764, allocations: 1.588 MB / 1.259 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/1.783, allocations: 7.619 MB / 1.266 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002529/1.786, allocations: 2.2 MB / 1.268 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00675/1.792, allocations: 1.204 MB / 1.269 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/1.794, allocations: 271.4 kB / 1.27 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of SimCode: time 9.81e-07/1.794, allocations: 0 / 1.27 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of Templates: time 0.1117/1.906, allocations: 62.19 MB / 1.33 GB, free: 14 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)