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.01259/0.01259, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.002705/0.002705, allocations: 203.9 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.833/3.833, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003819/0.003819, allocations: 282.3 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.263/1.263, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 95.84 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3016, allocations: 86.97 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 2.222/2.524, allocations: 314.1 MB / 1.073 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1199/2.644, allocations: 18.46 MB / 1.091 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003498/2.647, allocations: 91.5 kB / 1.091 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.02747/2.675, allocations: 2.152 MB / 1.093 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.442/3.117, allocations: 7.294 MB / 1.1 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006887/3.124, allocations: 3.23 MB / 1.104 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01047/3.134, allocations: 9.097 MB / 1.113 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05633/3.191, allocations: 3.107 MB / 1.116 GB, free: 20.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/3.196, allocations: 3.313 MB / 1.119 GB, free: 20.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02036/3.216, allocations: 3.23 MB / 1.122 GB, free: 20.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006528/3.217, allocations: 404.5 kB / 1.122 GB, free: 20.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/3.23, allocations: 7.003 MB / 1.129 GB, free: 20.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001879/3.232, allocations: 1.686 MB / 1.131 GB, free: 20.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003127/3.235, allocations: 2.303 MB / 1.133 GB, free: 20.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01/3.245, allocations: 8.222 MB / 1.141 GB, free: 19.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/3.245, allocations: 0 / 1.141 GB, free: 19.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/3.245, allocations: 3.062 kB / 1.141 GB, free: 19.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.685e-05/3.245, allocations: 0.875 kB / 1.141 GB, free: 19.7 MB / 0.8575 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.009154/3.254, allocations: 5.126 MB / 1.146 GB, free: 17.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/3.254, allocations: 13.06 kB / 1.146 GB, free: 17.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005338/3.26, allocations: 1.027 MB / 1.147 GB, free: 17.44 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/3.262, allocations: 2.258 MB / 1.149 GB, free: 16.85 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/3.263, allocations: 242.2 kB / 1.15 GB, free: 16.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004052/3.263, allocations: 340.1 kB / 1.15 GB, free: 16.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02023/3.283, allocations: 4.235 MB / 1.154 GB, free: 16.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/3.283, allocations: 8.234 kB / 1.154 GB, free: 16.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005918/3.284, allocations: 140.1 kB / 1.154 GB, free: 16.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/3.284, allocations: 170.7 kB / 1.154 GB, free: 16.53 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006662/3.291, allocations: 4.78 MB / 1.159 GB, free: 16.5 MB / 0.8575 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.04619/3.337, allocations: 14.46 MB / 1.173 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004751/3.342, allocations: 4.555 MB / 1.178 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002763/3.345, allocations: 2.454 MB / 1.18 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/3.346, allocations: 1.608 MB / 1.182 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/3.346, allocations: 80.36 kB / 1.182 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=392): time 4.829e-06/3.346, allocations: 0 / 1.182 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=392): time 0.00746/3.354, allocations: 5.545 MB / 1.187 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/3.354, allocations: 95.95 kB / 1.187 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/3.356, allocations: 1.685 MB / 1.189 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001764/3.356, allocations: 92.27 kB / 1.189 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006433/3.356, allocations: 1.163 MB / 1.19 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008839/3.357, allocations: 1.387 MB / 1.191 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007291/3.358, allocations: 0.5468 MB / 1.192 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/3.358, allocations: 309.5 kB / 1.192 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/3.36, allocations: 1.561 MB / 1.194 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002208/3.362, allocations: 1.916 MB / 1.196 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004936/3.367, allocations: 3.768 MB / 1.199 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/3.367, allocations: 4.875 kB / 1.199 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005511/3.373, allocations: 4.191 MB / 1.203 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/3.373, allocations: 6.656 kB / 1.203 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/3.373, allocations: 15.45 kB / 1.203 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/3.373, allocations: 19.94 kB / 1.203 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/3.375, allocations: 0.7006 MB / 1.204 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.914e-05/3.375, allocations: 23.09 kB / 1.204 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/3.378, allocations: 264.9 kB / 1.204 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/3.378, allocations: 115 kB / 1.204 GB, free: 15.9 MB / 0.8731 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.001354/3.379, allocations: 0.7987 MB / 1.205 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/3.38, allocations: 310.1 kB / 1.206 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006522/3.386, allocations: 4.431 MB / 1.21 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/3.386, allocations: 36.91 kB / 1.21 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/3.386, allocations: 0 / 1.21 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006032/3.392, allocations: 3.794 MB / 1.214 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04844/3.441, allocations: 8.657 MB / 1.222 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/3.441, allocations: 0 / 1.222 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01434/3.455, allocations: 0.7243 MB / 1.223 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.036e-05/3.455, allocations: 16 kB / 1.223 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008289/3.464, allocations: 83.97 kB / 1.223 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/3.481, allocations: 16 kB / 1.223 GB, free: 496 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/3.481, allocations: 7.938 kB / 1.223 GB, free: 488 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05815/3.539, allocations: 6.584 MB / 1.229 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009256/3.548, allocations: 0.8068 MB / 1.23 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/3.55, allocations: 72 kB / 1.23 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04827/3.598, allocations: 85.53 kB / 1.23 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0225/3.621, allocations: 234.6 kB / 1.23 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000891/3.622, allocations: 120 kB / 1.231 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002652/3.624, allocations: 1.149 MB / 1.232 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3e-07/3.624, allocations: 4 kB / 1.232 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0151/3.639, allocations: 1.233 MB / 1.233 GB, free: 6.066 MB / 0.8887 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.02832/3.668, allocations: 471.7 kB / 1.233 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.04714/3.715, allocations: 3.95 MB / 1.237 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/3.715, allocations: 0 / 1.237 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.03547/3.75, allocations: 2.149 MB / 1.239 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01183/3.762, allocations: 1.611 MB / 1.241 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07535/3.838, allocations: 7.769 MB / 1.248 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.039/3.877, allocations: 2.213 MB / 1.251 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.004861/3.882, allocations: 1.208 MB / 1.252 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/3.883, allocations: 271.4 kB / 1.252 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of SimCode: time 1.082e-06/3.883, allocations: 0 / 1.252 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of Templates: time 0.1104/3.993, allocations: 62.67 MB / 1.313 GB, free: 4.887 MB / 0.9669 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)