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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006532/0.006532, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.001752/0.001752, allocations: 199.1 kB / 16.68 MB, free: 5.969 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.645/2.645, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 67.89 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.278, allocations: 162.3 MB / 1.242 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7529/1.031, allocations: 235.9 MB / 1.472 GB, free: 11.09 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01536/1.046, allocations: 10.43 MB / 1.482 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/1.048, allocations: 63.69 kB / 1.483 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002512/1.05, allocations: 1.185 MB / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007437/1.058, allocations: 3.655 MB / 1.487 GB, free: 11.71 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004482/1.062, allocations: 2.072 MB / 1.489 GB, free: 9.648 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00534/1.068, allocations: 4.438 MB / 1.494 GB, free: 5.199 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/1.07, allocations: 1.582 MB / 1.495 GB, free: 3.586 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/1.073, allocations: 1.853 MB / 1.497 GB, free: 1.727 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/1.075, allocations: 1.491 MB / 1.498 GB, free: 244 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002639/1.075, allocations: 184 kB / 1.499 GB, free: 60 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006084/1.081, allocations: 3.219 MB / 1.502 GB, free: 12.83 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008575/1.082, allocations: 0.6973 MB / 1.502 GB, free: 12.13 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/1.084, allocations: 1.061 MB / 1.503 GB, free: 11.07 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005828/1.09, allocations: 3.839 MB / 1.507 GB, free: 7.215 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.09, allocations: 4 kB / 1.507 GB, free: 7.211 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.463e-06/1.09, allocations: 0 / 1.507 GB, free: 7.211 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.824e-05/1.09, allocations: 0 / 1.507 GB, free: 7.211 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.004694/1.094, allocations: 2.549 MB / 1.51 GB, free: 4.602 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.094, allocations: 8.031 kB / 1.51 GB, free: 4.594 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002422/1.095, allocations: 210.6 kB / 1.51 GB, free: 4.379 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/1.098, allocations: 0.5256 MB / 1.51 GB, free: 3.852 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/1.1, allocations: 1.31 MB / 1.512 GB, free: 2.488 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/1.1, allocations: 98.66 kB / 1.512 GB, free: 2.391 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/1.1, allocations: 139.9 kB / 1.512 GB, free: 2.254 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/1.103, allocations: 1.674 MB / 1.514 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/1.103, allocations: 0 / 1.514 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/1.103, allocations: 56 kB / 1.514 GB, free: 468 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.37e-05/1.103, allocations: 78.5 kB / 1.514 GB, free: 388 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/1.105, allocations: 1.447 MB / 1.515 GB, free: 14.92 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.007897/1.113, allocations: 7.066 MB / 1.522 GB, free: 7.375 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/1.115, allocations: 1.191 MB / 1.523 GB, free: 6.145 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000922/1.116, allocations: 0.6201 MB / 1.524 GB, free: 5.527 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000841/1.117, allocations: 0.8555 MB / 1.525 GB, free: 4.484 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/1.118, allocations: 0.6064 MB / 1.525 GB, free: 3.867 MB / 1.217 GB Notification: Performance of pre-optimization done (n=110): time 2.665e-06/1.118, allocations: 0 / 1.525 GB, free: 3.867 MB / 1.217 GB Notification: Performance of matching and sorting (n=110): time 0.002922/1.121, allocations: 1.585 MB / 1.527 GB, free: 2.281 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/1.121, allocations: 90.05 kB / 1.527 GB, free: 2.172 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/1.122, allocations: 1.195 MB / 1.528 GB, free: 0.957 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.468e-05/1.122, allocations: 45.7 kB / 1.528 GB, free: 0.9062 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005395/1.123, allocations: 0.6903 MB / 1.529 GB, free: 216 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/1.123, allocations: 400.7 kB / 1.529 GB, free: 15.81 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/1.123, allocations: 178.6 kB / 1.529 GB, free: 15.63 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.124, allocations: 341.9 kB / 1.53 GB, free: 15.29 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007235/1.124, allocations: 436.6 kB / 1.53 GB, free: 14.86 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008244/1.125, allocations: 0.5518 MB / 1.531 GB, free: 14.27 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/1.127, allocations: 1.016 MB / 1.532 GB, free: 13.22 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.127, allocations: 3.938 kB / 1.532 GB, free: 13.22 MB / 1.232 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002066/1.129, allocations: 1.227 MB / 1.533 GB, free: 11.99 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.129, allocations: 8 kB / 1.533 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.129, allocations: 0 / 1.533 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.129, allocations: 15.73 kB / 1.533 GB, free: 11.97 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009135/1.13, allocations: 215.7 kB / 1.533 GB, free: 11.76 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/1.13, allocations: 8 kB / 1.533 GB, free: 11.75 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009517/1.131, allocations: 103.5 kB / 1.533 GB, free: 11.65 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/1.131, allocations: 40.8 kB / 1.533 GB, free: 11.61 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001146/1.132, allocations: 0.7361 MB / 1.534 GB, free: 10.87 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007794/1.133, allocations: 0.5362 MB / 1.534 GB, free: 10.3 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001481/1.134, allocations: 1.001 MB / 1.535 GB, free: 9.266 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/1.134, allocations: 0 / 1.535 GB, free: 9.266 MB / 1.232 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001857/1.136, allocations: 1.2 MB / 1.536 GB, free: 8.055 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/1.136, allocations: 8.031 kB / 1.536 GB, free: 8.047 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/1.136, allocations: 4 kB / 1.536 GB, free: 8.043 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/1.136, allocations: 11.94 kB / 1.537 GB, free: 8.031 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008556/1.137, allocations: 207.7 kB / 1.537 GB, free: 7.828 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.137, allocations: 8 kB / 1.537 GB, free: 7.82 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008672/1.138, allocations: 80.56 kB / 1.537 GB, free: 7.742 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/1.138, allocations: 42.41 kB / 1.537 GB, free: 7.703 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.0002424/1.138, allocations: 232.2 kB / 1.537 GB, free: 7.469 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/1.139, allocations: 170.9 kB / 1.537 GB, free: 7.301 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/1.141, allocations: 1.236 MB / 1.538 GB, free: 6.059 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.141, allocations: 12 kB / 1.538 GB, free: 6.047 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.141, allocations: 0 / 1.538 GB, free: 6.047 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001612/1.142, allocations: 1.007 MB / 1.539 GB, free: 5.031 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/1.147, allocations: 3.171 MB / 1.543 GB, free: 1.73 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.147, allocations: 0 / 1.543 GB, free: 1.73 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/1.148, allocations: 231.7 kB / 1.543 GB, free: 1.504 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/1.148, allocations: 8 kB / 1.543 GB, free: 1.496 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/1.148, allocations: 31.94 kB / 1.543 GB, free: 1.465 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.148, allocations: 4 kB / 1.543 GB, free: 1.461 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/1.148, allocations: 11.88 kB / 1.543 GB, free: 1.449 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/1.151, allocations: 1.925 MB / 1.545 GB, free: 15.48 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000481/1.151, allocations: 363.7 kB / 1.545 GB, free: 15.1 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/1.152, allocations: 31.98 kB / 1.545 GB, free: 15.07 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/1.152, allocations: 31.98 kB / 1.545 GB, free: 15.04 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/1.153, allocations: 80.83 kB / 1.545 GB, free: 14.96 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/1.153, allocations: 36 kB / 1.545 GB, free: 14.92 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009941/1.154, allocations: 0.8299 MB / 1.546 GB, free: 14.09 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/1.154, allocations: 0 / 1.546 GB, free: 14.09 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001549/1.155, allocations: 0.842 MB / 1.547 GB, free: 13.25 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.004696/1.16, allocations: 2.949 MB / 1.55 GB, free: 10.41 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002616/1.163, allocations: 1.623 MB / 1.551 GB, free: 8.789 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.163, allocations: 7.938 kB / 1.551 GB, free: 8.781 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0008708/1.163, allocations: 0.5656 MB / 1.552 GB, free: 8.219 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/1.167, allocations: 0.8735 MB / 1.553 GB, free: 7.371 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/1.182, allocations: 11.19 MB / 1.564 GB, free: 11.94 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009632/1.183, allocations: 1.371 MB / 1.565 GB, free: 10.54 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00147/1.185, allocations: 459.6 kB / 1.565 GB, free: 10.09 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008302/1.185, allocations: 0.6243 MB / 1.566 GB, free: 9.461 MB / 1.264 GB Notification: Performance of SimCode: time 4.71e-07/1.185, allocations: 0 / 1.566 GB, free: 9.461 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1728/1.358, allocations: 42.68 MB / 1.608 GB, free: 15.24 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.99, allocations: 11.03 kB / 1.608 GB, free: 15.23 MB / 1.311 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)