Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 292.6 MB / 307.5 MB, free: 5.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001032, allocations: 182.3 kB / 377.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.258/2.258, allocations: 205.4 MB / 0.6367 GB, free: 9.516 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009373/0.0009374, allocations: 91.59 kB / 0.751 GB, free: 62.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.000358, allocations: 8 kB / 0.8748 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2942, allocations: 116.3 MB / 0.9884 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.026/7.32, allocations: 2.085 GB / 3.074 GB, free: 133.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/7.321, allocations: 96.59 kB / 3.074 GB, free: 133.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.312/11.63, allocations: 1.06 GB / 4.134 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.924e-06/11.63, allocations: 0 / 4.134 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001374/11.63, allocations: 42.78 kB / 4.134 GB, free: 118.5 MB / 0.9636 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.007603/11.64, allocations: 2.436 MB / 4.136 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/11.64, allocations: 10.19 kB / 4.136 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003599/11.64, allocations: 0.5166 MB / 4.137 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/11.65, allocations: 1.263 MB / 4.138 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.324e-05/11.65, allocations: 102.4 kB / 4.138 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/11.65, allocations: 149.5 kB / 4.138 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/11.65, allocations: 1.649 MB / 4.14 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/11.65, allocations: 3.188 kB / 4.14 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/11.65, allocations: 55.19 kB / 4.14 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.258e-05/11.65, allocations: 62.48 kB / 4.14 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002388/11.65, allocations: 1.414 MB / 4.141 GB, free: 116.5 MB / 0.9636 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.01054/11.66, allocations: 7.163 MB / 4.148 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/11.67, allocations: 1.192 MB / 4.15 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009044/11.67, allocations: 0.8627 MB / 4.15 GB, free: 110 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/11.67, allocations: 0.6048 MB / 4.151 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=110): time 4.629e-06/11.67, allocations: 0 / 4.151 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110): time 0.004199/11.67, allocations: 1.572 MB / 4.153 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/11.67, allocations: 92.92 kB / 4.153 GB, free: 109 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/11.67, allocations: 1.036 MB / 4.154 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/11.67, allocations: 52.73 kB / 4.154 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007614/11.68, allocations: 0.6838 MB / 4.154 GB, free: 108 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/11.68, allocations: 380.9 kB / 4.155 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/11.68, allocations: 19.91 kB / 4.155 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001015/11.68, allocations: 348.1 kB / 4.155 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006599/11.68, allocations: 413.6 kB / 4.156 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/11.68, allocations: 0.596 MB / 4.156 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/11.68, allocations: 0.4942 MB / 4.157 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/11.68, allocations: 3.719 kB / 4.157 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002043/11.68, allocations: 1.226 MB / 4.158 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002382/11.68, allocations: 0.9744 MB / 4.159 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.663e-05/11.68, allocations: 2.344 kB / 4.159 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/11.68, allocations: 11.22 kB / 4.159 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009734/11.68, allocations: 225.5 kB / 4.159 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/11.68, allocations: 8.938 kB / 4.159 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/11.68, allocations: 175.9 kB / 4.159 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.51e-05/11.68, allocations: 40.7 kB / 4.159 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/11.68, allocations: 3.781 kB / 4.159 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001593/11.68, allocations: 1.039 MB / 4.16 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/11.68, allocations: 3.281 kB / 4.16 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/11.68, allocations: 7.812 kB / 4.16 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008688/11.69, allocations: 209.1 kB / 4.16 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/11.69, allocations: 10.44 kB / 4.16 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/11.69, allocations: 169.4 kB / 4.161 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.89e-05/11.69, allocations: 41.34 kB / 4.161 GB, free: 104.5 MB / 0.9636 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.001151/11.69, allocations: 494.7 kB / 4.161 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/11.69, allocations: 152.7 kB / 4.161 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/11.69, allocations: 1.246 MB / 4.162 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/11.69, allocations: 15.38 kB / 4.162 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/11.69, allocations: 0 / 4.162 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001453/11.69, allocations: 1.013 MB / 4.163 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/11.7, allocations: 3.19 MB / 4.167 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/11.7, allocations: 0 / 4.167 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/11.7, allocations: 244.5 kB / 4.167 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/11.7, allocations: 11.69 kB / 4.167 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.698e-05/11.7, allocations: 29.8 kB / 4.167 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/11.7, allocations: 11.7 kB / 4.167 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/11.7, allocations: 0 / 4.167 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/11.7, allocations: 2.145 MB / 4.169 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009207/11.7, allocations: 370.2 kB / 4.169 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/11.7, allocations: 31.41 kB / 4.169 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/11.7, allocations: 120.2 kB / 4.169 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/11.7, allocations: 74.84 kB / 4.17 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/11.7, allocations: 40.33 kB / 4.17 GB, free: 100 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001176/11.71, allocations: 0.8117 MB / 4.17 GB, free: 99.72 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.41e-07/11.71, allocations: 0 / 4.17 GB, free: 99.72 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003187/11.71, allocations: 1.1 MB / 4.171 GB, free: 99.42 MB / 0.9636 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.005389/11.71, allocations: 2.9 MB / 4.174 GB, free: 98.15 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003293/11.72, allocations: 1.61 MB / 4.176 GB, free: 97.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/11.72, allocations: 0 / 4.176 GB, free: 97.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009264/11.72, allocations: 0.5659 MB / 4.176 GB, free: 97.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004251/11.72, allocations: 0.8181 MB / 4.177 GB, free: 97.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006112/11.73, allocations: 3.997 MB / 4.181 GB, free: 94.96 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009135/11.73, allocations: 1.4 MB / 4.182 GB, free: 94.18 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002168/11.73, allocations: 460.3 kB / 4.183 GB, free: 94.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/11.73, allocations: 124.3 kB / 4.183 GB, free: 94.08 MB / 0.9636 GB Notification: Performance of SimCode: time 1.012e-06/11.73, allocations: 0 / 4.183 GB, free: 94.08 MB / 0.9636 GB Notification: Performance of Templates: time 0.08264/11.81, allocations: 56.42 MB / 4.238 GB, free: 50.31 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)