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.665/1.665, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001026/0.001026, allocations: 175.7 kB / 371.8 MB, free: 10.29 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.422/1.422, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0009874/0.0009876, allocations: 98.64 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 14.56 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1879, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5512/0.7391, allocations: 193.5 MB / 1.168 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.7559, allocations: 10.16 MB / 1.178 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/0.7584, allocations: 46.84 kB / 1.178 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00354/0.762, allocations: 1.055 MB / 1.179 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.7729, allocations: 2.887 MB / 1.182 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005244/0.7782, allocations: 1.597 MB / 1.184 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.004909/0.7831, allocations: 2.517 MB / 1.186 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.7856, allocations: 1.201 MB / 1.187 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.7888, allocations: 1.233 MB / 1.189 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.791, allocations: 0.9352 MB / 1.19 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005649/0.7916, allocations: 82.22 kB / 1.19 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004329/0.7959, allocations: 1.356 MB / 1.191 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0009728/0.797, allocations: 0.5297 MB / 1.191 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.798, allocations: 409.6 kB / 1.192 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004269/0.8023, allocations: 2.365 MB / 1.194 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8023, allocations: 0 / 1.194 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8024, allocations: 3.938 kB / 1.194 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001189/0.8025, allocations: 0 / 1.194 GB, free: 8.062 MB / 0.7292 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.006007/0.8085, allocations: 2.093 MB / 1.196 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.8085, allocations: 10.28 kB / 1.196 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005466/0.8091, allocations: 204.3 kB / 1.196 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00367/0.8128, allocations: 0.5318 MB / 1.197 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.816, allocations: 1.16 MB / 1.198 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.8161, allocations: 99.62 kB / 1.198 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/0.8165, allocations: 136.5 kB / 1.198 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.82, allocations: 1.656 MB / 1.2 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.82, allocations: 10.78 kB / 1.2 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.8202, allocations: 56.94 kB / 1.2 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.17e-05/0.8203, allocations: 67.27 kB / 1.2 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/0.8231, allocations: 1.441 MB / 1.201 GB, free: 3.32 MB / 0.7292 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.01013/0.8332, allocations: 6.955 MB / 1.208 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.8351, allocations: 1.196 MB / 1.209 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006811/0.8358, allocations: 0.6931 MB / 1.21 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.8369, allocations: 0.6102 MB / 1.211 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=110): time 3.968e-06/0.8369, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=110): time 0.003184/0.8401, allocations: 1.576 MB / 1.212 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.8402, allocations: 86.11 kB / 1.212 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.8419, allocations: 1.183 MB / 1.213 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.842, allocations: 45.7 kB / 1.214 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005801/0.8426, allocations: 0.6737 MB / 1.214 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.843, allocations: 382.4 kB / 1.215 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.843, allocations: 20 kB / 1.215 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8432, allocations: 345.9 kB / 1.215 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007317/0.8439, allocations: 421.8 kB / 1.215 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008365/0.8447, allocations: 0.5652 MB / 1.216 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008467/0.8456, allocations: 498.8 kB / 1.216 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8456, allocations: 0 / 1.216 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00218/0.8478, allocations: 1.21 MB / 1.217 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003251/0.8481, allocations: 0.9826 MB / 1.218 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.8482, allocations: 3.953 kB / 1.218 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.8482, allocations: 11.98 kB / 1.218 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/0.8492, allocations: 219.7 kB / 1.219 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/0.8492, allocations: 15.88 kB / 1.219 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.8508, allocations: 170.3 kB / 1.219 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.559e-05/0.8509, allocations: 36 kB / 1.219 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.8509, allocations: 4 kB / 1.219 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001746/0.8526, allocations: 1.035 MB / 1.22 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8527, allocations: 0 / 1.22 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.8527, allocations: 8 kB / 1.22 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/0.8536, allocations: 211.7 kB / 1.22 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.8536, allocations: 11.92 kB / 1.22 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.8551, allocations: 159 kB / 1.22 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.8552, allocations: 36.7 kB / 1.22 GB, free: 0.6875 MB / 0.7448 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.000776/0.856, allocations: 496.6 kB / 1.221 GB, free: 196 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003499/0.8563, allocations: 150.2 kB / 1.221 GB, free: 44 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.8587, allocations: 1.243 MB / 1.222 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.8587, allocations: 12 kB / 1.222 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.8587, allocations: 0 / 1.222 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001594/0.8603, allocations: 1.022 MB / 1.223 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/0.8655, allocations: 3.155 MB / 1.226 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.8656, allocations: 4.062 kB / 1.226 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.8667, allocations: 239.6 kB / 1.226 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/0.8667, allocations: 8 kB / 1.226 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.158e-05/0.8668, allocations: 24 kB / 1.227 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.8668, allocations: 7.938 kB / 1.227 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.8668, allocations: 4 kB / 1.227 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/0.8698, allocations: 2.139 MB / 1.229 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008056/0.8706, allocations: 355 kB / 1.229 GB, free: 7.547 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.8709, allocations: 27.98 kB / 1.229 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.8721, allocations: 121.6 kB / 1.229 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.8723, allocations: 72.89 kB / 1.229 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.103e-05/0.8723, allocations: 39.98 kB / 1.229 GB, free: 7.289 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001075/0.8734, allocations: 0.8098 MB / 1.23 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8734, allocations: 0 / 1.23 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00195/0.8754, allocations: 0.8415 MB / 1.231 GB, free: 5.633 MB / 0.7605 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.004426/0.8798, allocations: 3.836 MB / 1.235 GB, free: 1.859 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002654/0.8825, allocations: 1.608 MB / 1.236 GB, free: 256 kB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8825, allocations: 0 / 1.236 GB, free: 256 kB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008791/0.8834, allocations: 0.5728 MB / 1.237 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003701/0.8871, allocations: 0.813 MB / 1.237 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.9026, allocations: 11.05 MB / 1.248 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.9037, allocations: 1.399 MB / 1.25 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002019/0.9057, allocations: 451.6 kB / 1.25 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009801/0.9067, allocations: 0.6164 MB / 1.251 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of SimCode: time 1.312e-06/0.9068, allocations: 0 / 1.251 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07159/0.9783, allocations: 41.56 MB / 1.291 GB, free: 7.727 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.9786, allocations: 237.6 kB / 1.291 GB, free: 7.488 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/4.018, allocations: 6.531 kB / 1.291 GB, free: 7.484 MB / 0.823 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)