Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.787/0.787, allocations: 143.4 MB / 159.2 MB, free: 4.855 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 187.6 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 107.7 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002703/0.002703, allocations: 285.8 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001399, allocations: 87.88 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3899, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7037/1.094, allocations: 311.9 MB / 1.073 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03043/1.124, allocations: 18.6 MB / 1.091 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006629/1.131, allocations: 71.56 kB / 1.091 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.008465/1.139, allocations: 1.882 MB / 1.093 GB, free: 296 kB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.02081/1.16, allocations: 6.838 MB / 1.099 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.009648/1.17, allocations: 2.96 MB / 1.102 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01793/1.188, allocations: 13.12 MB / 1.115 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005194/1.193, allocations: 2.654 MB / 1.118 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007979/1.201, allocations: 2.911 MB / 1.12 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008219/1.209, allocations: 3.359 MB / 1.124 GB, free: 328 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001165/1.211, allocations: 228 kB / 1.124 GB, free: 100 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01802/1.229, allocations: 8.131 MB / 1.132 GB, free: 7.945 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003726/1.232, allocations: 1.519 MB / 1.133 GB, free: 6.422 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.006404/1.239, allocations: 2.111 MB / 1.135 GB, free: 4.301 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02109/1.26, allocations: 8.491 MB / 1.144 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/1.26, allocations: 8 kB / 1.144 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.274e-06/1.26, allocations: 0 / 1.144 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000336/1.26, allocations: 0 / 1.144 GB, free: 11.78 MB / 0.7136 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.01831/1.279, allocations: 4.985 MB / 1.149 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.12e-05/1.279, allocations: 8.031 kB / 1.149 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007087/1.286, allocations: 1.006 MB / 1.15 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005748/1.292, allocations: 2.138 MB / 1.152 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/1.292, allocations: 250.4 kB / 1.152 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008893/1.293, allocations: 323.9 kB / 1.152 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008321/1.301, allocations: 4.239 MB / 1.156 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.168e-05/1.301, allocations: 3.984 kB / 1.156 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003511/1.302, allocations: 136 kB / 1.156 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002049/1.302, allocations: 166.3 kB / 1.157 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008473/1.31, allocations: 4.776 MB / 1.161 GB, free: 9.539 MB / 0.7292 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.02629/1.337, allocations: 14.35 MB / 1.175 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007019/1.344, allocations: 4.576 MB / 1.18 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004053/1.348, allocations: 2.456 MB / 1.182 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001762/1.35, allocations: 1.608 MB / 1.184 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.074e-05/1.35, allocations: 73.58 kB / 1.184 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=392): time 6.281e-06/1.35, allocations: 0 / 1.184 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=392): time 0.4018/1.752, allocations: 5.529 MB / 1.189 GB, free: 309.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/1.752, allocations: 92.7 kB / 1.189 GB, free: 309.6 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/1.755, allocations: 1.658 MB / 1.191 GB, free: 309 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005122/1.756, allocations: 94.34 kB / 1.191 GB, free: 308.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/1.757, allocations: 1.123 MB / 1.192 GB, free: 308.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.00143/1.758, allocations: 1.32 MB / 1.193 GB, free: 307.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/1.759, allocations: 0.5505 MB / 1.194 GB, free: 307 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.307e-05/1.759, allocations: 310 kB / 1.194 GB, free: 306.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003215/1.763, allocations: 1.564 MB / 1.196 GB, free: 306.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003928/1.767, allocations: 1.936 MB / 1.198 GB, free: 305.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00701/1.774, allocations: 3.766 MB / 1.201 GB, free: 303.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-05/1.774, allocations: 0 / 1.201 GB, free: 303.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007134/1.781, allocations: 4.16 MB / 1.205 GB, free: 301.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/1.781, allocations: 8.562 kB / 1.205 GB, free: 301.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/1.781, allocations: 9.062 kB / 1.205 GB, free: 301.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.602e-05/1.781, allocations: 19.72 kB / 1.205 GB, free: 301.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/1.784, allocations: 0.6954 MB / 1.206 GB, free: 301.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-05/1.784, allocations: 23.62 kB / 1.206 GB, free: 301.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/1.788, allocations: 437.5 kB / 1.207 GB, free: 301.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003316/1.788, allocations: 118.6 kB / 1.207 GB, free: 301.6 MB / 0.7448 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.001814/1.79, allocations: 0.8011 MB / 1.207 GB, free: 301.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.791, allocations: 293.3 kB / 1.208 GB, free: 301 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007062/1.798, allocations: 4.421 MB / 1.212 GB, free: 299.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/1.798, allocations: 36.28 kB / 1.212 GB, free: 299.2 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.798, allocations: 0 / 1.212 GB, free: 299.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004824/1.803, allocations: 3.786 MB / 1.216 GB, free: 297.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/1.815, allocations: 8.609 MB / 1.224 GB, free: 288.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.815, allocations: 4 kB / 1.224 GB, free: 288.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003067/1.818, allocations: 0.7294 MB / 1.225 GB, free: 288.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.799e-05/1.819, allocations: 16 kB / 1.225 GB, free: 288.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002204/1.819, allocations: 91.91 kB / 1.225 GB, free: 288.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.702e-05/1.819, allocations: 16.69 kB / 1.225 GB, free: 288 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.819, allocations: 0 / 1.225 GB, free: 288 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2116/2.03, allocations: 59.34 MB / 1.283 GB, free: 228.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002698/2.033, allocations: 0.7934 MB / 1.284 GB, free: 227.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005683/2.034, allocations: 68 kB / 1.284 GB, free: 227.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002715/2.037, allocations: 265.1 kB / 1.284 GB, free: 227.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004248/2.037, allocations: 238.5 kB / 1.284 GB, free: 227.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/2.037, allocations: 112 kB / 1.284 GB, free: 227.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001379/2.039, allocations: 1.153 MB / 1.285 GB, free: 226.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/2.039, allocations: 0 / 1.285 GB, free: 226.1 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008352/2.047, allocations: 2.012 MB / 1.287 GB, free: 224.1 MB / 0.7448 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.001443/2.048, allocations: 0.5081 MB / 1.288 GB, free: 223.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005944/2.054, allocations: 3.924 MB / 1.292 GB, free: 219.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/2.054, allocations: 4 kB / 1.292 GB, free: 219.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002756/2.057, allocations: 2.157 MB / 1.294 GB, free: 217.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007844/2.065, allocations: 1.531 MB / 1.295 GB, free: 216 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/2.079, allocations: 11.19 MB / 1.306 GB, free: 204.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/2.081, allocations: 2.313 MB / 1.309 GB, free: 202.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00577/2.087, allocations: 1.421 MB / 1.31 GB, free: 201.1 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/2.089, allocations: 323.4 kB / 1.31 GB, free: 200.8 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/2.089, allocations: 0 / 1.31 GB, free: 200.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.1129/2.202, allocations: 86.34 MB / 1.395 GB, free: 115.1 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)