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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009753/0.0009755, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4242/0.4242, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 222.9 MB / 349.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008944/0.0008944, allocations: 99.16 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009478/0.0009479, allocations: 55.92 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2852, allocations: 70.06 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.4479/0.7331, allocations: 233.6 MB / 0.7857 GB, free: 348 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.7465, allocations: 10.51 MB / 0.7959 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.7485, allocations: 58.09 kB / 0.796 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.7507, allocations: 1.022 MB / 0.797 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.006944/0.7577, allocations: 3.438 MB / 0.8003 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.7619, allocations: 1.886 MB / 0.8022 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005822/0.7677, allocations: 6.303 MB / 0.8083 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.7693, allocations: 1.341 MB / 0.8096 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.7713, allocations: 1.404 MB / 0.811 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.7735, allocations: 1.54 MB / 0.8125 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.7737, allocations: 99.44 kB / 0.8126 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006239/0.7799, allocations: 3.74 MB / 0.8163 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0006577/0.7806, allocations: 0.616 MB / 0.8169 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.7817, allocations: 0.9691 MB / 0.8178 GB, free: 132 kB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005773/0.7875, allocations: 3.95 MB / 0.8217 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.7875, allocations: 3.984 kB / 0.8217 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7875, allocations: 0 / 0.8217 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.7876, allocations: 0 / 0.8217 GB, free: 12.47 MB / 0.5417 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.004688/0.7922, allocations: 2.488 MB / 0.8241 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.7923, allocations: 12.03 kB / 0.8241 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/0.7951, allocations: 0.5221 MB / 0.8246 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.797, allocations: 1.229 MB / 0.8258 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.586e-05/0.7971, allocations: 102.7 kB / 0.8259 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.7972, allocations: 131.3 kB / 0.826 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.7997, allocations: 1.669 MB / 0.8277 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.7997, allocations: 18.41 kB / 0.8277 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.7998, allocations: 59.28 kB / 0.8277 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.069e-05/0.7999, allocations: 66.58 kB / 0.8278 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.8022, allocations: 1.448 MB / 0.8292 GB, free: 4.668 MB / 0.5417 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.007637/0.8099, allocations: 6.959 MB / 0.836 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.8116, allocations: 1.203 MB / 0.8372 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008746/0.8125, allocations: 0.6122 MB / 0.8378 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007949/0.8133, allocations: 0.8614 MB / 0.8386 GB, free: 10.51 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009519/0.8143, allocations: 0.6025 MB / 0.8392 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=110): time 2.805e-06/0.8143, allocations: 3.938 kB / 0.8392 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of matching and sorting (n=110): time 0.002808/0.8171, allocations: 1.571 MB / 0.8408 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.8172, allocations: 90.11 kB / 0.8408 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.8185, allocations: 1.195 MB / 0.842 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.122e-05/0.8186, allocations: 45.7 kB / 0.8421 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005059/0.8191, allocations: 0.6776 MB / 0.8427 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/0.8194, allocations: 384.3 kB / 0.8431 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.8197, allocations: 178.6 kB / 0.8433 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8199, allocations: 353.9 kB / 0.8436 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.8206, allocations: 428.6 kB / 0.844 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008185/0.8214, allocations: 0.5638 MB / 0.8446 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.8229, allocations: 1.019 MB / 0.8455 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.8229, allocations: 0 / 0.8455 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001908/0.8248, allocations: 1.221 MB / 0.8467 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.8249, allocations: 8 kB / 0.8468 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.8249, allocations: 0 / 0.8468 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.8249, allocations: 8 kB / 0.8468 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/0.8258, allocations: 221 kB / 0.847 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.8258, allocations: 8 kB / 0.847 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.8271, allocations: 182.8 kB / 0.8472 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-05/0.8272, allocations: 36 kB / 0.8472 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001106/0.8283, allocations: 0.7405 MB / 0.8479 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007397/0.8291, allocations: 0.56 MB / 0.8485 GB, free: 296 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001387/0.8305, allocations: 0.9954 MB / 0.8494 GB, free: 15.27 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.8305, allocations: 0 / 0.8494 GB, free: 15.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001843/0.8323, allocations: 1.196 MB / 0.8506 GB, free: 14.08 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.8323, allocations: 9.719 kB / 0.8506 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.8324, allocations: 4.266 kB / 0.8506 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.415e-06/0.8324, allocations: 8.312 kB / 0.8506 GB, free: 14.06 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008349/0.8332, allocations: 216.5 kB / 0.8508 GB, free: 13.86 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.8332, allocations: 4 kB / 0.8508 GB, free: 13.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.8344, allocations: 159.2 kB / 0.851 GB, free: 13.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.8345, allocations: 36 kB / 0.851 GB, free: 13.67 MB / 0.573 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.0002413/0.8348, allocations: 245 kB / 0.8512 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.835, allocations: 150.2 kB / 0.8514 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.837, allocations: 1.237 MB / 0.8526 GB, free: 12.04 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.837, allocations: 12 kB / 0.8526 GB, free: 12.03 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.837, allocations: 0 / 0.8526 GB, free: 12.03 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/0.8385, allocations: 1.013 MB / 0.8536 GB, free: 11.01 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004509/0.843, allocations: 3.172 MB / 0.8567 GB, free: 7.758 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.843, allocations: 4 kB / 0.8567 GB, free: 7.754 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.8441, allocations: 222.4 kB / 0.8569 GB, free: 7.547 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.8441, allocations: 7.938 kB / 0.8569 GB, free: 7.539 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.8442, allocations: 32.3 kB / 0.857 GB, free: 7.508 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.598e-05/0.8442, allocations: 14.62 kB / 0.857 GB, free: 7.496 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8442, allocations: 0 / 0.857 GB, free: 7.496 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/0.8619, allocations: 10.34 MB / 0.8671 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/0.8626, allocations: 358.9 kB / 0.8674 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.8627, allocations: 24 kB / 0.8674 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009853/0.8637, allocations: 110.2 kB / 0.8675 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.8639, allocations: 83.45 kB / 0.8676 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/0.864, allocations: 39.98 kB / 0.8677 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009388/0.8649, allocations: 0.8258 MB / 0.8685 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8649, allocations: 0 / 0.8685 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003702/0.8686, allocations: 1.345 MB / 0.8698 GB, free: 10.13 MB / 0.5886 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.001199/0.8698, allocations: 0.6121 MB / 0.8704 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002506/0.8723, allocations: 1.609 MB / 0.8719 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.8724, allocations: 11.8 kB / 0.872 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007997/0.8732, allocations: 0.5667 MB / 0.8725 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.8766, allocations: 0.8313 MB / 0.8733 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005488/0.8821, allocations: 4.607 MB / 0.8778 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009108/0.883, allocations: 1.396 MB / 0.8792 GB, free: 0.6758 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001871/0.8849, allocations: 491.5 kB / 0.8797 GB, free: 196 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.8853, allocations: 123.4 kB / 0.8798 GB, free: 72 kB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.8854, allocations: 0 / 0.8798 GB, free: 72 kB / 0.5886 GB Notification: Performance of Templates: time 0.04518/0.9305, allocations: 33.11 MB / 0.9121 GB, free: 15.32 MB / 0.6355 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)