Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.581/1.581, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 176.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 0.6626 GB, free: 4.367 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000834/0.000834, allocations: 96.06 kB / 0.7808 GB, free: 43.45 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 13.66 kB / 0.9088 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5653/0.5657, allocations: 120.3 MB / 1.026 GB, free: 55.92 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.448/4.013, allocations: 1.922 GB / 2.948 GB, free: 260.5 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/4.014, allocations: 95.95 kB / 2.948 GB, free: 260.4 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.347/7.361, allocations: 1.071 GB / 4.019 GB, free: 138.9 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.335e-06/7.361, allocations: 0 / 4.019 GB, free: 138.9 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002582/7.362, allocations: 47.09 kB / 4.02 GB, free: 138.9 MB / 0.9948 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.00877/7.37, allocations: 2.403 MB / 4.022 GB, free: 138.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/7.37, allocations: 7.5 kB / 4.022 GB, free: 138.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/7.374, allocations: 0.5195 MB / 4.022 GB, free: 138 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/7.378, allocations: 1.307 MB / 4.024 GB, free: 137.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/7.378, allocations: 103.5 kB / 4.024 GB, free: 137.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005192/7.379, allocations: 146 kB / 4.024 GB, free: 137.7 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00405/7.383, allocations: 1.674 MB / 4.026 GB, free: 137.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-05/7.383, allocations: 6.891 kB / 4.026 GB, free: 137.4 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/7.383, allocations: 55.66 kB / 4.026 GB, free: 137.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.509e-05/7.383, allocations: 62.09 kB / 4.026 GB, free: 137.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/7.386, allocations: 1.405 MB / 4.027 GB, free: 137.4 MB / 0.9948 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.01121/7.397, allocations: 7.168 MB / 4.034 GB, free: 133.9 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/7.4, allocations: 1.19 MB / 4.035 GB, free: 133.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/7.401, allocations: 0.605 MB / 4.036 GB, free: 133.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008588/7.402, allocations: 0.867 MB / 4.037 GB, free: 132.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/7.403, allocations: 0.6125 MB / 4.037 GB, free: 132.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 5.55e-06/7.403, allocations: 0 / 4.037 GB, free: 132.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=110): time 0.004137/7.407, allocations: 1.57 MB / 4.039 GB, free: 132.6 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/7.407, allocations: 92.11 kB / 4.039 GB, free: 132.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/7.411, allocations: 1.175 MB / 4.04 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002336/7.411, allocations: 52.58 kB / 4.04 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/7.412, allocations: 0.678 MB / 4.041 GB, free: 132.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006328/7.413, allocations: 381.1 kB / 4.041 GB, free: 131.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/7.413, allocations: 20.75 kB / 4.041 GB, free: 131.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001789/7.413, allocations: 347.3 kB / 4.041 GB, free: 131.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/7.414, allocations: 418.7 kB / 4.042 GB, free: 131.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/7.415, allocations: 0.5965 MB / 4.042 GB, free: 131.5 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/7.417, allocations: 1.023 MB / 4.043 GB, free: 131.4 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/7.417, allocations: 3.938 kB / 4.043 GB, free: 131.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002607/7.42, allocations: 1.218 MB / 4.045 GB, free: 131.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.175e-05/7.42, allocations: 167.3 kB / 4.045 GB, free: 131.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/7.42, allocations: 4.688 kB / 4.045 GB, free: 131.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-05/7.42, allocations: 10.81 kB / 4.045 GB, free: 131.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009859/7.421, allocations: 216.3 kB / 4.045 GB, free: 131.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.798e-05/7.421, allocations: 10.97 kB / 4.045 GB, free: 131.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/7.423, allocations: 174.6 kB / 4.045 GB, free: 131 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/7.423, allocations: 44.12 kB / 4.045 GB, free: 131 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/7.423, allocations: 2.719 kB / 4.045 GB, free: 131 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001817/7.425, allocations: 1.036 MB / 4.046 GB, free: 131 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/7.425, allocations: 2.531 kB / 4.046 GB, free: 131 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/7.425, allocations: 7.219 kB / 4.046 GB, free: 131 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/7.426, allocations: 223.4 kB / 4.046 GB, free: 131 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/7.426, allocations: 7.219 kB / 4.046 GB, free: 131 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/7.428, allocations: 161.7 kB / 4.047 GB, free: 131 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/7.428, allocations: 39 kB / 4.047 GB, free: 131 MB / 0.9948 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.001087/7.429, allocations: 497.2 kB / 4.047 GB, free: 130.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005417/7.429, allocations: 152.5 kB / 4.047 GB, free: 130.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/7.432, allocations: 1.251 MB / 4.048 GB, free: 130.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/7.432, allocations: 11.56 kB / 4.048 GB, free: 130.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/7.432, allocations: 0 / 4.048 GB, free: 130.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/7.434, allocations: 1.018 MB / 4.049 GB, free: 130.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/7.439, allocations: 3.188 MB / 4.053 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/7.439, allocations: 3.906 kB / 4.053 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/7.44, allocations: 238.7 kB / 4.053 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/7.441, allocations: 5.938 kB / 4.053 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.529e-05/7.441, allocations: 27.2 kB / 4.053 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/7.441, allocations: 9.281 kB / 4.053 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/7.441, allocations: 6.016 kB / 4.053 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/7.443, allocations: 2.014 MB / 4.055 GB, free: 129.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009401/7.444, allocations: 373.1 kB / 4.055 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/7.445, allocations: 27.52 kB / 4.055 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/7.446, allocations: 115.2 kB / 4.055 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/7.446, allocations: 74.34 kB / 4.055 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-05/7.446, allocations: 37.25 kB / 4.055 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001278/7.448, allocations: 0.8109 MB / 4.056 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.01e-07/7.448, allocations: 0 / 4.056 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003531/7.451, allocations: 1.107 MB / 4.057 GB, free: 129.2 MB / 0.9948 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.004684/7.456, allocations: 2.938 MB / 4.06 GB, free: 128.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002938/7.459, allocations: 1.611 MB / 4.062 GB, free: 128.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/7.459, allocations: 6 kB / 4.062 GB, free: 128.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008654/7.46, allocations: 0.5636 MB / 4.062 GB, free: 128.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/7.465, allocations: 0.8197 MB / 4.063 GB, free: 128.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/7.47, allocations: 3.998 MB / 4.067 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/7.471, allocations: 1.365 MB / 4.068 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002224/7.474, allocations: 459.6 kB / 4.069 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/7.474, allocations: 121.1 kB / 4.069 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of SimCode: time 7.11e-07/7.474, allocations: 0 / 4.069 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.07376/7.548, allocations: 57.19 MB / 4.125 GB, free: 123.2 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)