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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8846/0.8846, allocations: 140.1 MB / 156 MB, free: 5.188 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.00143, allocations: 179.1 kB / 188.5 MB, free: 15.86 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 426.3 MB, free: 8.414 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 94.23 kB / 0.4945 GB, free: 8.352 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.002171/0.002171, allocations: 283 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004963, allocations: 16 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5198, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.408/5.927, allocations: 2.061 GB / 2.8 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/5.928, allocations: 95.95 kB / 2.8 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.27/14.2, allocations: 1.938 GB / 4.739 GB, free: 66.33 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.586e-06/14.2, allocations: 1.344 kB / 4.739 GB, free: 66.33 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004649/14.2, allocations: 84.94 kB / 4.739 GB, free: 66.32 MB / 0.7605 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.0217/14.22, allocations: 4.743 MB / 4.744 GB, free: 64.58 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/14.22, allocations: 7.594 kB / 4.744 GB, free: 64.58 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008611/14.23, allocations: 0.9918 MB / 4.745 GB, free: 64.38 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008642/14.24, allocations: 2.28 MB / 4.747 GB, free: 63.8 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004561/14.24, allocations: 250.9 kB / 4.747 GB, free: 63.79 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001941/14.24, allocations: 335.4 kB / 4.747 GB, free: 63.79 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/14.26, allocations: 4.171 MB / 4.751 GB, free: 63.46 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003208/14.26, allocations: 10.22 kB / 4.751 GB, free: 63.46 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001532/14.26, allocations: 133.2 kB / 4.752 GB, free: 63.46 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002463/14.26, allocations: 151.5 kB / 4.752 GB, free: 63.45 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/14.27, allocations: 4.637 MB / 4.756 GB, free: 63.41 MB / 0.7605 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.0323/14.3, allocations: 14.69 MB / 4.771 GB, free: 56.65 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008642/14.31, allocations: 4.331 MB / 4.775 GB, free: 56.55 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00541/14.32, allocations: 2.429 MB / 4.777 GB, free: 56.51 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/14.32, allocations: 1.62 MB / 4.779 GB, free: 54.82 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/14.32, allocations: 74.73 kB / 4.779 GB, free: 54.78 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=392): time 3.109e-05/14.32, allocations: 0 / 4.779 GB, free: 54.78 MB / 0.7605 GB Notification: Performance of matching and sorting (n=392): time 0.01471/14.33, allocations: 5.49 MB / 4.784 GB, free: 54.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/14.33, allocations: 95.95 kB / 4.784 GB, free: 54.43 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/14.34, allocations: 1.649 MB / 4.786 GB, free: 54.21 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0008722/14.34, allocations: 100.5 kB / 4.786 GB, free: 54.18 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/14.34, allocations: 1.131 MB / 4.787 GB, free: 53.76 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001998/14.34, allocations: 1.322 MB / 4.788 GB, free: 52.89 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006448/14.34, allocations: 65.38 kB / 4.788 GB, free: 52.89 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0004573/14.34, allocations: 440.2 kB / 4.789 GB, free: 52.58 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003299/14.35, allocations: 1.546 MB / 4.79 GB, free: 52.57 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003729/14.35, allocations: 1.975 MB / 4.792 GB, free: 52.26 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00766/14.36, allocations: 3.736 MB / 4.796 GB, free: 52 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.917e-05/14.36, allocations: 12.09 kB / 4.796 GB, free: 52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009833/14.37, allocations: 4.135 MB / 4.8 GB, free: 51.74 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/14.37, allocations: 8.938 kB / 4.8 GB, free: 51.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/14.37, allocations: 8.875 kB / 4.8 GB, free: 51.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.598e-05/14.37, allocations: 19.44 kB / 4.8 GB, free: 51.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003405/14.37, allocations: 0.7033 MB / 4.801 GB, free: 51.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.794e-05/14.37, allocations: 24.23 kB / 4.801 GB, free: 51.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004735/14.38, allocations: 434.3 kB / 4.801 GB, free: 51.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007381/14.38, allocations: 122.3 kB / 4.801 GB, free: 51.59 MB / 0.7605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00317/14.38, allocations: 0.8023 MB / 4.802 GB, free: 51.47 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/14.38, allocations: 283.6 kB / 4.802 GB, free: 51.33 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/14.39, allocations: 4.41 MB / 4.807 GB, free: 51.14 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/14.39, allocations: 36.94 kB / 4.807 GB, free: 51.14 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.291e-05/14.39, allocations: 2.25 kB / 4.807 GB, free: 51.14 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006487/14.4, allocations: 3.762 MB / 4.81 GB, free: 50.79 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/14.42, allocations: 8.587 MB / 4.819 GB, free: 50.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/14.42, allocations: 5.719 kB / 4.819 GB, free: 50.01 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003553/14.42, allocations: 0.7405 MB / 4.819 GB, free: 50.01 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.235e-05/14.42, allocations: 14.88 kB / 4.819 GB, free: 50.01 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00051/14.42, allocations: 88.19 kB / 4.82 GB, free: 50.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.403e-05/14.42, allocations: 17.94 kB / 4.82 GB, free: 50.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/14.42, allocations: 12.02 kB / 4.82 GB, free: 50 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/14.43, allocations: 6.773 MB / 4.826 GB, free: 48.84 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002848/14.44, allocations: 0.7998 MB / 4.827 GB, free: 48.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/14.44, allocations: 70.38 kB / 4.827 GB, free: 48.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003748/14.44, allocations: 270.5 kB / 4.827 GB, free: 48.25 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004843/14.44, allocations: 226.4 kB / 4.827 GB, free: 48.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003291/14.44, allocations: 118.9 kB / 4.828 GB, free: 48.19 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002717/14.45, allocations: 1.128 MB / 4.829 GB, free: 47.73 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.473e-06/14.45, allocations: 0 / 4.829 GB, free: 47.73 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007422/14.45, allocations: 1.686 MB / 4.83 GB, free: 47.25 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009749/14.46, allocations: 5.133 MB / 4.835 GB, free: 44.59 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.008892/14.47, allocations: 3.91 MB / 4.839 GB, free: 43.31 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/14.47, allocations: 0 / 4.839 GB, free: 43.31 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004375/14.48, allocations: 2.096 MB / 4.841 GB, free: 42.66 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01161/14.49, allocations: 1.512 MB / 4.843 GB, free: 42.34 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/14.51, allocations: 9.146 MB / 4.852 GB, free: 37.82 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003583/14.51, allocations: 2.205 MB / 4.854 GB, free: 36.9 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.007148/14.52, allocations: 1.205 MB / 4.855 GB, free: 36.77 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/14.52, allocations: 279.9 kB / 4.855 GB, free: 36.74 MB / 0.7605 GB Notification: Performance of SimCode: time 2.715e-06/14.52, allocations: 0 / 4.855 GB, free: 36.74 MB / 0.7605 GB Notification: Performance of Templates: time 0.7745/15.29, allocations: 106.2 MB / 4.959 GB, free: 84.86 MB / 0.7761 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)