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.001857/0.001857, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 186.2 kB / 16.62 MB, free: 6.613 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.499/1.499, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.735/1.735, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001429/0.001429, allocations: 67.98 kB / 0.6722 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2165, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7079/0.9244, allocations: 314.1 MB / 1.091 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02705/0.9515, allocations: 18.28 MB / 1.109 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004368/0.9559, allocations: 83.56 kB / 1.109 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005501/0.9615, allocations: 2.14 MB / 1.111 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01807/0.9796, allocations: 7.241 MB / 1.118 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008852/0.9884, allocations: 3.257 MB / 1.121 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01208/1.001, allocations: 9.071 MB / 1.13 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004628/1.005, allocations: 3.103 MB / 1.133 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00631/1.012, allocations: 3.302 MB / 1.136 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005846/1.017, allocations: 3.233 MB / 1.139 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0008571/1.018, allocations: 404 kB / 1.14 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01354/1.032, allocations: 7.007 MB / 1.147 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00224/1.034, allocations: 1.683 MB / 1.148 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00358/1.038, allocations: 2.307 MB / 1.15 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0137/1.051, allocations: 8.189 MB / 1.158 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/1.051, allocations: 3.938 kB / 1.159 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.034e-06/1.051, allocations: 3.938 kB / 1.159 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000155/1.052, allocations: 0 / 1.159 GB, free: 7.281 MB / 0.8731 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.01453/1.066, allocations: 4.986 MB / 1.163 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/1.066, allocations: 8.031 kB / 1.163 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006682/1.073, allocations: 1.002 MB / 1.164 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004197/1.077, allocations: 2.224 MB / 1.167 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/1.077, allocations: 242.4 kB / 1.167 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004955/1.078, allocations: 327.9 kB / 1.167 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006875/1.085, allocations: 4.239 MB / 1.171 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.182e-05/1.085, allocations: 7.984 kB / 1.171 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003195/1.085, allocations: 132 kB / 1.171 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/1.085, allocations: 174.3 kB / 1.172 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00764/1.093, allocations: 4.764 MB / 1.176 GB, free: 4.965 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.01956/1.113, allocations: 14.43 MB / 1.19 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006034/1.119, allocations: 4.559 MB / 1.195 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003558/1.122, allocations: 2.452 MB / 1.197 GB, free: 14.56 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001672/1.124, allocations: 1.604 MB / 1.199 GB, free: 12.62 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.337e-05/1.124, allocations: 89.56 kB / 1.199 GB, free: 12.52 MB / 0.92 GB Notification: Performance of pre-optimization done (n=392): time 6.652e-06/1.124, allocations: 0 / 1.199 GB, free: 12.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=392): time 0.009456/1.133, allocations: 5.527 MB / 1.204 GB, free: 6.973 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/1.133, allocations: 90.48 kB / 1.204 GB, free: 6.871 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/1.136, allocations: 1.671 MB / 1.206 GB, free: 5.156 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003157/1.137, allocations: 93.7 kB / 1.206 GB, free: 5.059 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008351/1.137, allocations: 1.128 MB / 1.207 GB, free: 3.918 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001255/1.139, allocations: 1.309 MB / 1.208 GB, free: 2.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008988/1.14, allocations: 0.5546 MB / 1.209 GB, free: 2.027 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.14, allocations: 309 kB / 1.209 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/1.142, allocations: 1.564 MB / 1.211 GB, free: 160 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002797/1.145, allocations: 1.935 MB / 1.213 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00568/1.151, allocations: 3.773 MB / 1.216 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/1.151, allocations: 4.062 kB / 1.216 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007252/1.158, allocations: 4.162 MB / 1.22 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/1.158, allocations: 11.94 kB / 1.22 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.158, allocations: 12.02 kB / 1.22 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.297e-05/1.158, allocations: 20 kB / 1.22 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/1.161, allocations: 0.6904 MB / 1.221 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.095e-05/1.161, allocations: 27.92 kB / 1.221 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/1.164, allocations: 255.6 kB / 1.221 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/1.164, allocations: 120 kB / 1.221 GB, free: 4.961 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.001509/1.166, allocations: 0.8054 MB / 1.222 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007241/1.166, allocations: 284.6 kB / 1.223 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009378/1.176, allocations: 4.422 MB / 1.227 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-05/1.176, allocations: 36 kB / 1.227 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/1.176, allocations: 4 kB / 1.227 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00836/1.184, allocations: 3.784 MB / 1.231 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02056/1.205, allocations: 8.609 MB / 1.239 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-05/1.205, allocations: 12.02 kB / 1.239 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005067/1.21, allocations: 0.7295 MB / 1.24 GB, free: 2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-05/1.21, allocations: 16 kB / 1.24 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004451/1.211, allocations: 83.98 kB / 1.24 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.351e-05/1.211, allocations: 23.98 kB / 1.24 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/1.211, allocations: 7.938 kB / 1.24 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/1.226, allocations: 6.814 MB / 1.246 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/1.228, allocations: 0.7894 MB / 1.247 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009438/1.229, allocations: 75.98 kB / 1.247 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003019/1.232, allocations: 91.84 kB / 1.247 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005327/1.233, allocations: 234.6 kB / 1.248 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003242/1.233, allocations: 112 kB / 1.248 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001923/1.235, allocations: 1.145 MB / 1.249 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.235, allocations: 3.938 kB / 1.249 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003397/1.238, allocations: 1.228 MB / 1.25 GB, free: 7.242 MB / 0.9669 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.0009646/1.239, allocations: 477.3 kB / 1.251 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006175/1.245, allocations: 3.947 MB / 1.254 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.245, allocations: 4 kB / 1.254 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/1.248, allocations: 2.153 MB / 1.256 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007187/1.256, allocations: 1.605 MB / 1.258 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.268, allocations: 7.608 MB / 1.265 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/1.27, allocations: 2.2 MB / 1.268 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003983/1.274, allocations: 1.204 MB / 1.269 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.275, allocations: 267.4 kB / 1.269 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of SimCode: time 7.41e-07/1.275, allocations: 0 / 1.269 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of Templates: time 0.4645/1.739, allocations: 62.18 MB / 1.33 GB, free: 374.5 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)