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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001341/0.001341, allocations: 193.8 kB / 16.14 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00262/0.00262, allocations: 295 kB / 290.2 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 96.14 kB / 0.6057 GB, free: 24.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.21, allocations: 89.16 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7667/0.9767, allocations: 312 MB / 0.9975 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05247/1.029, allocations: 18.67 MB / 1.016 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006217/1.036, allocations: 79.5 kB / 1.016 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01049/1.046, allocations: 1.874 MB / 1.018 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.03426/1.08, allocations: 6.909 MB / 1.024 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01481/1.095, allocations: 2.942 MB / 1.027 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.02574/1.121, allocations: 13.12 MB / 1.04 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007736/1.129, allocations: 2.656 MB / 1.043 GB, free: 5.328 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01074/1.14, allocations: 2.888 MB / 1.045 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4792/1.619, allocations: 3.35 MB / 1.049 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.00149/1.62, allocations: 229.1 kB / 1.049 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01778/1.638, allocations: 8.13 MB / 1.057 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003201/1.641, allocations: 1.521 MB / 1.058 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.006288/1.648, allocations: 2.117 MB / 1.06 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01991/1.668, allocations: 8.496 MB / 1.069 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.668, allocations: 2.734 kB / 1.069 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.543e-06/1.668, allocations: 0 / 1.069 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002229/1.668, allocations: 0 / 1.069 GB, free: 10.91 MB / 0.7637 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.01683/1.685, allocations: 4.992 MB / 1.074 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.685, allocations: 13.06 kB / 1.074 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007434/1.692, allocations: 1.004 MB / 1.075 GB, free: 8.773 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005139/1.697, allocations: 2.162 MB / 1.077 GB, free: 8.199 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/1.698, allocations: 250.2 kB / 1.077 GB, free: 8.191 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008266/1.698, allocations: 326.1 kB / 1.077 GB, free: 8.188 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007593/1.706, allocations: 4.239 MB / 1.081 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-05/1.706, allocations: 8.812 kB / 1.081 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003423/1.707, allocations: 136 kB / 1.082 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/1.707, allocations: 169.1 kB / 1.082 GB, free: 7.875 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008154/1.715, allocations: 4.78 MB / 1.086 GB, free: 7.84 MB / 0.7637 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.02164/1.737, allocations: 14.37 MB / 1.1 GB, free: 17.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005774/1.742, allocations: 4.55 MB / 1.105 GB, free: 17.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/1.746, allocations: 2.445 MB / 1.107 GB, free: 17.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/1.748, allocations: 1.612 MB / 1.109 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.466e-05/1.748, allocations: 75.11 kB / 1.109 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=392): time 5.661e-06/1.748, allocations: 0 / 1.109 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=392): time 0.009191/1.757, allocations: 5.537 MB / 1.114 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/1.757, allocations: 96.67 kB / 1.114 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/1.76, allocations: 1.687 MB / 1.116 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0005419/1.76, allocations: 97.47 kB / 1.116 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/1.761, allocations: 1.132 MB / 1.117 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/1.762, allocations: 1.322 MB / 1.119 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009342/1.763, allocations: 0.547 MB / 1.119 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.763, allocations: 303.7 kB / 1.119 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002641/1.766, allocations: 1.572 MB / 1.121 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002917/1.769, allocations: 1.914 MB / 1.123 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005247/1.774, allocations: 3.76 MB / 1.126 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/1.774, allocations: 4 kB / 1.126 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006423/1.781, allocations: 4.176 MB / 1.13 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/1.781, allocations: 11.31 kB / 1.131 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/1.781, allocations: 7.531 kB / 1.131 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/1.781, allocations: 23.34 kB / 1.131 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/1.784, allocations: 0.6938 MB / 1.131 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.961e-05/1.784, allocations: 22.33 kB / 1.131 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/1.788, allocations: 474 kB / 1.132 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002914/1.788, allocations: 118.3 kB / 1.132 GB, free: 12.34 MB / 0.7794 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.001684/1.79, allocations: 0.7975 MB / 1.133 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007642/1.791, allocations: 293.4 kB / 1.133 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006992/1.798, allocations: 4.435 MB / 1.137 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/1.798, allocations: 40.47 kB / 1.137 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/1.798, allocations: 2.531 kB / 1.137 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005115/1.803, allocations: 3.798 MB / 1.141 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/1.817, allocations: 8.639 MB / 1.149 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.817, allocations: 4.031 kB / 1.149 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003292/1.82, allocations: 0.7219 MB / 1.15 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-05/1.821, allocations: 12 kB / 1.15 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002951/1.821, allocations: 86.88 kB / 1.15 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.481e-05/1.821, allocations: 16 kB / 1.15 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.821, allocations: 14.52 kB / 1.15 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/1.833, allocations: 6.566 MB / 1.157 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002643/1.835, allocations: 0.7929 MB / 1.157 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/1.837, allocations: 75.98 kB / 1.157 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003558/1.84, allocations: 269.5 kB / 1.158 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006497/1.841, allocations: 237.2 kB / 1.158 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003057/1.841, allocations: 112 kB / 1.158 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00217/1.843, allocations: 1.163 MB / 1.159 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/1.843, allocations: 3.281 kB / 1.159 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003811/1.847, allocations: 1.224 MB / 1.16 GB, free: 1.152 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,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.001049/1.848, allocations: 462.7 kB / 1.161 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007454/1.856, allocations: 3.927 MB / 1.165 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/1.856, allocations: 0 / 1.165 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003851/1.859, allocations: 2.15 MB / 1.167 GB, free: 10.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008364/1.868, allocations: 1.535 MB / 1.168 GB, free: 9.332 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/1.886, allocations: 9.177 MB / 1.177 GB, free: 128 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002225/1.888, allocations: 2.196 MB / 1.179 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005171/1.894, allocations: 1.212 MB / 1.181 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.895, allocations: 267.4 kB / 1.181 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of SimCode: time 1.342e-06/1.895, allocations: 0 / 1.181 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of Templates: time 0.1134/2.008, allocations: 59.24 MB / 1.239 GB, free: 2.109 MB / 0.8575 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)