Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.089/3.089, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001543/0.001542, allocations: 177 kB / 370.8 MB, free: 10.82 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.649/2.649, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 92.45 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006835/0.0006838, allocations: 19.97 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2197, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.02/1.24, allocations: 193.5 MB / 1.167 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02686/1.267, allocations: 10.16 MB / 1.177 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00318/1.27, allocations: 46.78 kB / 1.177 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005309/1.275, allocations: 1.064 MB / 1.178 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01372/1.289, allocations: 2.886 MB / 1.181 GB, free: 440 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007738/1.297, allocations: 1.589 MB / 1.183 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007145/1.304, allocations: 2.525 MB / 1.185 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003156/1.307, allocations: 1.189 MB / 1.186 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004327/1.311, allocations: 1.25 MB / 1.187 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/1.314, allocations: 0.9357 MB / 1.188 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0007436/1.315, allocations: 77.66 kB / 1.188 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006453/1.322, allocations: 1.352 MB / 1.19 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001476/1.323, allocations: 0.5291 MB / 1.19 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001285/1.325, allocations: 409.6 kB / 1.191 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006094/1.331, allocations: 2.366 MB / 1.193 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.331, allocations: 0 / 1.193 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.118e-06/1.331, allocations: 0 / 1.193 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001047/1.331, allocations: 0 / 1.193 GB, free: 9.023 MB / 0.7292 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.008769/1.34, allocations: 2.096 MB / 1.195 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.34, allocations: 10.31 kB / 1.195 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007137/1.347, allocations: 0.5278 MB / 1.195 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/1.351, allocations: 1.164 MB / 1.197 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/1.351, allocations: 111.7 kB / 1.197 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004989/1.352, allocations: 138.4 kB / 1.197 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005438/1.357, allocations: 1.655 MB / 1.198 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.969e-05/1.357, allocations: 2.938 kB / 1.198 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/1.358, allocations: 53.09 kB / 1.199 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/1.358, allocations: 71.62 kB / 1.199 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005187/1.363, allocations: 1.446 MB / 1.2 GB, free: 4.43 MB / 0.7292 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.01571/1.379, allocations: 6.954 MB / 1.207 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/1.382, allocations: 1.195 MB / 1.208 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009858/1.383, allocations: 0.6931 MB / 1.209 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/1.385, allocations: 0.6024 MB / 1.209 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=110): time 6.903e-06/1.385, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=110): time 0.005337/1.39, allocations: 1.58 MB / 1.211 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/1.39, allocations: 90.09 kB / 1.211 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/1.393, allocations: 1.183 MB / 1.212 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002182/1.393, allocations: 45.7 kB / 1.212 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008289/1.394, allocations: 0.6737 MB / 1.213 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005474/1.395, allocations: 382.4 kB / 1.213 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-05/1.395, allocations: 20 kB / 1.213 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002043/1.395, allocations: 345.9 kB / 1.213 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/1.396, allocations: 417.8 kB / 1.214 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/1.398, allocations: 0.5612 MB / 1.214 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/1.399, allocations: 498.9 kB / 1.215 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.399, allocations: 0 / 1.215 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003749/1.403, allocations: 1.211 MB / 1.216 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004704/1.403, allocations: 0.989 MB / 1.217 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.404, allocations: 0 / 1.217 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/1.404, allocations: 8 kB / 1.217 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/1.406, allocations: 219.7 kB / 1.217 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/1.406, allocations: 8.703 kB / 1.217 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/1.408, allocations: 172.2 kB / 1.217 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/1.408, allocations: 39.98 kB / 1.217 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.408, allocations: 4 kB / 1.217 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003115/1.411, allocations: 1.031 MB / 1.218 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.412, allocations: 0 / 1.218 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.412, allocations: 8 kB / 1.218 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/1.413, allocations: 220 kB / 1.219 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/1.413, allocations: 11.88 kB / 1.219 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/1.416, allocations: 158.9 kB / 1.219 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/1.416, allocations: 39.98 kB / 1.219 GB, free: 2.016 MB / 0.7448 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.001212/1.417, allocations: 492.7 kB / 1.219 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004395/1.418, allocations: 150.2 kB / 1.219 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/1.421, allocations: 1.239 MB / 1.221 GB, free: 128 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.232e-05/1.422, allocations: 16 kB / 1.221 GB, free: 112 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.422, allocations: 3.938 kB / 1.221 GB, free: 108 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002925/1.424, allocations: 1.007 MB / 1.222 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008624/1.433, allocations: 3.166 MB / 1.225 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.433, allocations: 3.953 kB / 1.225 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00222/1.435, allocations: 236.1 kB / 1.225 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.116e-05/1.435, allocations: 8 kB / 1.225 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/1.436, allocations: 35.92 kB / 1.225 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.715e-05/1.436, allocations: 4 kB / 1.225 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/1.436, allocations: 4 kB / 1.225 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005763/1.441, allocations: 2.135 MB / 1.227 GB, free: 9.246 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.443, allocations: 359 kB / 1.227 GB, free: 8.875 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/1.443, allocations: 24.69 kB / 1.227 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/1.445, allocations: 115.7 kB / 1.228 GB, free: 8.738 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/1.445, allocations: 84.88 kB / 1.228 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.445, allocations: 36 kB / 1.228 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001771/1.447, allocations: 0.8137 MB / 1.229 GB, free: 7.801 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.11e-07/1.447, allocations: 0 / 1.229 GB, free: 7.801 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003015/1.45, allocations: 0.8337 MB / 1.229 GB, free: 6.965 MB / 0.7605 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.0018/1.452, allocations: 0.5829 MB / 1.23 GB, free: 6.543 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004733/1.457, allocations: 1.604 MB / 1.231 GB, free: 4.945 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.457, allocations: 4.312 kB / 1.231 GB, free: 4.941 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001921/1.459, allocations: 0.5716 MB / 1.232 GB, free: 4.367 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008102/1.467, allocations: 0.8174 MB / 1.233 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009536/1.477, allocations: 3.99 MB / 1.237 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/1.478, allocations: 1.395 MB / 1.238 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003381/1.482, allocations: 459.6 kB / 1.239 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/1.482, allocations: 115.4 kB / 1.239 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of SimCode: time 4.158e-06/1.482, allocations: 0 / 1.239 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.08099/1.563, allocations: 27.73 MB / 1.266 GB, free: 2.035 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)