Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_11_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.004882/0.004882, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001267/0.001267, allocations: 197.3 kB / 16.67 MB, free: 5.926 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.588/1.588, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.827/2.827, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 63.89 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385/1.387, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.4918/1.879, allocations: 235.9 MB / 1.45 GB, free: 5.312 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03833/1.917, allocations: 10.41 MB / 1.461 GB, free: 10.88 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004174/1.922, allocations: 63.62 kB / 1.461 GB, free: 10.82 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.02151/1.943, allocations: 1.196 MB / 1.462 GB, free: 9.609 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01333/1.957, allocations: 3.652 MB / 1.465 GB, free: 5.941 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00719/1.964, allocations: 2.083 MB / 1.467 GB, free: 3.863 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.02535/1.989, allocations: 4.451 MB / 1.472 GB, free: 15.4 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003307/1.993, allocations: 1.571 MB / 1.473 GB, free: 13.79 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004494/1.997, allocations: 1.592 MB / 1.475 GB, free: 12.19 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005632/2.003, allocations: 1.502 MB / 1.476 GB, free: 10.69 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004768/2.003, allocations: 184 kB / 1.477 GB, free: 10.51 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02854/2.032, allocations: 3.238 MB / 1.48 GB, free: 7.266 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001312/2.033, allocations: 0.6934 MB / 1.48 GB, free: 6.57 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002114/2.035, allocations: 1.061 MB / 1.481 GB, free: 5.504 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.009893/2.045, allocations: 3.831 MB / 1.485 GB, free: 1.66 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/2.045, allocations: 0 / 1.485 GB, free: 1.66 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.074e-06/2.045, allocations: 0 / 1.485 GB, free: 1.66 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.262e-05/2.045, allocations: 8 kB / 1.485 GB, free: 1.652 MB / 1.201 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.006499/2.052, allocations: 2.549 MB / 1.488 GB, free: 15.04 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/2.052, allocations: 8.031 kB / 1.488 GB, free: 15.04 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003048/2.052, allocations: 210.6 kB / 1.488 GB, free: 14.82 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0228/2.075, allocations: 0.5295 MB / 1.488 GB, free: 14.29 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/2.078, allocations: 1.304 MB / 1.49 GB, free: 12.93 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/2.078, allocations: 102.7 kB / 1.49 GB, free: 12.83 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/2.078, allocations: 139.9 kB / 1.49 GB, free: 12.69 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/2.081, allocations: 1.67 MB / 1.492 GB, free: 10.95 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/2.081, allocations: 7.938 kB / 1.492 GB, free: 10.95 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/2.081, allocations: 56 kB / 1.492 GB, free: 10.89 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.456e-05/2.081, allocations: 78.5 kB / 1.492 GB, free: 10.81 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/2.084, allocations: 1.439 MB / 1.493 GB, free: 9.367 MB / 1.217 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.01077/2.095, allocations: 6.995 MB / 1.5 GB, free: 1.914 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02024/2.115, allocations: 1.196 MB / 1.501 GB, free: 0.668 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/2.116, allocations: 0.62 MB / 1.502 GB, free: 52 kB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/2.117, allocations: 0.8672 MB / 1.503 GB, free: 15 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/2.118, allocations: 0.6064 MB / 1.503 GB, free: 14.38 MB / 1.232 GB Notification: Performance of pre-optimization done (n=110): time 4.538e-06/2.118, allocations: 0 / 1.503 GB, free: 14.38 MB / 1.232 GB Notification: Performance of matching and sorting (n=110): time 0.003598/2.122, allocations: 1.577 MB / 1.505 GB, free: 12.8 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/2.122, allocations: 94.05 kB / 1.505 GB, free: 12.69 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/2.124, allocations: 1.203 MB / 1.506 GB, free: 11.47 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/2.124, allocations: 49.7 kB / 1.506 GB, free: 11.41 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007744/2.125, allocations: 0.6864 MB / 1.507 GB, free: 10.72 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/2.126, allocations: 404.5 kB / 1.507 GB, free: 10.32 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/2.126, allocations: 174.6 kB / 1.507 GB, free: 10.14 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002176/2.126, allocations: 345.9 kB / 1.508 GB, free: 9.801 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008435/2.127, allocations: 428.6 kB / 1.508 GB, free: 9.379 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009467/2.128, allocations: 0.5556 MB / 1.508 GB, free: 8.785 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/2.13, allocations: 1.017 MB / 1.509 GB, free: 7.738 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/2.13, allocations: 7.938 kB / 1.509 GB, free: 7.73 MB / 1.232 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002565/2.132, allocations: 1.219 MB / 1.511 GB, free: 6.504 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/2.132, allocations: 7.938 kB / 1.511 GB, free: 6.496 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/2.132, allocations: 4 kB / 1.511 GB, free: 6.492 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/2.132, allocations: 8 kB / 1.511 GB, free: 6.484 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009637/2.133, allocations: 215.7 kB / 1.511 GB, free: 6.273 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/2.133, allocations: 11.98 kB / 1.511 GB, free: 6.262 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01917/2.153, allocations: 95.28 kB / 1.511 GB, free: 6.168 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/2.153, allocations: 36 kB / 1.511 GB, free: 6.133 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001573/2.154, allocations: 0.7362 MB / 1.512 GB, free: 5.395 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009287/2.155, allocations: 0.544 MB / 1.512 GB, free: 4.812 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001679/2.157, allocations: 0.9932 MB / 1.513 GB, free: 3.789 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.075e-06/2.157, allocations: 4 kB / 1.513 GB, free: 3.785 MB / 1.232 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002375/2.159, allocations: 1.203 MB / 1.514 GB, free: 2.57 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/2.159, allocations: 6.031 kB / 1.514 GB, free: 2.566 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/2.159, allocations: 4 kB / 1.514 GB, free: 2.562 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/2.159, allocations: 8.25 kB / 1.514 GB, free: 2.555 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008949/2.16, allocations: 219.7 kB / 1.515 GB, free: 2.34 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/2.16, allocations: 8 kB / 1.515 GB, free: 2.332 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/2.162, allocations: 79.53 kB / 1.515 GB, free: 2.254 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/2.162, allocations: 35.98 kB / 1.515 GB, free: 2.219 MB / 1.232 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.0004437/2.162, allocations: 236.1 kB / 1.515 GB, free: 1.98 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/2.162, allocations: 159 kB / 1.515 GB, free: 1.824 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/2.165, allocations: 1.247 MB / 1.516 GB, free: 0.5742 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/2.165, allocations: 8 kB / 1.516 GB, free: 0.5664 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/2.165, allocations: 4 kB / 1.516 GB, free: 0.5625 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001802/2.167, allocations: 1.007 MB / 1.517 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/2.188, allocations: 3.171 MB / 1.52 GB, free: 12.24 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/2.188, allocations: 12.03 kB / 1.52 GB, free: 12.23 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/2.189, allocations: 227.7 kB / 1.521 GB, free: 12.01 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/2.189, allocations: 4 kB / 1.521 GB, free: 12 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.661e-05/2.189, allocations: 31.98 kB / 1.521 GB, free: 11.97 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/2.189, allocations: 15.88 kB / 1.521 GB, free: 11.96 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/2.189, allocations: 3.938 kB / 1.521 GB, free: 11.95 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/2.193, allocations: 1.917 MB / 1.523 GB, free: 9.988 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008786/2.194, allocations: 367.7 kB / 1.523 GB, free: 9.609 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/2.194, allocations: 24 kB / 1.523 GB, free: 9.586 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008472/2.195, allocations: 39.91 kB / 1.523 GB, free: 9.547 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/2.195, allocations: 76.91 kB / 1.523 GB, free: 9.473 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/2.195, allocations: 35.98 kB / 1.523 GB, free: 9.438 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001444/2.197, allocations: 0.8258 MB / 1.524 GB, free: 8.609 MB / 1.248 GB Notification: Performance of sort global known variables: time 5.61e-07/2.197, allocations: 0 / 1.524 GB, free: 8.609 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002445/2.199, allocations: 0.8421 MB / 1.525 GB, free: 7.766 MB / 1.248 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.00698/2.206, allocations: 2.955 MB / 1.528 GB, free: 4.922 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02261/2.229, allocations: 1.619 MB / 1.529 GB, free: 3.301 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/2.229, allocations: 0 / 1.529 GB, free: 3.301 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/2.23, allocations: 0.5692 MB / 1.53 GB, free: 2.738 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004244/2.234, allocations: 0.8646 MB / 1.531 GB, free: 1.895 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/2.255, allocations: 11.19 MB / 1.542 GB, free: 6.449 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/2.257, allocations: 1.364 MB / 1.543 GB, free: 5.055 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002275/2.259, allocations: 451.6 kB / 1.543 GB, free: 4.609 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/2.26, allocations: 0.636 MB / 1.544 GB, free: 3.973 MB / 1.264 GB Notification: Performance of SimCode: time 1.483e-06/2.26, allocations: 7.875 kB / 1.544 GB, free: 3.965 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.001/3.261, allocations: 42.67 MB / 1.586 GB, free: 327.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/15.34, allocations: 9.391 kB / 1.586 GB, free: 327.9 MB / 1.279 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)