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.001163/0.001163, 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.001319/0.001319, allocations: 193.3 kB / 16.13 MB, free: 6.66 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002006, allocations: 286.9 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9532/0.9532, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 95.27 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1627, allocations: 86.97 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6018/0.7646, allocations: 312 MB / 0.9841 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02807/0.7927, allocations: 18.67 MB / 1.002 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006783/0.7995, allocations: 79.56 kB / 1.002 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009574/0.8091, allocations: 1.882 MB / 1.004 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02768/0.8369, allocations: 6.902 MB / 1.011 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01182/0.8487, allocations: 2.942 MB / 1.014 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01983/0.8686, allocations: 13.12 MB / 1.027 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00567/0.8743, allocations: 2.65 MB / 1.029 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007063/0.8814, allocations: 2.888 MB / 1.032 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007306/0.8887, allocations: 3.353 MB / 1.035 GB, free: 11 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001779/0.8905, allocations: 228 kB / 1.036 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01813/0.9087, allocations: 8.135 MB / 1.044 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003318/0.912, allocations: 1.519 MB / 1.045 GB, free: 1.105 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.006383/0.9185, allocations: 2.119 MB / 1.047 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01881/0.9373, allocations: 8.487 MB / 1.055 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9373, allocations: 0 / 1.055 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.031e-06/0.9373, allocations: 3.938 kB / 1.055 GB, free: 6.461 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001911/0.9375, allocations: 0 / 1.055 GB, free: 6.461 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.01525/0.9528, allocations: 4.993 MB / 1.06 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.9529, allocations: 12.03 kB / 1.06 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007538/0.9604, allocations: 1.01 MB / 1.061 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3273/1.288, allocations: 2.153 MB / 1.063 GB, free: 293.5 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/1.288, allocations: 245.1 kB / 1.064 GB, free: 293.5 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/1.289, allocations: 326.1 kB / 1.064 GB, free: 293.5 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009127/1.298, allocations: 4.246 MB / 1.068 GB, free: 291.9 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-05/1.298, allocations: 2.625 kB / 1.068 GB, free: 291.9 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003296/1.299, allocations: 132.9 kB / 1.068 GB, free: 291.8 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002076/1.299, allocations: 173.5 kB / 1.068 GB, free: 291.7 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008211/1.307, allocations: 4.78 MB / 1.073 GB, free: 290.3 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.02002/1.327, allocations: 14.37 MB / 1.087 GB, free: 281 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006961/1.334, allocations: 4.547 MB / 1.091 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003463/1.338, allocations: 2.46 MB / 1.094 GB, free: 277.6 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/1.339, allocations: 1.606 MB / 1.095 GB, free: 275.8 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/1.339, allocations: 76.53 kB / 1.096 GB, free: 275.8 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 5.36e-06/1.339, allocations: 3.438 kB / 1.096 GB, free: 275.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.008819/1.348, allocations: 5.531 MB / 1.101 GB, free: 273.1 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.348, allocations: 90.17 kB / 1.101 GB, free: 273 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/1.35, allocations: 1.685 MB / 1.103 GB, free: 272.1 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002408/1.35, allocations: 101.5 kB / 1.103 GB, free: 272 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005903/1.351, allocations: 1.138 MB / 1.104 GB, free: 271 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008763/1.352, allocations: 1.317 MB / 1.105 GB, free: 269.9 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008311/1.353, allocations: 0.5514 MB / 1.106 GB, free: 269.6 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 6.745e-05/1.353, allocations: 305.1 kB / 1.106 GB, free: 269.3 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/1.355, allocations: 1.571 MB / 1.108 GB, free: 268.5 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/1.357, allocations: 1.908 MB / 1.109 GB, free: 267.4 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004584/1.362, allocations: 3.772 MB / 1.113 GB, free: 265.3 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.362, allocations: 3.781 kB / 1.113 GB, free: 265.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005987/1.368, allocations: 4.172 MB / 1.117 GB, free: 262.3 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.368, allocations: 11.98 kB / 1.117 GB, free: 262.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.368, allocations: 4 kB / 1.117 GB, free: 262.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/1.368, allocations: 20 kB / 1.117 GB, free: 262.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/1.37, allocations: 0.6943 MB / 1.118 GB, free: 261.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.073e-05/1.371, allocations: 27.5 kB / 1.118 GB, free: 261.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/1.374, allocations: 473.4 kB / 1.118 GB, free: 261.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/1.374, allocations: 116 kB / 1.118 GB, free: 261 MB / 0.7637 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.001763/1.376, allocations: 0.8065 MB / 1.119 GB, free: 260.2 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007335/1.377, allocations: 288.5 kB / 1.119 GB, free: 259.9 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005912/1.383, allocations: 4.433 MB / 1.124 GB, free: 255.5 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/1.383, allocations: 36 kB / 1.124 GB, free: 255.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/1.383, allocations: 2.188 kB / 1.124 GB, free: 255.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00434/1.387, allocations: 3.799 MB / 1.128 GB, free: 251.6 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/1.398, allocations: 8.645 MB / 1.136 GB, free: 242.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.399, allocations: 0 / 1.136 GB, free: 242.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003036/1.402, allocations: 0.7217 MB / 1.137 GB, free: 242.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.646e-05/1.402, allocations: 16 kB / 1.137 GB, free: 242.1 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002101/1.402, allocations: 83.97 kB / 1.137 GB, free: 242 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/1.402, allocations: 16 kB / 1.137 GB, free: 242 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.402, allocations: 7.844 kB / 1.137 GB, free: 242 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007977/1.41, allocations: 6.578 MB / 1.143 GB, free: 235.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/1.412, allocations: 0.7855 MB / 1.144 GB, free: 234.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004477/1.412, allocations: 75.98 kB / 1.144 GB, free: 234.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.414, allocations: 271.2 kB / 1.144 GB, free: 234.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/1.415, allocations: 241.8 kB / 1.145 GB, free: 234 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/1.415, allocations: 112 kB / 1.145 GB, free: 233.9 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001271/1.416, allocations: 1.153 MB / 1.146 GB, free: 232.7 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.416, allocations: 0 / 1.146 GB, free: 232.7 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002333/1.419, allocations: 1.232 MB / 1.147 GB, free: 231.5 MB / 0.7637 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.0009057/1.42, allocations: 468.7 kB / 1.147 GB, free: 231.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004922/1.425, allocations: 3.924 MB / 1.151 GB, free: 227.2 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.425, allocations: 4 kB / 1.151 GB, free: 227.2 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00236/1.427, allocations: 2.148 MB / 1.153 GB, free: 225 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006306/1.433, allocations: 1.523 MB / 1.155 GB, free: 223.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.445, allocations: 9.18 MB / 1.164 GB, free: 214.5 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/1.446, allocations: 2.205 MB / 1.166 GB, free: 212.3 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004424/1.451, allocations: 1.211 MB / 1.167 GB, free: 211.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009394/1.452, allocations: 267.4 kB / 1.167 GB, free: 210.8 MB / 0.7637 GB Notification: Performance of SimCode: time 1.413e-06/1.452, allocations: 4 kB / 1.167 GB, free: 210.8 MB / 0.7637 GB Notification: Performance of Templates: time 0.07973/1.532, allocations: 59.23 MB / 1.225 GB, free: 152.4 MB / 0.7637 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)