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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.496/1.496, allocations: 288.4 MB / 303.6 MB, free: 8.188 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.000948/0.000948, allocations: 180.5 kB / 372.3 MB, free: 10.11 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.238/1.238, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0007137/0.0007138, allocations: 98.3 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 19.83 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1751, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5778/0.753, allocations: 215 MB / 1.19 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01444/0.7675, allocations: 9.608 MB / 1.2 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.77, allocations: 47.59 kB / 1.2 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.773, allocations: 0.9215 MB / 1.2 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0087/0.7817, allocations: 3.136 MB / 1.204 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004793/0.7865, allocations: 1.625 MB / 1.205 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005934/0.7925, allocations: 5.279 MB / 1.21 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.7948, allocations: 1.289 MB / 1.212 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.7977, allocations: 1.349 MB / 1.213 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.8007, allocations: 1.408 MB / 1.214 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004335/0.8012, allocations: 76.88 kB / 1.214 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006824/0.808, allocations: 3.649 MB / 1.218 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.809, allocations: 0.5801 MB / 1.218 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.8109, allocations: 0.9115 MB / 1.219 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00411/0.815, allocations: 2.79 MB / 1.222 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8151, allocations: 0 / 1.222 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8151, allocations: 4 kB / 1.222 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.722e-05/0.8152, allocations: 0 / 1.222 GB, free: 2.777 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.005125/0.8203, allocations: 2.121 MB / 1.224 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.8204, allocations: 8.031 kB / 1.224 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004342/0.8208, allocations: 206.6 kB / 1.224 GB, free: 392 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.8239, allocations: 0.5245 MB / 1.225 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/0.8262, allocations: 1.22 MB / 1.226 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-05/0.8263, allocations: 94.66 kB / 1.226 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002637/0.8266, allocations: 147.9 kB / 1.226 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/0.8296, allocations: 1.662 MB / 1.228 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.8296, allocations: 7.875 kB / 1.228 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.8297, allocations: 56 kB / 1.228 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-05/0.8298, allocations: 70.56 kB / 1.228 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.8324, allocations: 1.443 MB / 1.229 GB, free: 11.03 MB / 0.7605 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.008445/0.8408, allocations: 6.953 MB / 1.236 GB, free: 3.617 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.8425, allocations: 1.193 MB / 1.237 GB, free: 2.383 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008693/0.8434, allocations: 0.6122 MB / 1.238 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007922/0.8442, allocations: 0.8672 MB / 1.239 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000944/0.8451, allocations: 0.6063 MB / 1.239 GB, free: 100 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=110): time 3.446e-06/0.8452, allocations: 0 / 1.239 GB, free: 100 kB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.002785/0.848, allocations: 1.58 MB / 1.241 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.848, allocations: 94.11 kB / 1.241 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.8493, allocations: 1.177 MB / 1.242 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/0.8494, allocations: 49.7 kB / 1.242 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/0.8499, allocations: 0.6736 MB / 1.243 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.8502, allocations: 390.3 kB / 1.243 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.8502, allocations: 20 kB / 1.243 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8503, allocations: 345.9 kB / 1.244 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/0.851, allocations: 421.8 kB / 1.244 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/0.8518, allocations: 0.5652 MB / 1.245 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.8533, allocations: 1.013 MB / 1.246 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.8533, allocations: 0 / 1.246 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001866/0.8552, allocations: 1.218 MB / 1.247 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.058e-05/0.8553, allocations: 171.5 kB / 1.247 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.8553, allocations: 4 kB / 1.247 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.8553, allocations: 8 kB / 1.247 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009242/0.8562, allocations: 211.7 kB / 1.247 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.8563, allocations: 8 kB / 1.247 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.8575, allocations: 166.9 kB / 1.247 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/0.8576, allocations: 43.98 kB / 1.247 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/0.8576, allocations: 7.938 kB / 1.247 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001518/0.8591, allocations: 1.027 MB / 1.248 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.8591, allocations: 4 kB / 1.248 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.8591, allocations: 11.88 kB / 1.248 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.86, allocations: 212 kB / 1.249 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.86, allocations: 8 kB / 1.249 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.861, allocations: 158.9 kB / 1.249 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/0.8611, allocations: 39.98 kB / 1.249 GB, free: 6.344 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.0006798/0.8618, allocations: 480.8 kB / 1.249 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.862, allocations: 154.1 kB / 1.249 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.864, allocations: 1.243 MB / 1.251 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.864, allocations: 16 kB / 1.251 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.864, allocations: 3.938 kB / 1.251 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001477/0.8655, allocations: 1.007 MB / 1.252 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004494/0.87, allocations: 3.155 MB / 1.255 GB, free: 136 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.87, allocations: 0 / 1.255 GB, free: 136 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.8711, allocations: 244 kB / 1.255 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/0.8711, allocations: 4 kB / 1.255 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/0.8712, allocations: 28 kB / 1.255 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.8712, allocations: 11.98 kB / 1.255 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.8712, allocations: 7.922 kB / 1.255 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.874, allocations: 1.997 MB / 1.257 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.8745, allocations: 362.9 kB / 1.257 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.8747, allocations: 27.98 kB / 1.257 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009956/0.8757, allocations: 121.5 kB / 1.257 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.8758, allocations: 80.84 kB / 1.257 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.459e-05/0.8759, allocations: 35.98 kB / 1.258 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0009672/0.8769, allocations: 0.8138 MB / 1.258 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.164e-06/0.8769, allocations: 0 / 1.258 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001756/0.8787, allocations: 0.8454 MB / 1.259 GB, free: 11.5 MB / 0.7917 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.004126/0.8828, allocations: 3.017 MB / 1.262 GB, free: 8.582 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002594/0.8854, allocations: 1.608 MB / 1.264 GB, free: 6.977 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.8854, allocations: 4.312 kB / 1.264 GB, free: 6.973 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000822/0.8863, allocations: 0.5677 MB / 1.264 GB, free: 6.406 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00423/0.8905, allocations: 0.8174 MB / 1.265 GB, free: 5.598 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.9051, allocations: 9.669 MB / 1.274 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.9062, allocations: 1.364 MB / 1.276 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001858/0.9081, allocations: 451.6 kB / 1.276 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008693/0.9089, allocations: 0.6164 MB / 1.277 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.909, allocations: 0 / 1.277 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.513/1.422, allocations: 42.07 MB / 1.318 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/1.422, allocations: 252.8 kB / 1.318 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.321/4.743, allocations: 0 / 1.318 GB, free: 15.09 MB / 0.8542 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)