Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.551/1.551, allocations: 251.9 MB / 0.51 GB, free: 4.887 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000604/0.0006042, allocations: 15.28 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6672/0.6678, allocations: 106.3 MB / 0.728 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.8049/1.473, allocations: 193.8 MB / 0.9172 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01945/1.492, allocations: 10.27 MB / 0.9273 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/1.496, allocations: 47.22 kB / 0.9273 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004282/1.5, allocations: 1.075 MB / 0.9284 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01372/1.514, allocations: 2.906 MB / 0.9312 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007319/1.521, allocations: 1.665 MB / 0.9328 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007944/1.529, allocations: 2.575 MB / 0.9353 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/1.532, allocations: 1.222 MB / 0.9365 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/1.537, allocations: 1.274 MB / 0.9378 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/1.539, allocations: 0.9463 MB / 0.9387 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003014/1.539, allocations: 82.84 kB / 0.9388 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006711/1.546, allocations: 1.355 MB / 0.9401 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001279/1.547, allocations: 0.54 MB / 0.9406 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001535/1.549, allocations: 415.1 kB / 0.941 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004822/1.554, allocations: 2.419 MB / 0.9434 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.554, allocations: 0 / 0.9434 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.826e-06/1.554, allocations: 0 / 0.9434 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.051e-05/1.554, allocations: 0 / 0.9434 GB, free: 20.61 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006423/1.56, allocations: 2.108 MB / 0.9454 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.56, allocations: 8 kB / 0.9455 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/1.564, allocations: 0.5347 MB / 0.946 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/1.567, allocations: 1.171 MB / 0.9471 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.744e-05/1.568, allocations: 108.3 kB / 0.9472 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/1.568, allocations: 136.2 kB / 0.9474 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/1.571, allocations: 1.672 MB / 0.949 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/1.571, allocations: 6.375 kB / 0.949 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/1.571, allocations: 64.16 kB / 0.9491 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.501e-05/1.571, allocations: 70.42 kB / 0.9491 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/1.574, allocations: 1.445 MB / 0.9505 GB, free: 18.8 MB / 0.7325 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.01012/1.584, allocations: 6.982 MB / 0.9573 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/1.585, allocations: 1.173 MB / 0.9585 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/1.586, allocations: 0.6905 MB / 0.9592 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/1.587, allocations: 0.6048 MB / 0.9598 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 4.057e-06/1.587, allocations: 0 / 0.9598 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110): time 0.003031/1.59, allocations: 1.566 MB / 0.9613 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/1.59, allocations: 92.77 kB / 0.9614 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/1.592, allocations: 1.193 MB / 0.9625 GB, free: 14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/1.592, allocations: 49.7 kB / 0.9626 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/1.593, allocations: 0.6798 MB / 0.9633 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000315/1.593, allocations: 383.8 kB / 0.9636 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/1.593, allocations: 20.75 kB / 0.9636 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002311/1.593, allocations: 349.7 kB / 0.964 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/1.594, allocations: 420.8 kB / 0.9644 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007287/1.595, allocations: 0.557 MB / 0.9649 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007392/1.595, allocations: 491.3 kB / 0.9654 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.595, allocations: 3.094 kB / 0.9654 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00196/1.597, allocations: 1.199 MB / 0.9666 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004745/1.598, allocations: 0.985 MB / 0.9675 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.598, allocations: 2.906 kB / 0.9675 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/1.598, allocations: 7.844 kB / 0.9675 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000943/1.599, allocations: 223.5 kB / 0.9677 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/1.599, allocations: 16.44 kB / 0.9678 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/1.6, allocations: 168.5 kB / 0.9679 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.063e-05/1.6, allocations: 37.75 kB / 0.968 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/1.601, allocations: 3.188 kB / 0.968 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001576/1.602, allocations: 1.031 MB / 0.969 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.602, allocations: 2.844 kB / 0.969 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/1.602, allocations: 6.312 kB / 0.969 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/1.603, allocations: 214.6 kB / 0.9692 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/1.603, allocations: 12.69 kB / 0.9692 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/1.604, allocations: 162.8 kB / 0.9693 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/1.604, allocations: 38.58 kB / 0.9694 GB, free: 11.75 MB / 0.7325 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.0009327/1.605, allocations: 491.2 kB / 0.9699 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/1.606, allocations: 152.5 kB / 0.97 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/1.608, allocations: 1.238 MB / 0.9712 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.608, allocations: 14.77 kB / 0.9712 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.608, allocations: 1.969 kB / 0.9712 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001509/1.609, allocations: 1.004 MB / 0.9722 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/1.614, allocations: 3.16 MB / 0.9753 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.614, allocations: 7.188 kB / 0.9753 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.615, allocations: 234.2 kB / 0.9755 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.473e-05/1.616, allocations: 7.656 kB / 0.9755 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/1.616, allocations: 25.88 kB / 0.9756 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/1.616, allocations: 6 kB / 0.9756 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.616, allocations: 5 kB / 0.9756 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/1.619, allocations: 2.126 MB / 0.9776 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009161/1.62, allocations: 370.2 kB / 0.978 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003246/1.62, allocations: 23.59 kB / 0.978 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.622, allocations: 123.3 kB / 0.9781 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/1.622, allocations: 74.98 kB / 0.9782 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/1.622, allocations: 37.92 kB / 0.9782 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001349/1.623, allocations: 0.8258 MB / 0.979 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.284e-06/1.623, allocations: 0 / 0.979 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002919/1.626, allocations: 0.8505 MB / 0.9799 GB, free: 8.922 MB / 0.7325 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 (110): * Single equations (assignments): 108 * 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.001466/1.628, allocations: 0.5868 MB / 0.9804 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002989/1.631, allocations: 1.598 MB / 0.982 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.631, allocations: 0 / 0.982 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009713/1.632, allocations: 0.5703 MB / 0.9826 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/1.636, allocations: 0.8144 MB / 0.9834 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007451/1.643, allocations: 4.019 MB / 0.9873 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.645, allocations: 1.408 MB / 0.9887 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002352/1.647, allocations: 452.7 kB / 0.9891 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/1.648, allocations: 110.8 kB / 0.9892 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of SimCode: time 1.623e-06/1.648, allocations: 0 / 0.9892 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of Templates: time 0.05349/1.701, allocations: 28 MB / 1.017 GB, free: 14.11 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: