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.001737/0.001737, 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.001913/0.001913, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.342/1.342, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.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.646/1.646, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001249/0.001249, allocations: 64.45 kB / 0.6708 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1931, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.638/0.8312, allocations: 312 MB / 1.087 GB, free: 10.41 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0257/0.857, allocations: 18.5 MB / 1.105 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005054/0.8621, allocations: 75.56 kB / 1.105 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005787/0.8679, allocations: 1.874 MB / 1.107 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01704/0.885, allocations: 6.845 MB / 1.114 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007718/0.8927, allocations: 2.952 MB / 1.117 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01345/0.9062, allocations: 13.09 MB / 1.13 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004102/0.9103, allocations: 2.639 MB / 1.132 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005835/0.9162, allocations: 2.899 MB / 1.135 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006494/0.9227, allocations: 3.355 MB / 1.138 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.9238, allocations: 232 kB / 1.139 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01514/0.939, allocations: 8.127 MB / 1.146 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002124/0.9411, allocations: 1.523 MB / 1.148 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003135/0.9443, allocations: 2.111 MB / 1.15 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.9578, allocations: 8.495 MB / 1.158 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.9578, allocations: 4 kB / 1.158 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9578, allocations: 0 / 1.158 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.896e-05/0.9579, allocations: 0 / 1.158 GB, free: 1.457 MB / 0.8575 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.01198/0.9699, allocations: 4.974 MB / 1.163 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.97, allocations: 12.03 kB / 1.163 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006592/0.9766, allocations: 1.006 MB / 1.164 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003969/0.9806, allocations: 2.15 MB / 1.166 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.9808, allocations: 242.4 kB / 1.166 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005709/0.9813, allocations: 335.9 kB / 1.167 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007247/0.9886, allocations: 4.232 MB / 1.171 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.438e-05/0.9887, allocations: 4 kB / 1.171 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/0.989, allocations: 136 kB / 1.171 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001745/0.9892, allocations: 170.4 kB / 1.171 GB, free: 4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007799/0.997, allocations: 4.772 MB / 1.176 GB, free: 15.22 MB / 0.8887 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.01925/1.016, allocations: 14.35 MB / 1.19 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005847/1.022, allocations: 4.565 MB / 1.194 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003447/1.026, allocations: 2.448 MB / 1.197 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001634/1.027, allocations: 1.612 MB / 1.198 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.883e-05/1.027, allocations: 81.62 kB / 1.198 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=392): time 4.989e-06/1.027, allocations: 3.938 kB / 1.198 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=392): time 0.009101/1.036, allocations: 5.539 MB / 1.204 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/1.037, allocations: 90.48 kB / 1.204 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/1.039, allocations: 1.663 MB / 1.206 GB, free: 15.47 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003129/1.039, allocations: 93.7 kB / 1.206 GB, free: 15.37 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000777/1.04, allocations: 1.128 MB / 1.207 GB, free: 14.23 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/1.041, allocations: 1.313 MB / 1.208 GB, free: 12.9 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000832/1.042, allocations: 0.5546 MB / 1.209 GB, free: 12.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.58e-05/1.042, allocations: 309.1 kB / 1.209 GB, free: 12.03 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/1.045, allocations: 1.564 MB / 1.21 GB, free: 10.46 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/1.048, allocations: 1.935 MB / 1.212 GB, free: 8.449 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005555/1.053, allocations: 3.773 MB / 1.216 GB, free: 4.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/1.053, allocations: 0 / 1.216 GB, free: 4.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006766/1.06, allocations: 4.162 MB / 1.22 GB, free: 412 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/1.06, allocations: 8 kB / 1.22 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.06, allocations: 4 kB / 1.22 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/1.06, allocations: 20 kB / 1.22 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003186/1.063, allocations: 0.6943 MB / 1.221 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.127e-05/1.063, allocations: 28.31 kB / 1.221 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003356/1.067, allocations: 426.6 kB / 1.221 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00028/1.067, allocations: 112 kB / 1.221 GB, free: 15.12 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.001572/1.068, allocations: 0.8093 MB / 1.222 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006942/1.069, allocations: 288.5 kB / 1.222 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007222/1.076, allocations: 4.421 MB / 1.227 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-05/1.076, allocations: 36 kB / 1.227 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.077, allocations: 0 / 1.227 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00537/1.082, allocations: 3.784 MB / 1.23 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.095, allocations: 8.613 MB / 1.239 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/1.095, allocations: 4 kB / 1.239 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003361/1.099, allocations: 0.7299 MB / 1.239 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.739e-05/1.099, allocations: 19.94 kB / 1.24 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/1.099, allocations: 87.97 kB / 1.24 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.76e-05/1.099, allocations: 12 kB / 1.24 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.099, allocations: 7.938 kB / 1.24 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/1.109, allocations: 6.827 MB / 1.246 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/1.111, allocations: 0.7973 MB / 1.247 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006836/1.112, allocations: 64 kB / 1.247 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002759/1.115, allocations: 279.4 kB / 1.247 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/1.115, allocations: 234.5 kB / 1.248 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.116, allocations: 116 kB / 1.248 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001669/1.117, allocations: 1.145 MB / 1.249 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.117, allocations: 4 kB / 1.249 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002787/1.12, allocations: 1.224 MB / 1.25 GB, free: 1.215 MB / 0.9512 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.0008939/1.121, allocations: 465.4 kB / 1.25 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005857/1.127, allocations: 3.929 MB / 1.254 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.127, allocations: 384 / 1.254 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00299/1.13, allocations: 2.156 MB / 1.256 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006986/1.137, allocations: 1.527 MB / 1.258 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/1.149, allocations: 9.128 MB / 1.267 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/1.151, allocations: 2.201 MB / 1.269 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004161/1.155, allocations: 1.192 MB / 1.27 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000975/1.156, allocations: 271.4 kB / 1.27 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/1.156, allocations: 0 / 1.27 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of Templates: time 0.4243/1.58, allocations: 59.48 MB / 1.328 GB, free: 383.2 MB / 0.9981 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 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)