Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8895/0.8895, allocations: 140.1 MB / 156 MB, free: 5.137 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.001287/0.001287, allocations: 193.3 kB / 188.5 MB, free: 15.79 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.153/2.153, allocations: 205.4 MB / 426.3 MB, free: 8.426 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.001071/0.001071, allocations: 106 kB / 0.4945 GB, free: 8.367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001801/0.001801, allocations: 272.3 kB / 0.5728 GB, free: 66.18 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006005/0.0006006, allocations: 20 kB / 0.662 GB, free: 6.773 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5315, allocations: 79.3 MB / 0.7395 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.27/6.801, allocations: 2.054 GB / 2.794 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003991/6.802, allocations: 91.95 kB / 2.794 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.761/11.56, allocations: 1.058 GB / 3.852 GB, free: 81.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.484e-06/11.56, allocations: 3.438 kB / 3.852 GB, free: 81.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003786/11.56, allocations: 48.16 kB / 3.852 GB, free: 81.18 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.01182/11.58, allocations: 2.413 MB / 3.854 GB, free: 80.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/11.58, allocations: 11.5 kB / 3.854 GB, free: 80.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004393/11.58, allocations: 0.514 MB / 3.855 GB, free: 80.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00424/11.58, allocations: 1.32 MB / 3.856 GB, free: 79.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/11.58, allocations: 107.4 kB / 3.856 GB, free: 79.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006617/11.58, allocations: 141.1 kB / 3.856 GB, free: 79.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004658/11.59, allocations: 1.662 MB / 3.858 GB, free: 79.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.19e-05/11.59, allocations: 10.11 kB / 3.858 GB, free: 79.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002975/11.59, allocations: 57.25 kB / 3.858 GB, free: 79.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.34e-05/11.59, allocations: 55.88 kB / 3.858 GB, free: 79.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003312/11.59, allocations: 1.414 MB / 3.859 GB, free: 79.59 MB / 0.698 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.01163/11.6, allocations: 7.174 MB / 3.866 GB, free: 76.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/11.61, allocations: 1.187 MB / 3.867 GB, free: 75.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009524/11.61, allocations: 0.6086 MB / 3.868 GB, free: 75.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008263/11.61, allocations: 0.8622 MB / 3.869 GB, free: 74.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/11.61, allocations: 0.6057 MB / 3.869 GB, free: 74.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 4.138e-06/11.61, allocations: 0 / 3.869 GB, free: 74.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.003409/11.61, allocations: 1.576 MB / 3.871 GB, free: 74.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/11.61, allocations: 92.86 kB / 3.871 GB, free: 74.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/11.62, allocations: 1.182 MB / 3.872 GB, free: 74.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/11.62, allocations: 47.89 kB / 3.872 GB, free: 74.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008084/11.62, allocations: 0.6792 MB / 3.873 GB, free: 74.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004667/11.62, allocations: 382.5 kB / 3.873 GB, free: 74.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-05/11.62, allocations: 21.44 kB / 3.873 GB, free: 74.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001216/11.62, allocations: 350.6 kB / 3.874 GB, free: 73.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/11.62, allocations: 420.4 kB / 3.874 GB, free: 73.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008687/11.62, allocations: 0.6029 MB / 3.875 GB, free: 73.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/11.62, allocations: 1.014 MB / 3.876 GB, free: 73.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/11.62, allocations: 0 / 3.876 GB, free: 73.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002629/11.62, allocations: 1.219 MB / 3.877 GB, free: 73.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/11.62, allocations: 166.8 kB / 3.877 GB, free: 73.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/11.62, allocations: 3.219 kB / 3.877 GB, free: 73.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.454e-05/11.62, allocations: 10.72 kB / 3.877 GB, free: 73.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009944/11.62, allocations: 221 kB / 3.877 GB, free: 73.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.749e-05/11.62, allocations: 7.438 kB / 3.877 GB, free: 73.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/11.63, allocations: 177.3 kB / 3.877 GB, free: 73.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/11.63, allocations: 38.28 kB / 3.877 GB, free: 73.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/11.63, allocations: 6.094 kB / 3.877 GB, free: 73.15 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001932/11.63, allocations: 1.037 MB / 3.878 GB, free: 73.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/11.63, allocations: 3.938 kB / 3.878 GB, free: 73.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/11.63, allocations: 10.84 kB / 3.879 GB, free: 73.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009108/11.63, allocations: 210.9 kB / 3.879 GB, free: 73.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-05/11.63, allocations: 10.84 kB / 3.879 GB, free: 73.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/11.63, allocations: 168.8 kB / 3.879 GB, free: 73.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/11.63, allocations: 36.81 kB / 3.879 GB, free: 73.08 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.001574/11.63, allocations: 497.7 kB / 3.879 GB, free: 72.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006285/11.63, allocations: 150.3 kB / 3.88 GB, free: 72.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/11.64, allocations: 1.252 MB / 3.881 GB, free: 72.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/11.64, allocations: 11.25 kB / 3.881 GB, free: 72.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/11.64, allocations: 2.938 kB / 3.881 GB, free: 72.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001989/11.64, allocations: 1.011 MB / 3.882 GB, free: 72.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007629/11.65, allocations: 3.2 MB / 3.885 GB, free: 72.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/11.65, allocations: 0 / 3.885 GB, free: 72.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/11.65, allocations: 241.1 kB / 3.885 GB, free: 72.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.176e-05/11.65, allocations: 8.625 kB / 3.885 GB, free: 72.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/11.65, allocations: 32.69 kB / 3.885 GB, free: 72.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.498e-05/11.65, allocations: 7.219 kB / 3.885 GB, free: 72.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/11.65, allocations: 6.781 kB / 3.885 GB, free: 72.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003497/11.65, allocations: 2.007 MB / 3.887 GB, free: 71.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/11.65, allocations: 371.9 kB / 3.887 GB, free: 71.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004848/11.65, allocations: 31.47 kB / 3.888 GB, free: 71.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/11.66, allocations: 110.8 kB / 3.888 GB, free: 71.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/11.66, allocations: 78.14 kB / 3.888 GB, free: 71.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/11.66, allocations: 36.97 kB / 3.888 GB, free: 71.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002105/11.66, allocations: 0.8141 MB / 3.889 GB, free: 71.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/11.66, allocations: 0 / 3.889 GB, free: 71.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006455/11.66, allocations: 1.11 MB / 3.89 GB, free: 71.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.008498/11.67, allocations: 2.941 MB / 3.892 GB, free: 70.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003994/11.68, allocations: 1.61 MB / 3.894 GB, free: 70.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/11.68, allocations: 3.688 kB / 3.894 GB, free: 70.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/11.68, allocations: 0.5613 MB / 3.895 GB, free: 70.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005817/11.68, allocations: 0.8196 MB / 3.895 GB, free: 70.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007744/11.69, allocations: 4.007 MB / 3.899 GB, free: 68.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/11.69, allocations: 1.367 MB / 3.901 GB, free: 67.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002653/11.7, allocations: 463.8 kB / 3.901 GB, free: 67.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000587/11.7, allocations: 116.8 kB / 3.901 GB, free: 67.73 MB / 0.698 GB Notification: Performance of SimCode: time 2.515e-06/11.7, allocations: 0 / 3.901 GB, free: 67.73 MB / 0.698 GB Notification: Performance of Templates: time 0.09752/11.79, allocations: 57.22 MB / 3.957 GB, free: 64.64 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)