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.743/1.743, allocations: 288.4 MB / 303.3 MB, free: 8.145 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.001501/0.001501, allocations: 192.9 kB / 372 MB, free: 10.27 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.637/1.637, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007657/0.000766, allocations: 85.03 kB / 0.744 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005783/0.0005782, allocations: 11.69 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2809, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6784/0.9593, allocations: 215 MB / 1.19 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01472/0.9741, allocations: 9.608 MB / 1.199 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001899/0.976, allocations: 47.16 kB / 1.199 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.9783, allocations: 0.8017 MB / 1.2 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.007142/0.9855, allocations: 2.622 MB / 1.202 GB, free: 392 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.9898, allocations: 1.456 MB / 1.204 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007008/0.9969, allocations: 5.245 MB / 1.209 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002593/0.9995, allocations: 1.178 MB / 1.21 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003141/1.003, allocations: 1.345 MB / 1.211 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002529/1.005, allocations: 1.406 MB / 1.213 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003339/1.006, allocations: 76.84 kB / 1.213 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005174/1.011, allocations: 1.617 MB / 1.214 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0008204/1.012, allocations: 0.5752 MB / 1.215 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0009979/1.013, allocations: 414.2 kB / 1.215 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004278/1.017, allocations: 2.572 MB / 1.218 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.017, allocations: 0 / 1.218 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/1.017, allocations: 0 / 1.218 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.132e-05/1.017, allocations: 0 / 1.218 GB, free: 6.734 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.005149/1.022, allocations: 2.144 MB / 1.22 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.022, allocations: 12.03 kB / 1.22 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/1.022, allocations: 202.6 kB / 1.22 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/1.026, allocations: 0.5172 MB / 1.221 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/1.028, allocations: 1.182 MB / 1.222 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.321e-05/1.028, allocations: 102.7 kB / 1.222 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/1.028, allocations: 140 kB / 1.222 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002911/1.031, allocations: 1.654 MB / 1.224 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/1.031, allocations: 7.938 kB / 1.224 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/1.032, allocations: 56 kB / 1.224 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.834e-05/1.032, allocations: 78.56 kB / 1.224 GB, free: 468 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/1.034, allocations: 1.435 MB / 1.225 GB, free: 15.02 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.009127/1.043, allocations: 6.961 MB / 1.232 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/1.045, allocations: 1.181 MB / 1.233 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000971/1.046, allocations: 0.6123 MB / 1.234 GB, free: 5.762 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008572/1.047, allocations: 0.8633 MB / 1.235 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/1.048, allocations: 0.618 MB / 1.235 GB, free: 4.086 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=110): time 3.136e-06/1.048, allocations: 0 / 1.235 GB, free: 4.086 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.003156/1.051, allocations: 1.572 MB / 1.237 GB, free: 2.504 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/1.051, allocations: 94.11 kB / 1.237 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/1.053, allocations: 1.181 MB / 1.238 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.212e-05/1.053, allocations: 45.7 kB / 1.238 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005408/1.054, allocations: 0.6737 MB / 1.239 GB, free: 484 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/1.054, allocations: 386.3 kB / 1.239 GB, free: 92 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/1.054, allocations: 20 kB / 1.239 GB, free: 72 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.054, allocations: 345.9 kB / 1.239 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/1.055, allocations: 417.8 kB / 1.24 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000889/1.056, allocations: 0.5665 MB / 1.24 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/1.057, allocations: 498.8 kB / 1.241 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.057, allocations: 0 / 1.241 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002196/1.059, allocations: 1.214 MB / 1.242 GB, free: 13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/1.059, allocations: 171.4 kB / 1.242 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.059, allocations: 0 / 1.242 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.059, allocations: 8 kB / 1.242 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009877/1.06, allocations: 215.7 kB / 1.242 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/1.06, allocations: 11.98 kB / 1.242 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/1.062, allocations: 166.1 kB / 1.243 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.921e-05/1.062, allocations: 47.91 kB / 1.243 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.062, allocations: 8 kB / 1.243 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001779/1.064, allocations: 1.031 MB / 1.244 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.064, allocations: 0 / 1.244 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/1.064, allocations: 11.94 kB / 1.244 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/1.065, allocations: 216 kB / 1.244 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.065, allocations: 11.95 kB / 1.244 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/1.066, allocations: 162.9 kB / 1.244 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/1.066, allocations: 36 kB / 1.244 GB, free: 10.9 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.0008907/1.067, allocations: 486.1 kB / 1.245 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/1.067, allocations: 146.2 kB / 1.245 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/1.07, allocations: 1.247 MB / 1.246 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/1.07, allocations: 12 kB / 1.246 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.07, allocations: 7.953 kB / 1.246 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001689/1.071, allocations: 1.007 MB / 1.247 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005094/1.076, allocations: 3.159 MB / 1.25 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.076, allocations: 0 / 1.25 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/1.078, allocations: 236 kB / 1.25 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/1.078, allocations: 12 kB / 1.25 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.703e-05/1.078, allocations: 31.98 kB / 1.25 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/1.078, allocations: 4 kB / 1.25 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.078, allocations: 4 kB / 1.25 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/1.081, allocations: 2.004 MB / 1.252 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006847/1.081, allocations: 362.9 kB / 1.253 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/1.082, allocations: 28 kB / 1.253 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.083, allocations: 113.6 kB / 1.253 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.083, allocations: 80.84 kB / 1.253 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/1.083, allocations: 32 kB / 1.253 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001098/1.084, allocations: 0.8137 MB / 1.254 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.734e-06/1.084, allocations: 4 kB / 1.254 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001892/1.086, allocations: 0.8337 MB / 1.254 GB, free: 76 kB / 0.7761 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.00503/1.091, allocations: 3.029 MB / 1.257 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003052/1.094, allocations: 1.608 MB / 1.259 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.094, allocations: 0 / 1.259 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009252/1.095, allocations: 0.5719 MB / 1.259 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/1.099, allocations: 0.8364 MB / 1.26 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/1.114, allocations: 9.657 MB / 1.27 GB, free: 72 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.115, allocations: 1.368 MB / 1.271 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001989/1.117, allocations: 447.6 kB / 1.271 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008653/1.118, allocations: 0.6164 MB / 1.272 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of SimCode: time 7.21e-07/1.118, allocations: 4 kB / 1.272 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06669/1.185, allocations: 41.61 MB / 1.313 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/1.185, allocations: 243.2 kB / 1.313 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.841/5.026, allocations: 0 / 1.313 GB, free: 4.078 MB / 0.8386 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)