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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 293 MB / 309 MB, free: 4.824 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.001251/0.001251, allocations: 172.1 kB / 378.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.4 MB / 0.6383 GB, free: 9.168 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.001047/0.001047, allocations: 90.19 kB / 0.7527 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004586, allocations: 15.98 kB / 0.8768 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3408, allocations: 116.4 MB / 0.9904 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.122/6.463, allocations: 2.085 GB / 3.076 GB, free: 130.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/6.463, allocations: 97.17 kB / 3.076 GB, free: 130.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.276/10.74, allocations: 1.058 GB / 4.134 GB, free: 120 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.226e-06/10.74, allocations: 2.156 kB / 4.134 GB, free: 120 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000287/10.74, allocations: 47.5 kB / 4.134 GB, free: 120 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.009336/10.75, allocations: 2.412 MB / 4.136 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/10.75, allocations: 7.562 kB / 4.136 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004105/10.75, allocations: 0.5147 MB / 4.137 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/10.76, allocations: 1.317 MB / 4.138 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/10.76, allocations: 103.9 kB / 4.138 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006015/10.76, allocations: 144.7 kB / 4.138 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/10.76, allocations: 1.671 MB / 4.14 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-05/10.76, allocations: 13.5 kB / 4.14 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/10.76, allocations: 52.34 kB / 4.14 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.331e-05/10.76, allocations: 63.53 kB / 4.14 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/10.77, allocations: 1.406 MB / 4.141 GB, free: 117 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.01021/10.78, allocations: 7.168 MB / 4.148 GB, free: 112 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/10.78, allocations: 1.197 MB / 4.15 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009192/10.78, allocations: 0.606 MB / 4.15 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007406/10.78, allocations: 0.8644 MB / 4.151 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/10.78, allocations: 0.6045 MB / 4.152 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=110): time 4.128e-06/10.78, allocations: 3.062 kB / 4.152 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110): time 0.003292/10.78, allocations: 1.572 MB / 4.153 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/10.78, allocations: 91.42 kB / 4.153 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/10.79, allocations: 1.174 MB / 4.154 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/10.79, allocations: 51.42 kB / 4.154 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007805/10.79, allocations: 0.6844 MB / 4.155 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/10.79, allocations: 379 kB / 4.155 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/10.79, allocations: 18.53 kB / 4.156 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/10.79, allocations: 351.1 kB / 4.156 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007025/10.79, allocations: 417.9 kB / 4.156 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008433/10.79, allocations: 0.6066 MB / 4.157 GB, free: 107 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/10.79, allocations: 1.011 MB / 4.158 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/10.79, allocations: 0 / 4.158 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002342/10.79, allocations: 1.222 MB / 4.159 GB, free: 106 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/10.79, allocations: 160.9 kB / 4.159 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/10.79, allocations: 3.656 kB / 4.159 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.334e-05/10.79, allocations: 10.91 kB / 4.159 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009857/10.79, allocations: 223.1 kB / 4.159 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.791e-05/10.79, allocations: 11.44 kB / 4.159 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/10.8, allocations: 177.3 kB / 4.16 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/10.8, allocations: 40.53 kB / 4.16 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/10.8, allocations: 3.75 kB / 4.16 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001621/10.8, allocations: 1.039 MB / 4.161 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/10.8, allocations: 0 / 4.161 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/10.8, allocations: 11.06 kB / 4.161 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000859/10.8, allocations: 214.7 kB / 4.161 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/10.8, allocations: 9.156 kB / 4.161 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/10.8, allocations: 165.1 kB / 4.161 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/10.8, allocations: 46.88 kB / 4.161 GB, free: 105.2 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.001089/10.8, allocations: 486.6 kB / 4.162 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004638/10.8, allocations: 152.7 kB / 4.162 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/10.8, allocations: 1.254 MB / 4.163 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/10.8, allocations: 10.84 kB / 4.163 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/10.8, allocations: 0 / 4.163 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001521/10.81, allocations: 1.024 MB / 4.164 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005896/10.81, allocations: 3.18 MB / 4.167 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/10.81, allocations: 3.25 kB / 4.167 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/10.81, allocations: 246.3 kB / 4.167 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/10.81, allocations: 7.406 kB / 4.167 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.156e-05/10.81, allocations: 30.78 kB / 4.167 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/10.81, allocations: 11.88 kB / 4.167 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/10.81, allocations: 0 / 4.167 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/10.82, allocations: 2.014 MB / 4.169 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/10.82, allocations: 369.7 kB / 4.17 GB, free: 101 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003789/10.82, allocations: 27.09 kB / 4.17 GB, free: 101 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/10.82, allocations: 117.4 kB / 4.17 GB, free: 101 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/10.82, allocations: 75.28 kB / 4.17 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.028e-05/10.82, allocations: 38.42 kB / 4.17 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00153/10.82, allocations: 0.8121 MB / 4.171 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.31e-07/10.82, allocations: 0 / 4.171 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004087/10.83, allocations: 1.109 MB / 4.172 GB, free: 100.3 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.005464/10.83, allocations: 2.929 MB / 4.175 GB, free: 99.04 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00318/10.83, allocations: 1.607 MB / 4.176 GB, free: 98.48 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/10.83, allocations: 10.34 kB / 4.176 GB, free: 98.47 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000991/10.83, allocations: 0.5561 MB / 4.177 GB, free: 98.28 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005544/10.84, allocations: 0.8263 MB / 4.178 GB, free: 98.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007172/10.85, allocations: 4.004 MB / 4.181 GB, free: 95.76 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/10.85, allocations: 1.36 MB / 4.183 GB, free: 94.98 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002557/10.85, allocations: 464.9 kB / 4.183 GB, free: 94.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/10.85, allocations: 128.6 kB / 4.183 GB, free: 94.88 MB / 0.9636 GB Notification: Performance of SimCode: time 1.182e-06/10.85, allocations: 0 / 4.183 GB, free: 94.88 MB / 0.9636 GB Notification: Performance of Templates: time 0.08316/10.94, allocations: 57.18 MB / 4.239 GB, free: 46.91 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)