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.001373/0.001373, allocations: 110.3 kB / 16.37 MB, free: 5.953 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.001135/0.001135, allocations: 190.2 kB / 17.31 MB, free: 5.574 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.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001431/0.001431, allocations: 63.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.224, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6853/0.9094, allocations: 314.1 MB / 1.092 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0288/0.9382, allocations: 18.27 MB / 1.109 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004819/0.9431, allocations: 79.62 kB / 1.109 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006316/0.9495, allocations: 2.148 MB / 1.112 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01964/0.9692, allocations: 7.248 MB / 1.119 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.009647/0.9788, allocations: 3.253 MB / 1.122 GB, free: 472 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01282/0.9917, allocations: 9.058 MB / 1.131 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005622/0.9973, allocations: 3.107 MB / 1.134 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007116/1.004, allocations: 3.31 MB / 1.137 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5286/1.533, allocations: 3.22 MB / 1.14 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001774/1.535, allocations: 405.6 kB / 1.14 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01687/1.552, allocations: 7.003 MB / 1.147 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004258/1.556, allocations: 1.689 MB / 1.149 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008638/1.565, allocations: 2.299 MB / 1.151 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0237/1.588, allocations: 8.195 MB / 1.159 GB, free: 14.33 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/1.588, allocations: 0.9688 kB / 1.159 GB, free: 14.33 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.766e-06/1.589, allocations: 0 / 1.159 GB, free: 14.33 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002742/1.589, allocations: 0 / 1.159 GB, free: 14.33 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.02075/1.61, allocations: 4.977 MB / 1.164 GB, free: 12.46 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.61, allocations: 10.5 kB / 1.164 GB, free: 12.46 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008587/1.618, allocations: 1.003 MB / 1.165 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006707/1.625, allocations: 2.222 MB / 1.167 GB, free: 11.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000301/1.625, allocations: 247 kB / 1.167 GB, free: 11.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/1.627, allocations: 336.4 kB / 1.168 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/1.637, allocations: 4.229 MB / 1.172 GB, free: 11.38 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.862e-05/1.637, allocations: 7.344 kB / 1.172 GB, free: 11.38 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004025/1.637, allocations: 137 kB / 1.172 GB, free: 11.38 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002201/1.638, allocations: 172 kB / 1.172 GB, free: 11.37 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/1.649, allocations: 4.77 MB / 1.177 GB, free: 11.34 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.02675/1.676, allocations: 14.42 MB / 1.191 GB, free: 20.91 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006627/1.682, allocations: 4.569 MB / 1.195 GB, free: 20.78 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003753/1.686, allocations: 2.454 MB / 1.198 GB, free: 20.74 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/1.688, allocations: 1.608 MB / 1.199 GB, free: 19.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.966e-05/1.688, allocations: 78.95 kB / 1.199 GB, free: 19.01 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=392): time 6.231e-06/1.688, allocations: 0.75 kB / 1.199 GB, free: 19.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=392): time 0.009519/1.698, allocations: 5.525 MB / 1.205 GB, free: 18.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/1.698, allocations: 93.83 kB / 1.205 GB, free: 18.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/1.7, allocations: 1.667 MB / 1.207 GB, free: 18.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004214/1.701, allocations: 96.2 kB / 1.207 GB, free: 18.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006981/1.702, allocations: 1.121 MB / 1.208 GB, free: 17.99 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001209/1.703, allocations: 1.325 MB / 1.209 GB, free: 17.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008945/1.704, allocations: 0.5456 MB / 1.21 GB, free: 17.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.704, allocations: 314.2 kB / 1.21 GB, free: 16.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002431/1.706, allocations: 1.557 MB / 1.211 GB, free: 16.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002601/1.709, allocations: 1.934 MB / 1.213 GB, free: 16.55 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00539/1.714, allocations: 3.764 MB / 1.217 GB, free: 16.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/1.714, allocations: 2.969 kB / 1.217 GB, free: 16.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006967/1.721, allocations: 4.173 MB / 1.221 GB, free: 16.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/1.721, allocations: 5.719 kB / 1.221 GB, free: 16.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/1.721, allocations: 6.938 kB / 1.221 GB, free: 16.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.015e-05/1.721, allocations: 21.69 kB / 1.221 GB, free: 16.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003113/1.725, allocations: 0.6903 MB / 1.222 GB, free: 16.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-05/1.725, allocations: 25.66 kB / 1.222 GB, free: 16.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003964/1.729, allocations: 267.3 kB / 1.222 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003351/1.729, allocations: 112.9 kB / 1.222 GB, free: 15.88 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.002391/1.731, allocations: 0.7966 MB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009376/1.732, allocations: 289.1 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007151/1.739, allocations: 4.422 MB / 1.227 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/1.74, allocations: 38.91 kB / 1.228 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/1.74, allocations: 3.938 kB / 1.228 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005223/1.745, allocations: 3.784 MB / 1.231 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/1.761, allocations: 8.61 MB / 1.24 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.761, allocations: 4.766 kB / 1.24 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005085/1.766, allocations: 0.7385 MB / 1.24 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.501e-05/1.766, allocations: 18.14 kB / 1.24 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006786/1.767, allocations: 85.53 kB / 1.24 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.469e-05/1.767, allocations: 15.66 kB / 1.24 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.767, allocations: 2.281 kB / 1.24 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/1.781, allocations: 6.833 MB / 1.247 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003519/1.784, allocations: 0.7897 MB / 1.248 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/1.786, allocations: 72.47 kB / 1.248 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004143/1.79, allocations: 87 kB / 1.248 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008359/1.791, allocations: 235.3 kB / 1.248 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005884/1.791, allocations: 114.3 kB / 1.248 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003/1.794, allocations: 1.144 MB / 1.25 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.613e-06/1.794, allocations: 0 / 1.25 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.005969/1.8, allocations: 1.236 MB / 1.251 GB, free: 11.67 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.001875/1.802, allocations: 465 kB / 1.251 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.813, allocations: 3.953 MB / 1.255 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/1.813, allocations: 0 / 1.255 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005688/1.819, allocations: 2.153 MB / 1.257 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01495/1.834, allocations: 1.596 MB / 1.259 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.852, allocations: 7.794 MB / 1.266 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002985/1.855, allocations: 2.193 MB / 1.268 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002763/1.858, allocations: 307.4 kB / 1.269 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of SimCode: time 1.322e-06/1.858, allocations: 3.938 kB / 1.269 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of Templates: time 0.08993/1.948, allocations: 54.63 MB / 1.322 GB, free: 5.801 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)