Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008851/0.0008851, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005182/0.005182, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.407/2.407, allocations: 462.7 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 12 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2676, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.678/0.9456, allocations: 230.5 MB / 1.284 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.9592, allocations: 10.41 MB / 1.294 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.9608, allocations: 50.97 kB / 1.294 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.9631, allocations: 1.03 MB / 1.295 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007432/0.9705, allocations: 3.433 MB / 1.298 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00424/0.9748, allocations: 1.883 MB / 1.3 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006173/0.981, allocations: 6.277 MB / 1.306 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.9826, allocations: 1.3 MB / 1.308 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.9847, allocations: 1.334 MB / 1.309 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.9868, allocations: 1.479 MB / 1.31 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.987, allocations: 75.56 kB / 1.31 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006143/0.9932, allocations: 3.716 MB / 1.314 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00052/0.9937, allocations: 0.5853 MB / 1.315 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008648/0.9946, allocations: 0.9524 MB / 1.316 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004414/0.999, allocations: 3.89 MB / 1.319 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.999, allocations: 0 / 1.319 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.999, allocations: 1.422 kB / 1.319 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.999, allocations: 3.219 kB / 1.319 GB, free: 1.613 MB / 0.9981 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.003921/1.003, allocations: 2.129 MB / 1.322 GB, free: 16.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/1.003, allocations: 12 kB / 1.322 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002021/1.003, allocations: 206.5 kB / 1.322 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/1.006, allocations: 0.5232 MB / 1.322 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/1.007, allocations: 1.225 MB / 1.323 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/1.008, allocations: 100.2 kB / 1.324 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/1.008, allocations: 138.2 kB / 1.324 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/1.01, allocations: 1.676 MB / 1.325 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/1.01, allocations: 11.12 kB / 1.325 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/1.01, allocations: 56.27 kB / 1.325 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/1.01, allocations: 81.28 kB / 1.325 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/1.012, allocations: 1.446 MB / 1.327 GB, free: 15.68 MB / 1.014 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.00665/1.019, allocations: 6.978 MB / 1.334 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/1.02, allocations: 1.198 MB / 1.335 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007597/1.021, allocations: 0.619 MB / 1.335 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/1.022, allocations: 0.8618 MB / 1.336 GB, free: 11.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009439/1.023, allocations: 0.6128 MB / 1.337 GB, free: 11.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 2.896e-06/1.023, allocations: 0 / 1.337 GB, free: 11.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.002426/1.025, allocations: 1.59 MB / 1.338 GB, free: 10.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/1.025, allocations: 89.67 kB / 1.339 GB, free: 10.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/1.026, allocations: 1.195 MB / 1.34 GB, free: 10.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/1.027, allocations: 48.14 kB / 1.34 GB, free: 10.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/1.027, allocations: 0.678 MB / 1.34 GB, free: 10.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/1.027, allocations: 382.3 kB / 1.341 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/1.027, allocations: 86.2 kB / 1.341 GB, free: 10.11 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.028, allocations: 347.1 kB / 1.341 GB, free: 9.801 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006718/1.028, allocations: 422.9 kB / 1.342 GB, free: 9.797 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007376/1.029, allocations: 0.5625 MB / 1.342 GB, free: 9.688 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/1.03, allocations: 1.026 MB / 1.343 GB, free: 9.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.03, allocations: 2.656 kB / 1.343 GB, free: 9.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001638/1.032, allocations: 1.222 MB / 1.344 GB, free: 9.441 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-05/1.032, allocations: 164.7 kB / 1.344 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.032, allocations: 2.781 kB / 1.344 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.032, allocations: 9.688 kB / 1.344 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/1.033, allocations: 222.8 kB / 1.345 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.033, allocations: 11.66 kB / 1.345 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/1.034, allocations: 191.8 kB / 1.345 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/1.034, allocations: 37 kB / 1.345 GB, free: 9.191 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.889e-06/1.034, allocations: 2.938 kB / 1.345 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001389/1.036, allocations: 1.04 MB / 1.346 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.036, allocations: 6.984 kB / 1.346 GB, free: 9.168 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/1.036, allocations: 12.95 kB / 1.346 GB, free: 9.164 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007608/1.036, allocations: 214.9 kB / 1.346 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/1.036, allocations: 11.89 kB / 1.346 GB, free: 9.156 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/1.038, allocations: 177.7 kB / 1.346 GB, free: 9.098 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/1.038, allocations: 35.19 kB / 1.346 GB, free: 9.098 MB / 1.014 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.0005157/1.038, allocations: 0.4899 MB / 1.347 GB, free: 8.898 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/1.038, allocations: 146.3 kB / 1.347 GB, free: 8.824 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/1.04, allocations: 1.249 MB / 1.348 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.04, allocations: 9.375 kB / 1.348 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/1.04, allocations: 0 / 1.348 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001362/1.042, allocations: 1.023 MB / 1.349 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003862/1.045, allocations: 3.173 MB / 1.352 GB, free: 7.922 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.045, allocations: 6.406 kB / 1.352 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009754/1.046, allocations: 230.5 kB / 1.353 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/1.046, allocations: 8.625 kB / 1.353 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/1.047, allocations: 24.84 kB / 1.353 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/1.047, allocations: 14.92 kB / 1.353 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.047, allocations: 3.75 kB / 1.353 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/1.049, allocations: 1.924 MB / 1.354 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/1.049, allocations: 360.6 kB / 1.355 GB, free: 7.141 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/1.05, allocations: 26.44 kB / 1.355 GB, free: 7.141 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009762/1.051, allocations: 117.1 kB / 1.355 GB, free: 7.098 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/1.051, allocations: 78.23 kB / 1.355 GB, free: 7.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.691e-05/1.051, allocations: 41.14 kB / 1.355 GB, free: 7.062 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008228/1.052, allocations: 0.8236 MB / 1.356 GB, free: 6.828 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.052, allocations: 4 kB / 1.356 GB, free: 6.824 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001451/1.053, allocations: 0.8329 MB / 1.357 GB, free: 6.707 MB / 1.014 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.003687/1.057, allocations: 2.946 MB / 1.36 GB, free: 5.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002237/1.059, allocations: 1.621 MB / 1.361 GB, free: 5.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.059, allocations: 3.562 kB / 1.361 GB, free: 5.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008189/1.06, allocations: 0.5764 MB / 1.362 GB, free: 5.035 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003869/1.064, allocations: 0.8365 MB / 1.363 GB, free: 4.617 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/1.081, allocations: 12.8 MB / 1.375 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009197/1.082, allocations: 1.377 MB / 1.376 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001671/1.083, allocations: 450.6 kB / 1.377 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00082/1.084, allocations: 0.6231 MB / 1.377 GB, free: 10.39 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/1.084, allocations: 2.719 kB / 1.377 GB, free: 10.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09538/1.18, allocations: 40.41 MB / 1.417 GB, free: 5.465 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/1.18, allocations: 258.2 kB / 1.417 GB, free: 5.164 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.764, allocations: 0 / 1.417 GB, free: 5.164 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)