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.001312/0.001312, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001517/0.001517, allocations: 187.2 kB / 16.25 MB, free: 6.625 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.37/1.37, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.702/1.702, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001463/0.001463, allocations: 66.8 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2652, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8468/1.112, allocations: 310.5 MB / 1.086 GB, free: 12.57 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0295/1.142, allocations: 18.19 MB / 1.104 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00669/1.148, allocations: 75.56 kB / 1.104 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007914/1.156, allocations: 1.929 MB / 1.106 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02559/1.182, allocations: 6.828 MB / 1.112 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/1.194, allocations: 3.011 MB / 1.115 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01415/1.208, allocations: 9.058 MB / 1.124 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006063/1.214, allocations: 3.03 MB / 1.127 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008116/1.222, allocations: 3.356 MB / 1.13 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008044/1.23, allocations: 3.434 MB / 1.134 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00201/1.232, allocations: 404 kB / 1.134 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01685/1.249, allocations: 7.301 MB / 1.141 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003356/1.252, allocations: 1.683 MB / 1.143 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006405/1.259, allocations: 2.307 MB / 1.145 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02213/1.281, allocations: 8.64 MB / 1.154 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.281, allocations: 4 kB / 1.154 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.067e-06/1.281, allocations: 4 kB / 1.154 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002876/1.281, allocations: 3.938 kB / 1.154 GB, free: 7.293 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.01598/1.297, allocations: 4.978 MB / 1.159 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.297, allocations: 15.97 kB / 1.159 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007494/1.305, allocations: 1.002 MB / 1.16 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004932/1.31, allocations: 2.142 MB / 1.162 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/1.31, allocations: 242.4 kB / 1.162 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000943/1.311, allocations: 331.9 kB / 1.162 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007931/1.319, allocations: 4.235 MB / 1.166 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-05/1.319, allocations: 4 kB / 1.166 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003482/1.32, allocations: 132 kB / 1.166 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/1.32, allocations: 174.4 kB / 1.167 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009007/1.329, allocations: 4.772 MB / 1.171 GB, free: 5.055 MB / 0.8731 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.024/1.353, allocations: 14.35 MB / 1.185 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006472/1.359, allocations: 4.572 MB / 1.19 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003657/1.363, allocations: 2.448 MB / 1.192 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001889/1.365, allocations: 1.612 MB / 1.194 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.172e-05/1.365, allocations: 73.64 kB / 1.194 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=392): time 5.49e-06/1.365, allocations: 0 / 1.194 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=392): time 0.009865/1.375, allocations: 5.535 MB / 1.199 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/1.375, allocations: 98.48 kB / 1.199 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/1.378, allocations: 1.667 MB / 1.201 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006014/1.378, allocations: 93.7 kB / 1.201 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008299/1.379, allocations: 1.12 MB / 1.202 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001556/1.381, allocations: 1.32 MB / 1.203 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009062/1.382, allocations: 0.5546 MB / 1.204 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.382, allocations: 305.1 kB / 1.204 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/1.384, allocations: 1.56 MB / 1.206 GB, free: 312 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002772/1.387, allocations: 1.939 MB / 1.208 GB, free: 14.28 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005461/1.392, allocations: 3.773 MB / 1.211 GB, free: 10.42 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/1.392, allocations: 0 / 1.211 GB, free: 10.42 MB / 0.92 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006868/1.399, allocations: 4.166 MB / 1.215 GB, free: 6.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/1.399, allocations: 8 kB / 1.215 GB, free: 6.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/1.399, allocations: 4 kB / 1.215 GB, free: 6.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.538e-05/1.399, allocations: 20 kB / 1.215 GB, free: 6.199 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/1.403, allocations: 0.6943 MB / 1.216 GB, free: 5.504 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.502e-05/1.403, allocations: 16 kB / 1.216 GB, free: 5.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003927/1.407, allocations: 432.9 kB / 1.217 GB, free: 5.062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000461/1.407, allocations: 115.9 kB / 1.217 GB, free: 4.949 MB / 0.92 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.001702/1.409, allocations: 0.8015 MB / 1.217 GB, free: 4.137 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000799/1.41, allocations: 292.5 kB / 1.218 GB, free: 3.848 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007096/1.417, allocations: 4.426 MB / 1.222 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.104e-05/1.417, allocations: 39.94 kB / 1.222 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.417, allocations: 4 kB / 1.222 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005361/1.422, allocations: 3.784 MB / 1.226 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/1.438, allocations: 8.604 MB / 1.234 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.438, allocations: 4 kB / 1.234 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003416/1.441, allocations: 0.7376 MB / 1.235 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.638e-05/1.442, allocations: 16 kB / 1.235 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002818/1.442, allocations: 83.98 kB / 1.235 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-05/1.442, allocations: 15.98 kB / 1.235 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.442, allocations: 4 kB / 1.235 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009973/1.452, allocations: 6.827 MB / 1.242 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/1.454, allocations: 0.7895 MB / 1.242 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006109/1.455, allocations: 71.98 kB / 1.243 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/1.458, allocations: 279 kB / 1.243 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004672/1.458, allocations: 234.5 kB / 1.243 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/1.458, allocations: 116 kB / 1.243 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001575/1.46, allocations: 1.145 MB / 1.244 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/1.46, allocations: 0 / 1.244 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003173/1.463, allocations: 1.228 MB / 1.245 GB, free: 7.051 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.001063/1.464, allocations: 465 kB / 1.246 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02125/1.485, allocations: 9.845 MB / 1.255 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.485, allocations: 5.25 kB / 1.256 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00322/1.489, allocations: 2.153 MB / 1.258 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007187/1.496, allocations: 1.598 MB / 1.259 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/1.509, allocations: 9.111 MB / 1.268 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/1.51, allocations: 2.193 MB / 1.27 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004395/1.515, allocations: 1.208 MB / 1.271 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.516, allocations: 271.4 kB / 1.272 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of SimCode: time 7.12e-07/1.516, allocations: 0 / 1.272 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of Templates: time 0.5173/2.033, allocations: 61.85 MB / 1.332 GB, free: 382.3 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)