Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.01107/0.01107, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.001693/0.001694, allocations: 188.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 251.7 MB / 0.5094 GB, free: 416 kB / 430.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.002484/0.002484, allocations: 63.91 kB / 0.7258 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8854/0.8879, allocations: 104.7 MB / 0.828 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.27/2.158, allocations: 314.6 MB / 1.135 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02255/2.18, allocations: 18.44 MB / 1.153 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00458/2.185, allocations: 85.38 kB / 1.153 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005441/2.191, allocations: 2.25 MB / 1.156 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01989/2.211, allocations: 7.504 MB / 1.163 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009547/2.22, allocations: 3.386 MB / 1.166 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01226/2.232, allocations: 9.333 MB / 1.175 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005567/2.238, allocations: 3.165 MB / 1.178 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007493/2.245, allocations: 3.484 MB / 1.182 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006869/2.252, allocations: 3.264 MB / 1.185 GB, free: 16.76 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001802/2.254, allocations: 411.4 kB / 1.185 GB, free: 16.76 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01704/2.271, allocations: 7.039 MB / 1.192 GB, free: 16.69 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003839/2.275, allocations: 1.72 MB / 1.194 GB, free: 16.53 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008683/2.284, allocations: 2.334 MB / 1.196 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.02172/2.306, allocations: 8.299 MB / 1.204 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/2.306, allocations: 4 kB / 1.204 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.955e-06/2.306, allocations: 0 / 1.204 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002862/2.306, allocations: 0 / 1.204 GB, free: 14.1 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.025/2.331, allocations: 5.028 MB / 1.209 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/2.331, allocations: 10.56 kB / 1.209 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007792/2.339, allocations: 1.013 MB / 1.21 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007905/2.347, allocations: 2.238 MB / 1.212 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008526/2.348, allocations: 247.6 kB / 1.213 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003028/2.351, allocations: 335.1 kB / 1.213 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/2.369, allocations: 4.267 MB / 1.217 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001895/2.369, allocations: 11 kB / 1.217 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001343/2.371, allocations: 136.6 kB / 1.217 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003323/2.371, allocations: 166.5 kB / 1.217 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/2.389, allocations: 4.795 MB / 1.222 GB, free: 2.32 MB / 0.9044 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.04521/2.434, allocations: 14.47 MB / 1.236 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01378/2.448, allocations: 4.546 MB / 1.241 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00799/2.456, allocations: 2.443 MB / 1.243 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003092/2.459, allocations: 1.61 MB / 1.245 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/2.459, allocations: 81.64 kB / 1.245 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=392): time 1.616e-05/2.459, allocations: 0 / 1.245 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=392): time 0.02212/2.481, allocations: 5.523 MB / 1.25 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/2.482, allocations: 90.48 kB / 1.25 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005333/2.487, allocations: 1.683 MB / 1.252 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/2.488, allocations: 97.7 kB / 1.252 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/2.489, allocations: 1.134 MB / 1.253 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.002633/2.492, allocations: 1.325 MB / 1.254 GB, free: 300 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002823/2.495, allocations: 0.5507 MB / 1.255 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001518/2.495, allocations: 305.1 kB / 1.255 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/2.498, allocations: 1.553 MB / 1.257 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003962/2.502, allocations: 1.93 MB / 1.259 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007478/2.51, allocations: 3.75 MB / 1.262 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/2.51, allocations: 4 kB / 1.262 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01096/2.521, allocations: 4.144 MB / 1.266 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/2.521, allocations: 12.59 kB / 1.266 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/2.521, allocations: 8 kB / 1.266 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.53e-05/2.521, allocations: 20 kB / 1.266 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003546/2.525, allocations: 0.6988 MB / 1.267 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.918e-05/2.525, allocations: 26.56 kB / 1.267 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/2.528, allocations: 261.1 kB / 1.267 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005046/2.529, allocations: 112 kB / 1.267 GB, free: 2.828 MB / 0.9512 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.002437/2.531, allocations: 0.8126 MB / 1.268 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/2.533, allocations: 296.5 kB / 1.268 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008838/2.541, allocations: 4.413 MB / 1.273 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.424e-05/2.542, allocations: 39.98 kB / 1.273 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/2.542, allocations: 8 kB / 1.273 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006253/2.548, allocations: 3.77 MB / 1.277 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/2.566, allocations: 8.608 MB / 1.285 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/2.566, allocations: 4.312 kB / 1.285 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003534/2.569, allocations: 0.7306 MB / 1.286 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6e-05/2.569, allocations: 16 kB / 1.286 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000451/2.57, allocations: 88.27 kB / 1.286 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.034e-05/2.57, allocations: 23.22 kB / 1.286 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/2.57, allocations: 8 kB / 1.286 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/2.583, allocations: 6.793 MB / 1.292 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002821/2.585, allocations: 0.8089 MB / 1.293 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001269/2.587, allocations: 79.17 kB / 1.293 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003383/2.59, allocations: 98.44 kB / 1.293 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006356/2.591, allocations: 230.7 kB / 1.294 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003868/2.591, allocations: 120 kB / 1.294 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002597/2.594, allocations: 1.157 MB / 1.295 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.81e-07/2.594, allocations: 0 / 1.295 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004668/2.599, allocations: 1.24 MB / 1.296 GB, free: 5.293 MB / 0.9825 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.001385/2.6, allocations: 470.5 kB / 1.296 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00721/2.607, allocations: 3.935 MB / 1.3 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/2.607, allocations: 7.953 kB / 1.3 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003779/2.611, allocations: 2.148 MB / 1.302 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009989/2.621, allocations: 1.609 MB / 1.304 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/2.638, allocations: 7.662 MB / 1.311 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002895/2.641, allocations: 2.213 MB / 1.314 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006123/2.647, allocations: 1.2 MB / 1.315 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/2.649, allocations: 271.3 kB / 1.315 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of SimCode: time 1.292e-06/2.649, allocations: 0 / 1.315 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.1128/2.762, allocations: 63.49 MB / 1.377 GB, free: 3.379 MB / 1.061 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)