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 2.593/2.593, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.001487/0.001487, allocations: 180.3 kB / 371 MB, free: 10.87 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.172/2.172, allocations: 205.4 MB / 0.6297 GB, free: 10.5 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.0008957/0.0008952, allocations: 96.89 kB / 0.743 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006569/0.0006572, allocations: 11.69 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3165, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.039/1.355, allocations: 215 MB / 1.188 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02491/1.38, allocations: 9.606 MB / 1.198 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003395/1.384, allocations: 47.12 kB / 1.198 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005561/1.389, allocations: 0.8016 MB / 1.199 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01238/1.402, allocations: 2.62 MB / 1.201 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007627/1.41, allocations: 1.452 MB / 1.202 GB, free: 416 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01014/1.42, allocations: 5.247 MB / 1.208 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00342/1.423, allocations: 1.173 MB / 1.209 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004693/1.428, allocations: 1.355 MB / 1.21 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004296/1.432, allocations: 1.409 MB / 1.211 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007399/1.433, allocations: 76.81 kB / 1.212 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008428/1.442, allocations: 1.612 MB / 1.213 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001668/1.443, allocations: 0.5773 MB / 1.214 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/1.444, allocations: 403.2 kB / 1.214 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006606/1.451, allocations: 2.581 MB / 1.217 GB, free: 8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/1.451, allocations: 4 kB / 1.217 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.116e-06/1.451, allocations: 0 / 1.217 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.66e-05/1.451, allocations: 0 / 1.217 GB, free: 7.996 MB / 0.7448 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.00886/1.46, allocations: 2.136 MB / 1.219 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.46, allocations: 16.03 kB / 1.219 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005328/1.466, allocations: 0.523 MB / 1.219 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003711/1.469, allocations: 1.171 MB / 1.22 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/1.47, allocations: 98.66 kB / 1.22 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004173/1.47, allocations: 136 kB / 1.221 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00493/1.475, allocations: 1.67 MB / 1.222 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-05/1.475, allocations: 4 kB / 1.222 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/1.475, allocations: 55.98 kB / 1.222 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/1.475, allocations: 70.56 kB / 1.222 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004792/1.48, allocations: 1.447 MB / 1.224 GB, free: 500 kB / 0.7448 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.01547/1.496, allocations: 6.946 MB / 1.231 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/1.499, allocations: 1.189 MB / 1.232 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/1.501, allocations: 0.6122 MB / 1.232 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/1.502, allocations: 0.8671 MB / 1.233 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001972/1.504, allocations: 0.6102 MB / 1.234 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=110): time 5.34e-06/1.505, allocations: 0 / 1.234 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.005598/1.51, allocations: 1.576 MB / 1.235 GB, free: 3.98 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/1.51, allocations: 90.11 kB / 1.235 GB, free: 3.875 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002657/1.513, allocations: 1.185 MB / 1.237 GB, free: 2.68 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003272/1.513, allocations: 45.7 kB / 1.237 GB, free: 2.629 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009057/1.514, allocations: 0.6698 MB / 1.237 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007451/1.515, allocations: 386.4 kB / 1.238 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/1.515, allocations: 20 kB / 1.238 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.515, allocations: 345.9 kB / 1.238 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/1.517, allocations: 425.7 kB / 1.238 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/1.518, allocations: 0.5652 MB / 1.239 GB, free: 188 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/1.52, allocations: 498.8 kB / 1.239 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/1.52, allocations: 0 / 1.239 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004089/1.524, allocations: 1.21 MB / 1.241 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/1.524, allocations: 176.9 kB / 1.241 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.524, allocations: 0 / 1.241 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/1.524, allocations: 8 kB / 1.241 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/1.526, allocations: 215.7 kB / 1.241 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.517e-05/1.527, allocations: 11.94 kB / 1.241 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/1.529, allocations: 172.2 kB / 1.241 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/1.529, allocations: 36.69 kB / 1.241 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.529, allocations: 4 kB / 1.241 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003174/1.533, allocations: 1.031 MB / 1.242 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.533, allocations: 8.031 kB / 1.242 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.533, allocations: 8 kB / 1.242 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/1.535, allocations: 212.5 kB / 1.242 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/1.535, allocations: 11.95 kB / 1.242 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/1.537, allocations: 158.9 kB / 1.243 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/1.538, allocations: 39.98 kB / 1.243 GB, free: 12.38 MB / 0.7761 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.001442/1.539, allocations: 484.8 kB / 1.243 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/1.54, allocations: 146.2 kB / 1.243 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/1.544, allocations: 1.247 MB / 1.244 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/1.544, allocations: 12 kB / 1.244 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.544, allocations: 7.953 kB / 1.244 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003126/1.547, allocations: 1.011 MB / 1.245 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/1.557, allocations: 3.155 MB / 1.248 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.557, allocations: 4.312 kB / 1.248 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002391/1.56, allocations: 239.7 kB / 1.249 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-05/1.56, allocations: 8 kB / 1.249 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/1.56, allocations: 27.98 kB / 1.249 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/1.56, allocations: 8 kB / 1.249 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.56, allocations: 4 kB / 1.249 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005817/1.566, allocations: 2.004 MB / 1.251 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/1.567, allocations: 358.9 kB / 1.251 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004596/1.568, allocations: 27.98 kB / 1.251 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/1.57, allocations: 118.4 kB / 1.251 GB, free: 3.316 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/1.57, allocations: 76.89 kB / 1.251 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/1.571, allocations: 39.98 kB / 1.251 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00199/1.573, allocations: 0.8098 MB / 1.252 GB, free: 2.391 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.82e-07/1.573, allocations: 0 / 1.252 GB, free: 2.391 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003769/1.576, allocations: 0.8298 MB / 1.253 GB, free: 1.559 MB / 0.7761 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.002073/1.578, allocations: 0.5903 MB / 1.253 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005334/1.584, allocations: 1.612 MB / 1.255 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.584, allocations: 0 / 1.255 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.586, allocations: 0.5689 MB / 1.256 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00764/1.594, allocations: 0.834 MB / 1.256 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.604, allocations: 4.002 MB / 1.26 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/1.605, allocations: 1.368 MB / 1.262 GB, free: 8.66 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003336/1.609, allocations: 443.6 kB / 1.262 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007533/1.61, allocations: 107.4 kB / 1.262 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of SimCode: time 3.878e-06/1.61, allocations: 0 / 1.262 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of Templates: time 0.08384/1.693, allocations: 27.77 MB / 1.289 GB, free: 12.6 MB / 0.823 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)