Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001172/0.001172, allocations: 96.55 kB / 16.26 MB, free: 5.934 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.001388/0.001388, allocations: 192.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8452/0.8452, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.89 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6339, allocations: 77.92 MB / 0.5672 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.9311/1.565, allocations: 235.8 MB / 0.7975 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02017/1.585, allocations: 10.41 MB / 0.8077 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004876/1.59, allocations: 63.69 kB / 0.8077 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004233/1.595, allocations: 1.181 MB / 0.8089 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01305/1.608, allocations: 3.665 MB / 0.8125 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006912/1.615, allocations: 2.058 MB / 0.8145 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008521/1.623, allocations: 4.447 MB / 0.8188 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003266/1.626, allocations: 1.583 MB / 0.8204 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004279/1.631, allocations: 1.594 MB / 0.8219 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003583/1.634, allocations: 1.495 MB / 0.8234 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004406/1.635, allocations: 183.6 kB / 0.8236 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/1.645, allocations: 3.233 MB / 0.8267 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002016/1.647, allocations: 0.6976 MB / 0.8274 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002687/1.65, allocations: 1.07 MB / 0.8284 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/1.661, allocations: 3.777 MB / 0.8321 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.661, allocations: 0 / 0.8321 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/1.661, allocations: 2.438 kB / 0.8321 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.182e-05/1.661, allocations: 0 / 0.8321 GB, free: 14.79 MB / 0.5919 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.008217/1.67, allocations: 2.495 MB / 0.8346 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.67, allocations: 10.94 kB / 0.8346 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003827/1.674, allocations: 0.5217 MB / 0.8351 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/1.676, allocations: 1.229 MB / 0.8363 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.404e-05/1.676, allocations: 101.2 kB / 0.8364 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/1.677, allocations: 135.7 kB / 0.8365 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/1.68, allocations: 1.668 MB / 0.8381 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/1.68, allocations: 4.312 kB / 0.8381 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/1.68, allocations: 57.8 kB / 0.8382 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.142e-05/1.68, allocations: 71.89 kB / 0.8383 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/1.683, allocations: 1.449 MB / 0.8397 GB, free: 9.988 MB / 0.5919 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.0114/1.694, allocations: 7.027 MB / 0.8465 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/1.696, allocations: 1.197 MB / 0.8477 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/1.697, allocations: 0.6122 MB / 0.8483 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000945/1.698, allocations: 0.8626 MB / 0.8491 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/1.699, allocations: 0.6102 MB / 0.8497 GB, free: 456 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 3.347e-06/1.699, allocations: 0 / 0.8497 GB, free: 456 kB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.003362/1.703, allocations: 1.572 MB / 0.8513 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/1.703, allocations: 98.09 kB / 0.8514 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/1.705, allocations: 1.187 MB / 0.8525 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/1.705, allocations: 45.7 kB / 0.8526 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006758/1.705, allocations: 0.6836 MB / 0.8532 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/1.706, allocations: 383.1 kB / 0.8536 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004376/1.706, allocations: 178.6 kB / 0.8538 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.706, allocations: 341.9 kB / 0.8541 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/1.708, allocations: 436.6 kB / 0.8545 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.709, allocations: 0.5549 MB / 0.8551 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/1.71, allocations: 1.015 MB / 0.8561 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.71, allocations: 0 / 0.8561 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002526/1.713, allocations: 1.219 MB / 0.8572 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.713, allocations: 8 kB / 0.8573 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.713, allocations: 7.938 kB / 0.8573 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.713, allocations: 7.984 kB / 0.8573 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/1.714, allocations: 216.7 kB / 0.8575 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.714, allocations: 4 kB / 0.8575 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.715, allocations: 97.67 kB / 0.8576 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.201e-05/1.715, allocations: 40.92 kB / 0.8576 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001423/1.717, allocations: 0.7407 MB / 0.8583 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007682/1.718, allocations: 0.5362 MB / 0.8589 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001538/1.719, allocations: 0.9993 MB / 0.8598 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.387e-06/1.719, allocations: 0 / 0.8598 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002098/1.721, allocations: 1.194 MB / 0.861 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.721, allocations: 14.28 kB / 0.861 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.721, allocations: 320 / 0.861 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/1.721, allocations: 12 kB / 0.861 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/1.722, allocations: 212.6 kB / 0.8612 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/1.722, allocations: 4.781 kB / 0.8612 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/1.724, allocations: 79.2 kB / 0.8613 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/1.724, allocations: 36 kB / 0.8613 GB, free: 4.43 MB / 0.6075 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 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002798/1.724, allocations: 237 kB / 0.8616 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/1.724, allocations: 154.2 kB / 0.8617 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/1.726, allocations: 1.241 MB / 0.8629 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.726, allocations: 12 kB / 0.8629 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.726, allocations: 0 / 0.8629 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001517/1.728, allocations: 1.005 MB / 0.8639 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00523/1.733, allocations: 3.176 MB / 0.867 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.036e-06/1.733, allocations: 4 kB / 0.867 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.734, allocations: 224.6 kB / 0.8672 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/1.734, allocations: 11.98 kB / 0.8673 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/1.734, allocations: 31.94 kB / 0.8673 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/1.734, allocations: 4 kB / 0.8673 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.734, allocations: 4.281 kB / 0.8673 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/1.738, allocations: 1.916 MB / 0.8692 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008347/1.738, allocations: 354.9 kB / 0.8695 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/1.739, allocations: 35.92 kB / 0.8695 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008956/1.74, allocations: 35.98 kB / 0.8696 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/1.74, allocations: 71.44 kB / 0.8696 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.019e-05/1.74, allocations: 39.98 kB / 0.8697 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001208/1.741, allocations: 0.8258 MB / 0.8705 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.741, allocations: 0 / 0.8705 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002097/1.743, allocations: 0.8377 MB / 0.8713 GB, free: 10.08 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001458/1.745, allocations: 0.587 MB / 0.8719 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004003/1.749, allocations: 1.855 MB / 0.8737 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.749, allocations: 320 / 0.8737 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009356/1.75, allocations: 0.5734 MB / 0.8742 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004071/1.754, allocations: 0.8738 MB / 0.8751 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/1.76, allocations: 3.354 MB / 0.8784 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.761, allocations: 1.368 MB / 0.8797 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002495/1.763, allocations: 463.5 kB / 0.8802 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/1.764, allocations: 111.4 kB / 0.8803 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of SimCode: time 2.044e-06/1.764, allocations: 0 / 0.8803 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of Templates: time 0.05397/1.818, allocations: 29.96 MB / 0.9095 GB, free: 3.656 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)