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.001788/0.001788, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.002099/0.002099, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00221/0.002209, allocations: 277.8 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.03/1.03, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 95.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5172/0.519, allocations: 86.98 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8385/1.358, allocations: 314.1 MB / 1.074 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02853/1.386, allocations: 18.45 MB / 1.092 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005739/1.392, allocations: 89.91 kB / 1.092 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006637/1.399, allocations: 2.146 MB / 1.094 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02205/1.421, allocations: 7.312 MB / 1.101 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01053/1.431, allocations: 3.233 MB / 1.104 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01406/1.445, allocations: 9.096 MB / 1.113 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006165/1.452, allocations: 3.115 MB / 1.116 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008065/1.46, allocations: 3.345 MB / 1.12 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007414/1.467, allocations: 3.238 MB / 1.123 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001879/1.469, allocations: 408 kB / 1.123 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0172/1.486, allocations: 6.999 MB / 1.13 GB, free: 5.207 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003312/1.49, allocations: 1.695 MB / 1.132 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.006045/1.496, allocations: 2.299 MB / 1.134 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0201/1.516, allocations: 8.193 MB / 1.142 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/1.516, allocations: 4 kB / 1.142 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.455e-06/1.516, allocations: 0 / 1.142 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000181/1.516, allocations: 0 / 1.142 GB, free: 8.98 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.01455/1.531, allocations: 4.993 MB / 1.147 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.531, allocations: 8.031 kB / 1.147 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007082/1.538, allocations: 1.01 MB / 1.148 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005355/1.543, allocations: 2.252 MB / 1.15 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/1.543, allocations: 242.4 kB / 1.15 GB, free: 360 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007168/1.544, allocations: 327.9 kB / 1.15 GB, free: 32 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007911/1.552, allocations: 4.235 MB / 1.155 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.25e-05/1.552, allocations: 3.938 kB / 1.155 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000335/1.552, allocations: 144 kB / 1.155 GB, free: 11.57 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/1.553, allocations: 162.4 kB / 1.155 GB, free: 11.41 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00869/1.561, allocations: 4.783 MB / 1.16 GB, free: 6.613 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.02299/1.584, allocations: 14.44 MB / 1.174 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006656/1.591, allocations: 4.55 MB / 1.178 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004128/1.595, allocations: 2.467 MB / 1.18 GB, free: 192 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/1.597, allocations: 1.604 MB / 1.182 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/1.597, allocations: 73.64 kB / 1.182 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=392): time 5.25e-06/1.597, allocations: 0 / 1.182 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=392): time 0.01033/1.607, allocations: 5.543 MB / 1.188 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/1.608, allocations: 94.48 kB / 1.188 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/1.61, allocations: 1.677 MB / 1.189 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005034/1.611, allocations: 97.7 kB / 1.189 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000851/1.612, allocations: 1.132 MB / 1.19 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/1.613, allocations: 1.32 MB / 1.192 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009016/1.614, allocations: 0.5469 MB / 1.192 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/1.614, allocations: 301.1 kB / 1.193 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002597/1.617, allocations: 1.572 MB / 1.194 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002956/1.62, allocations: 1.924 MB / 1.196 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005861/1.626, allocations: 3.758 MB / 1.2 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/1.626, allocations: 4 kB / 1.2 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007415/1.633, allocations: 4.178 MB / 1.204 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/1.633, allocations: 12.09 kB / 1.204 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/1.633, allocations: 4 kB / 1.204 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.613e-05/1.633, allocations: 20 kB / 1.204 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/1.636, allocations: 0.6982 MB / 1.204 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-05/1.636, allocations: 20 kB / 1.204 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/1.639, allocations: 261 kB / 1.205 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/1.64, allocations: 124 kB / 1.205 GB, free: 6.59 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.001664/1.641, allocations: 0.8039 MB / 1.206 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007974/1.642, allocations: 288.5 kB / 1.206 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007315/1.649, allocations: 4.429 MB / 1.21 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-05/1.649, allocations: 36 kB / 1.21 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.649, allocations: 0 / 1.21 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005406/1.655, allocations: 3.792 MB / 1.214 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/1.669, allocations: 8.652 MB / 1.222 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.669, allocations: 0 / 1.222 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/1.673, allocations: 0.7178 MB / 1.223 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.908e-05/1.673, allocations: 16 kB / 1.223 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003754/1.673, allocations: 83.97 kB / 1.223 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.193e-05/1.673, allocations: 23.97 kB / 1.223 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.673, allocations: 7.938 kB / 1.223 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/1.683, allocations: 6.572 MB / 1.23 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/1.686, allocations: 0.7933 MB / 1.23 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000709/1.686, allocations: 72 kB / 1.23 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/1.689, allocations: 87.83 kB / 1.231 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005228/1.689, allocations: 234.6 kB / 1.231 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/1.69, allocations: 123.9 kB / 1.231 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001809/1.692, allocations: 1.157 MB / 1.232 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.01e-07/1.692, allocations: 0 / 1.232 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003707/1.695, allocations: 1.224 MB / 1.233 GB, free: 9.074 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.001195/1.697, allocations: 453.6 kB / 1.234 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006915/1.703, allocations: 3.952 MB / 1.238 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.703, allocations: 4.125 kB / 1.238 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003322/1.707, allocations: 2.148 MB / 1.24 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007772/1.715, allocations: 1.597 MB / 1.241 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/1.727, allocations: 7.853 MB / 1.249 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/1.729, allocations: 2.197 MB / 1.251 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/1.731, allocations: 311.4 kB / 1.251 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of SimCode: time 8.72e-07/1.731, allocations: 4 kB / 1.251 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of Templates: time 0.08449/1.816, allocations: 54.83 MB / 1.305 GB, free: 15.93 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)