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.001232/0.001232, allocations: 105.3 kB / 16.27 MB, free: 6.008 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.001189/0.00119, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.301/1.301, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 290.1 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9389/0.9389, allocations: 169.3 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 96 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1817, allocations: 86.98 MB / 0.6808 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9629/1.145, allocations: 314.1 MB / 0.9876 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02625/1.171, allocations: 18.45 MB / 1.006 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004806/1.176, allocations: 88.78 kB / 1.006 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005952/1.182, allocations: 2.15 MB / 1.008 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01881/1.201, allocations: 7.316 MB / 1.015 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008417/1.209, allocations: 3.208 MB / 1.018 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01192/1.221, allocations: 9.104 MB / 1.027 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004737/1.226, allocations: 3.113 MB / 1.03 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006847/1.233, allocations: 3.296 MB / 1.033 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006054/1.239, allocations: 3.228 MB / 1.036 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001011/1.24, allocations: 403 kB / 1.037 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01576/1.256, allocations: 7.005 MB / 1.044 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002822/1.258, allocations: 1.676 MB / 1.045 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004925/1.263, allocations: 2.304 MB / 1.047 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02051/1.284, allocations: 8.136 MB / 1.055 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/1.284, allocations: 2.531 kB / 1.055 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.09e-06/1.284, allocations: 0 / 1.055 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001752/1.284, allocations: 7.922 kB / 1.055 GB, free: 13.16 MB / 0.7325 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.0136/1.298, allocations: 4.988 MB / 1.06 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.298, allocations: 10.38 kB / 1.06 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006425/1.304, allocations: 1.013 MB / 1.061 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/1.308, allocations: 2.157 MB / 1.063 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/1.308, allocations: 244.2 kB / 1.064 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004864/1.309, allocations: 327.6 kB / 1.064 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006424/1.315, allocations: 4.244 MB / 1.068 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.598e-05/1.315, allocations: 10.94 kB / 1.068 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/1.316, allocations: 135.7 kB / 1.068 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/1.316, allocations: 171.1 kB / 1.068 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007239/1.323, allocations: 4.779 MB / 1.073 GB, free: 4.41 MB / 0.7325 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.01925/1.342, allocations: 14.54 MB / 1.087 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005737/1.348, allocations: 4.555 MB / 1.092 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003272/1.351, allocations: 2.452 MB / 1.094 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/1.353, allocations: 1.606 MB / 1.096 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/1.353, allocations: 81.62 kB / 1.096 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 5.691e-06/1.353, allocations: 0 / 1.096 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.008898/1.362, allocations: 5.538 MB / 1.101 GB, free: 6.707 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/1.362, allocations: 90.48 kB / 1.101 GB, free: 6.605 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/1.364, allocations: 1.684 MB / 1.103 GB, free: 4.879 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003313/1.365, allocations: 93.7 kB / 1.103 GB, free: 4.781 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007649/1.366, allocations: 1.136 MB / 1.104 GB, free: 3.633 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/1.367, allocations: 1.315 MB / 1.105 GB, free: 2.328 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008246/1.368, allocations: 0.5507 MB / 1.106 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/1.368, allocations: 305.1 kB / 1.106 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/1.37, allocations: 1.564 MB / 1.108 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/1.373, allocations: 1.915 MB / 1.11 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005359/1.378, allocations: 3.766 MB / 1.113 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/1.378, allocations: 0 / 1.113 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00673/1.385, allocations: 4.183 MB / 1.117 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/1.385, allocations: 11.94 kB / 1.117 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/1.385, allocations: 4 kB / 1.117 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.965e-05/1.385, allocations: 20 kB / 1.117 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/1.388, allocations: 0.698 MB / 1.118 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.005e-05/1.388, allocations: 23.98 kB / 1.118 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/1.391, allocations: 257.3 kB / 1.118 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/1.391, allocations: 116 kB / 1.118 GB, free: 4.828 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.001532/1.393, allocations: 0.8021 MB / 1.119 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007556/1.393, allocations: 292.5 kB / 1.12 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007009/1.4, allocations: 4.431 MB / 1.124 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/1.4, allocations: 43.98 kB / 1.124 GB, free: 15.26 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.4, allocations: 0 / 1.124 GB, free: 15.26 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005237/1.406, allocations: 3.79 MB / 1.128 GB, free: 11.4 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/1.419, allocations: 8.651 MB / 1.136 GB, free: 2.711 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/1.419, allocations: 4 kB / 1.136 GB, free: 2.707 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003264/1.422, allocations: 0.7166 MB / 1.137 GB, free: 2.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.435e-05/1.422, allocations: 16 kB / 1.137 GB, free: 2.012 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/1.423, allocations: 92.08 kB / 1.137 GB, free: 1.922 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.605e-05/1.423, allocations: 16 kB / 1.137 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.423, allocations: 0 / 1.137 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009479/1.432, allocations: 6.568 MB / 1.143 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/1.434, allocations: 0.7933 MB / 1.144 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005571/1.435, allocations: 79.92 kB / 1.144 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/1.437, allocations: 90.41 kB / 1.144 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000403/1.437, allocations: 226.7 kB / 1.144 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/1.437, allocations: 112 kB / 1.145 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001533/1.439, allocations: 1.16 MB / 1.146 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.6e-07/1.439, allocations: 0 / 1.146 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002629/1.441, allocations: 1.236 MB / 1.147 GB, free: 7.52 MB / 0.8106 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.0008682/1.442, allocations: 462.8 kB / 1.147 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.021/1.463, allocations: 9.843 MB / 1.157 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.463, allocations: 0 / 1.157 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/1.467, allocations: 2.148 MB / 1.159 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008137/1.475, allocations: 1.611 MB / 1.161 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/1.489, allocations: 7.917 MB / 1.168 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002452/1.491, allocations: 2.201 MB / 1.17 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/1.493, allocations: 307.4 kB / 1.171 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of SimCode: time 8.11e-07/1.493, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of Templates: time 0.0806/1.574, allocations: 54.43 MB / 1.224 GB, free: 9.102 MB / 0.8887 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)