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.001699/0.001699, allocations: 107.8 kB / 16.41 MB, free: 6.508 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.001839/0.001839, allocations: 184 kB / 17.34 MB, free: 5.738 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.52/1.52, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 289.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 99.83 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5375, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8761/1.414, allocations: 314.9 MB / 1.075 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03262/1.446, allocations: 18.47 MB / 1.093 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006709/1.453, allocations: 88.81 kB / 1.093 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.008205/1.461, allocations: 2.26 MB / 1.095 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0256/1.487, allocations: 7.545 MB / 1.102 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01052/1.497, allocations: 3.26 MB / 1.105 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01593/1.513, allocations: 9.101 MB / 1.114 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006145/1.519, allocations: 2.631 MB / 1.117 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009038/1.528, allocations: 3.391 MB / 1.12 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007607/1.536, allocations: 3.229 MB / 1.123 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001767/1.538, allocations: 404 kB / 1.124 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01891/1.557, allocations: 7.034 MB / 1.131 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00326/1.56, allocations: 1.73 MB / 1.132 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00472/1.565, allocations: 2.307 MB / 1.135 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01872/1.583, allocations: 8.212 MB / 1.143 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.583, allocations: 0 / 1.143 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.923e-06/1.583, allocations: 0 / 1.143 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000158/1.583, allocations: 4 kB / 1.143 GB, free: 8.344 MB / 0.7794 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.01532/1.599, allocations: 5.134 MB / 1.148 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.599, allocations: 8.031 kB / 1.148 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007481/1.606, allocations: 1.02 MB / 1.149 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005571/1.612, allocations: 2.269 MB / 1.151 GB, free: 15.78 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/1.612, allocations: 242.4 kB / 1.151 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009048/1.613, allocations: 331.9 kB / 1.151 GB, free: 15.22 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008665/1.622, allocations: 4.243 MB / 1.155 GB, free: 10.89 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.051e-05/1.622, allocations: 0 / 1.155 GB, free: 10.89 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004038/1.622, allocations: 144 kB / 1.156 GB, free: 10.75 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002172/1.622, allocations: 166.4 kB / 1.156 GB, free: 10.59 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009559/1.632, allocations: 4.783 MB / 1.16 GB, free: 5.793 MB / 0.795 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.02557/1.657, allocations: 14.46 MB / 1.175 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007054/1.665, allocations: 4.271 MB / 1.179 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004034/1.669, allocations: 2.241 MB / 1.181 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001955/1.671, allocations: 1.6 MB / 1.182 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.796e-05/1.671, allocations: 85.56 kB / 1.183 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=392): time 5.4e-06/1.671, allocations: 0 / 1.183 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=392): time 0.0105/1.681, allocations: 5.548 MB / 1.188 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.681, allocations: 90.48 kB / 1.188 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/1.684, allocations: 1.682 MB / 1.19 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004016/1.684, allocations: 93.7 kB / 1.19 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009939/1.685, allocations: 1.153 MB / 1.191 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001592/1.687, allocations: 1.394 MB / 1.192 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009493/1.688, allocations: 0.5508 MB / 1.193 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.688, allocations: 305.1 kB / 1.193 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/1.691, allocations: 1.56 MB / 1.195 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003272/1.694, allocations: 1.92 MB / 1.197 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006984/1.701, allocations: 3.77 MB / 1.2 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-05/1.701, allocations: 4 kB / 1.2 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008244/1.709, allocations: 4.187 MB / 1.204 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/1.709, allocations: 8 kB / 1.204 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/1.709, allocations: 4 kB / 1.204 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/1.709, allocations: 20 kB / 1.204 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/1.713, allocations: 0.6982 MB / 1.205 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.77e-05/1.713, allocations: 20.33 kB / 1.205 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/1.716, allocations: 269.9 kB / 1.205 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/1.716, allocations: 123.9 kB / 1.205 GB, free: 6.141 MB / 0.8419 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.001649/1.718, allocations: 0.7976 MB / 1.206 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007016/1.718, allocations: 302.1 kB / 1.206 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008383/1.727, allocations: 4.441 MB / 1.211 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.459e-05/1.727, allocations: 36 kB / 1.211 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.727, allocations: 0 / 1.211 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006778/1.734, allocations: 3.792 MB / 1.215 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/1.75, allocations: 8.645 MB / 1.223 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.75, allocations: 0 / 1.223 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003762/1.754, allocations: 0.7337 MB / 1.224 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.31e-05/1.754, allocations: 12 kB / 1.224 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002769/1.754, allocations: 83.98 kB / 1.224 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-05/1.754, allocations: 16 kB / 1.224 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/1.754, allocations: 7.984 kB / 1.224 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/1.766, allocations: 6.581 MB / 1.23 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002507/1.769, allocations: 0.8068 MB / 1.231 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000649/1.769, allocations: 79.98 kB / 1.231 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/1.772, allocations: 87.56 kB / 1.231 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006033/1.772, allocations: 238.5 kB / 1.231 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/1.773, allocations: 112 kB / 1.232 GB, free: 11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00204/1.775, allocations: 1.153 MB / 1.233 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/1.775, allocations: 4 kB / 1.233 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003929/1.779, allocations: 1.237 MB / 1.234 GB, free: 8.582 MB / 0.8731 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.001303/1.78, allocations: 473.1 kB / 1.234 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006933/1.787, allocations: 3.729 MB / 1.238 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.787, allocations: 0 / 1.238 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003489/1.79, allocations: 1.986 MB / 1.24 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00796/1.798, allocations: 1.602 MB / 1.241 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/1.813, allocations: 7.785 MB / 1.249 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002456/1.815, allocations: 2.209 MB / 1.251 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.004133/1.819, allocations: 1.204 MB / 1.252 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.82, allocations: 267.4 kB / 1.253 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of SimCode: time 1.303e-06/1.82, allocations: 4 kB / 1.253 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of Templates: time 0.1163/1.937, allocations: 63.14 MB / 1.314 GB, free: 6.863 MB / 0.9512 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)