Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_10_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.00523/0.00523, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001487/0.001487, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.337/2.337, allocations: 437.1 MB / 0.7105 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 64.12 kB / 1.018 GB, free: 9.836 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6493, allocations: 151.6 MB / 1.166 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2397/0.889, allocations: 235.9 MB / 1.397 GB, free: 6.918 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0152/0.9042, allocations: 10.41 MB / 1.407 GB, free: 12.49 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.9061, allocations: 63.62 kB / 1.407 GB, free: 12.43 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.909, allocations: 1.193 MB / 1.408 GB, free: 11.23 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008231/0.9173, allocations: 3.661 MB / 1.411 GB, free: 7.551 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004949/0.9222, allocations: 2.075 MB / 1.414 GB, free: 5.48 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006031/0.9283, allocations: 4.448 MB / 1.418 GB, free: 1.02 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.9306, allocations: 1.567 MB / 1.419 GB, free: 15.41 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.9334, allocations: 1.596 MB / 1.421 GB, free: 13.81 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002928/0.9364, allocations: 1.498 MB / 1.422 GB, free: 12.31 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004354/0.9368, allocations: 184 kB / 1.423 GB, free: 12.13 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006199/0.943, allocations: 3.234 MB / 1.426 GB, free: 8.891 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009211/0.944, allocations: 0.6934 MB / 1.426 GB, free: 8.195 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.9455, allocations: 1.069 MB / 1.427 GB, free: 7.121 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007055/0.9525, allocations: 3.827 MB / 1.431 GB, free: 3.281 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9526, allocations: 0 / 1.431 GB, free: 3.281 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9526, allocations: 4 kB / 1.431 GB, free: 3.277 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.114e-05/0.9526, allocations: 0 / 1.431 GB, free: 3.277 MB / 1.154 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.005164/0.9578, allocations: 2.553 MB / 1.434 GB, free: 0.6641 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.9578, allocations: 8.922 kB / 1.434 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002439/0.9581, allocations: 210.6 kB / 1.434 GB, free: 452 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/0.9613, allocations: 0.5334 MB / 1.434 GB, free: 15.91 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.9634, allocations: 1.3 MB / 1.436 GB, free: 14.55 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.669e-05/0.9635, allocations: 102.6 kB / 1.436 GB, free: 14.45 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.9637, allocations: 136 kB / 1.436 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/0.9664, allocations: 1.671 MB / 1.438 GB, free: 12.58 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.9665, allocations: 0 / 1.438 GB, free: 12.58 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.9666, allocations: 59.98 kB / 1.438 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.268e-05/0.9667, allocations: 70.56 kB / 1.438 GB, free: 12.45 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.9693, allocations: 1.447 MB / 1.439 GB, free: 10.98 MB / 1.17 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.00854/0.9778, allocations: 6.998 MB / 1.446 GB, free: 3.523 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.9797, allocations: 1.196 MB / 1.447 GB, free: 2.289 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009492/0.9807, allocations: 0.6161 MB / 1.448 GB, free: 1.672 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008789/0.9816, allocations: 0.8633 MB / 1.449 GB, free: 0.625 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.9826, allocations: 0.6063 MB / 1.449 GB, free: 8 kB / 1.17 GB Notification: Performance of pre-optimization done (n=110): time 3.005e-06/0.9827, allocations: 3.938 kB / 1.449 GB, free: 4 kB / 1.17 GB Notification: Performance of matching and sorting (n=110): time 0.003087/0.9857, allocations: 1.581 MB / 1.451 GB, free: 14.41 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.9858, allocations: 94.09 kB / 1.451 GB, free: 14.3 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.9873, allocations: 1.187 MB / 1.452 GB, free: 13.09 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.195e-05/0.9874, allocations: 49.7 kB / 1.452 GB, free: 13.04 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/0.988, allocations: 0.6864 MB / 1.453 GB, free: 12.34 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003652/0.9884, allocations: 408.4 kB / 1.453 GB, free: 11.95 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/0.9887, allocations: 170.7 kB / 1.453 GB, free: 11.77 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9889, allocations: 349.9 kB / 1.454 GB, free: 11.43 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007478/0.9896, allocations: 428.6 kB / 1.454 GB, free: 11 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008719/0.9905, allocations: 0.5556 MB / 1.454 GB, free: 10.41 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.9922, allocations: 1.013 MB / 1.455 GB, free: 9.367 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.9922, allocations: 3.938 kB / 1.455 GB, free: 9.363 MB / 1.186 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002105/0.9943, allocations: 1.227 MB / 1.457 GB, free: 8.125 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.9943, allocations: 7.938 kB / 1.457 GB, free: 8.117 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.9943, allocations: 4 kB / 1.457 GB, free: 8.113 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.9944, allocations: 8 kB / 1.457 GB, free: 8.105 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009114/0.9953, allocations: 215.7 kB / 1.457 GB, free: 7.895 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.9953, allocations: 8.312 kB / 1.457 GB, free: 7.887 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009834/0.9963, allocations: 99.28 kB / 1.457 GB, free: 7.789 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-05/0.9964, allocations: 43.92 kB / 1.457 GB, free: 7.746 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001174/0.9976, allocations: 0.7323 MB / 1.458 GB, free: 7.012 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008116/0.9984, allocations: 0.544 MB / 1.458 GB, free: 6.434 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001542/0.9999, allocations: 0.9893 MB / 1.459 GB, free: 5.41 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.438e-06/0.9999, allocations: 3.984 kB / 1.459 GB, free: 5.406 MB / 1.186 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001997/1.002, allocations: 1.211 MB / 1.46 GB, free: 4.191 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/1.002, allocations: 4 kB / 1.46 GB, free: 4.188 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.002, allocations: 4 kB / 1.46 GB, free: 4.184 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/1.002, allocations: 11.94 kB / 1.46 GB, free: 4.172 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008603/1.003, allocations: 207.7 kB / 1.461 GB, free: 3.969 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/1.003, allocations: 11.94 kB / 1.461 GB, free: 3.957 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009324/1.004, allocations: 79.44 kB / 1.461 GB, free: 3.879 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-05/1.004, allocations: 32 kB / 1.461 GB, free: 3.848 MB / 1.186 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.0002725/1.004, allocations: 244.2 kB / 1.461 GB, free: 3.602 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/1.004, allocations: 159 kB / 1.461 GB, free: 3.445 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/1.007, allocations: 1.239 MB / 1.462 GB, free: 2.195 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/1.007, allocations: 8 kB / 1.462 GB, free: 2.188 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.007, allocations: 8 kB / 1.462 GB, free: 2.18 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001681/1.008, allocations: 1.007 MB / 1.463 GB, free: 1.16 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004904/1.013, allocations: 3.175 MB / 1.466 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.013, allocations: 4 kB / 1.466 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.014, allocations: 227.7 kB / 1.467 GB, free: 13.63 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/1.014, allocations: 11.94 kB / 1.467 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.841e-05/1.015, allocations: 27.98 kB / 1.467 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/1.015, allocations: 12.25 kB / 1.467 GB, free: 13.58 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/1.015, allocations: 8 kB / 1.467 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/1.018, allocations: 1.914 MB / 1.469 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/1.018, allocations: 371.7 kB / 1.469 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/1.018, allocations: 27.98 kB / 1.469 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008279/1.019, allocations: 40.67 kB / 1.469 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/1.019, allocations: 76.94 kB / 1.469 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/1.019, allocations: 35.98 kB / 1.469 GB, free: 11.05 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001091/1.021, allocations: 0.8258 MB / 1.47 GB, free: 10.23 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.5e-07/1.021, allocations: 0 / 1.47 GB, free: 10.23 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001681/1.022, allocations: 0.8421 MB / 1.471 GB, free: 9.383 MB / 1.201 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.004897/1.027, allocations: 2.96 MB / 1.474 GB, free: 6.535 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0028/1.03, allocations: 1.619 MB / 1.475 GB, free: 4.918 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.03, allocations: 1.25 kB / 1.475 GB, free: 4.918 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009169/1.031, allocations: 0.5722 MB / 1.476 GB, free: 4.348 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/1.035, allocations: 0.8712 MB / 1.477 GB, free: 3.496 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/1.051, allocations: 11.18 MB / 1.488 GB, free: 8.062 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.052, allocations: 1.368 MB / 1.489 GB, free: 6.668 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001562/1.054, allocations: 459.5 kB / 1.489 GB, free: 6.215 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009038/1.055, allocations: 0.6282 MB / 1.49 GB, free: 5.586 MB / 1.217 GB Notification: Performance of SimCode: time 5.91e-07/1.055, allocations: 0 / 1.49 GB, free: 5.586 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.72/5.775, allocations: 42.69 MB / 1.532 GB, free: 11.27 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/20.86, allocations: 10.19 kB / 1.532 GB, free: 11.27 MB / 1.264 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)