Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.55/1.55, allocations: 288.4 MB / 303.7 MB, free: 8.852 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.001005/0.001005, allocations: 176.5 kB / 372.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 0.631 GB, free: 13.46 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008523/0.0008525, allocations: 96.03 kB / 0.7444 GB, free: 64.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 16 kB / 0.8675 GB, free: 0.5859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2216, allocations: 115.3 MB / 0.9801 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5475/0.7692, allocations: 215 MB / 1.19 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.7831, allocations: 9.595 MB / 1.199 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/0.7856, allocations: 48.12 kB / 1.2 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002703/0.7883, allocations: 0.9212 MB / 1.2 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.007656/0.796, allocations: 3.131 MB / 1.203 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004573/0.8006, allocations: 1.625 MB / 1.205 GB, free: 7.617 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.006321/0.8069, allocations: 5.282 MB / 1.21 GB, free: 5.559 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.8091, allocations: 1.287 MB / 1.211 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.8121, allocations: 1.342 MB / 1.213 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002721/0.8149, allocations: 1.41 MB / 1.214 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002556/0.8151, allocations: 80.88 kB / 1.214 GB, free: 4.012 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0071/0.8222, allocations: 3.656 MB / 1.218 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0009762/0.8233, allocations: 0.5794 MB / 1.218 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.825, allocations: 0.9125 MB / 1.219 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004676/0.8297, allocations: 2.786 MB / 1.222 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8297, allocations: 3.938 kB / 1.222 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.354e-06/0.8297, allocations: 1.375 kB / 1.222 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.653e-05/0.8298, allocations: 4 kB / 1.222 GB, free: 1.344 MB / 0.7917 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.005591/0.8354, allocations: 2.119 MB / 1.224 GB, free: 76 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.8355, allocations: 9.281 kB / 1.224 GB, free: 76 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/0.839, allocations: 0.526 MB / 1.225 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/0.8417, allocations: 1.22 MB / 1.226 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.8419, allocations: 102.7 kB / 1.226 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.8421, allocations: 139.2 kB / 1.226 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/0.8456, allocations: 1.66 MB / 1.228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.8457, allocations: 9.094 kB / 1.228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.8458, allocations: 57.78 kB / 1.228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.27e-05/0.8459, allocations: 68.38 kB / 1.228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.8489, allocations: 1.44 MB / 1.229 GB, free: 13.77 MB / 0.8073 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.00999/0.8589, allocations: 6.957 MB / 1.236 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.8608, allocations: 1.191 MB / 1.237 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009899/0.8618, allocations: 0.6175 MB / 1.238 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008772/0.8627, allocations: 0.8623 MB / 1.239 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.8638, allocations: 0.603 MB / 1.239 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=110): time 3.095e-06/0.8638, allocations: 0 / 1.239 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.003392/0.8672, allocations: 1.579 MB / 1.241 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.8673, allocations: 94.34 kB / 1.241 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.8693, allocations: 1.184 MB / 1.242 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.8695, allocations: 48.39 kB / 1.242 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006584/0.8702, allocations: 0.6704 MB / 1.243 GB, free: 5.027 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/0.8706, allocations: 387 kB / 1.243 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.8707, allocations: 19.91 kB / 1.243 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8708, allocations: 343.8 kB / 1.243 GB, free: 4.387 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008025/0.8716, allocations: 421.3 kB / 1.244 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000814/0.8725, allocations: 0.5738 MB / 1.244 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.874, allocations: 1.011 MB / 1.245 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8741, allocations: 0 / 1.245 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002081/0.8762, allocations: 1.223 MB / 1.247 GB, free: 2.895 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.67e-05/0.8763, allocations: 166.2 kB / 1.247 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.8763, allocations: 5.844 kB / 1.247 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.8763, allocations: 6.719 kB / 1.247 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/0.8773, allocations: 214 kB / 1.247 GB, free: 2.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.8773, allocations: 12.34 kB / 1.247 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.8789, allocations: 172.4 kB / 1.247 GB, free: 2.605 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/0.8789, allocations: 37.33 kB / 1.247 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.879, allocations: 5.594 kB / 1.247 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001636/0.8806, allocations: 1.034 MB / 1.248 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.8806, allocations: 2.969 kB / 1.248 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.345e-06/0.8806, allocations: 5.75 kB / 1.248 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/0.8816, allocations: 210.8 kB / 1.248 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.8816, allocations: 7.094 kB / 1.248 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.8832, allocations: 161.6 kB / 1.248 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.8833, allocations: 41.94 kB / 1.249 GB, free: 2.074 MB / 0.8073 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.001/0.8843, allocations: 486.2 kB / 1.249 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.8846, allocations: 151 kB / 1.249 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.8867, allocations: 1.246 MB / 1.25 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.8867, allocations: 10.84 kB / 1.25 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8867, allocations: 0 / 1.25 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/0.8883, allocations: 1.015 MB / 1.251 GB, free: 0.6914 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00505/0.8933, allocations: 3.155 MB / 1.254 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.8934, allocations: 6.844 kB / 1.254 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.8945, allocations: 232.8 kB / 1.255 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-06/0.8945, allocations: 6.531 kB / 1.255 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.8946, allocations: 35.38 kB / 1.255 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.8946, allocations: 8.797 kB / 1.255 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/0.8946, allocations: 6.906 kB / 1.255 GB, free: 15.04 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/0.8975, allocations: 1.993 MB / 1.257 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000822/0.8984, allocations: 360.9 kB / 1.257 GB, free: 13.82 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.8986, allocations: 24.88 kB / 1.257 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.8997, allocations: 121.9 kB / 1.257 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.8998, allocations: 75.62 kB / 1.257 GB, free: 13.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.443e-05/0.8999, allocations: 44.25 kB / 1.257 GB, free: 13.74 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001127/0.901, allocations: 0.8095 MB / 1.258 GB, free: 13.42 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9011, allocations: 6.219 kB / 1.258 GB, free: 13.41 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001933/0.903, allocations: 0.8364 MB / 1.259 GB, free: 13.03 MB / 0.823 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.001304/0.9043, allocations: 0.5804 MB / 1.259 GB, free: 12.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002869/0.9072, allocations: 1.607 MB / 1.261 GB, free: 11.17 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.9072, allocations: 5.25 kB / 1.261 GB, free: 11.17 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009291/0.9082, allocations: 0.5676 MB / 1.262 GB, free: 10.62 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004499/0.9127, allocations: 0.8127 MB / 1.262 GB, free: 9.816 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/0.9184, allocations: 4.001 MB / 1.266 GB, free: 5.777 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009742/0.9194, allocations: 1.36 MB / 1.268 GB, free: 4.387 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00203/0.9215, allocations: 452.8 kB / 1.268 GB, free: 3.953 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.9218, allocations: 111.4 kB / 1.268 GB, free: 3.848 MB / 0.823 GB Notification: Performance of SimCode: time 8.21e-07/0.9218, allocations: 0 / 1.268 GB, free: 3.848 MB / 0.823 GB Notification: Performance of Templates: time 0.04738/0.9692, allocations: 28.24 MB / 1.296 GB, free: 7.863 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)