Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_9_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.0009673/0.0009672, allocations: 97.56 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.006988/0.006989, allocations: 169.2 kB / 16.26 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.601/1.601, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.609/2.609, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005055/0.0005049, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.108, allocations: 142.4 MB / 0.9552 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.3052/1.413, allocations: 230.5 MB / 1.18 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02032/1.433, allocations: 10.4 MB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/1.436, allocations: 47.69 kB / 1.19 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003248/1.439, allocations: 1.038 MB / 1.191 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01078/1.45, allocations: 3.432 MB / 1.195 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006582/1.457, allocations: 1.885 MB / 1.197 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009757/1.467, allocations: 6.284 MB / 1.203 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/1.469, allocations: 1.302 MB / 1.204 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/1.473, allocations: 1.338 MB / 1.205 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/1.477, allocations: 1.472 MB / 1.207 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003291/1.477, allocations: 76 kB / 1.207 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00791/1.485, allocations: 3.717 MB / 1.211 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009987/1.486, allocations: 0.584 MB / 1.211 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002181/1.488, allocations: 0.9538 MB / 1.212 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.007962/1.496, allocations: 3.882 MB / 1.216 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/1.496, allocations: 3.984 kB / 1.216 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.274e-06/1.496, allocations: 4 kB / 1.216 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.041e-05/1.496, allocations: 0 / 1.216 GB, free: 3.605 MB / 0.9669 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.005277/1.501, allocations: 2.124 MB / 1.218 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.501, allocations: 12.03 kB / 1.218 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003286/1.502, allocations: 198.6 kB / 1.218 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/1.505, allocations: 0.5245 MB / 1.219 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/1.507, allocations: 1.232 MB / 1.22 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.357e-05/1.507, allocations: 102.7 kB / 1.22 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/1.508, allocations: 140 kB / 1.22 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/1.511, allocations: 1.677 MB / 1.222 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/1.511, allocations: 0 / 1.222 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/1.511, allocations: 60 kB / 1.222 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.409e-05/1.511, allocations: 70.56 kB / 1.222 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/1.514, allocations: 1.451 MB / 1.223 GB, free: 11.82 MB / 0.9825 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.01136/1.525, allocations: 6.984 MB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/1.527, allocations: 1.199 MB / 1.231 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/1.528, allocations: 0.6161 MB / 1.232 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009454/1.529, allocations: 0.8594 MB / 1.233 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/1.531, allocations: 0.618 MB / 1.233 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=110): time 3.828e-06/1.531, allocations: 0 / 1.233 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.00334/1.534, allocations: 1.588 MB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/1.534, allocations: 94.11 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/1.536, allocations: 1.195 MB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.536, allocations: 45.7 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006009/1.537, allocations: 0.6776 MB / 1.237 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/1.537, allocations: 378.4 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/1.537, allocations: 89.67 kB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.537, allocations: 341.9 kB / 1.238 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007148/1.538, allocations: 429.8 kB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008331/1.539, allocations: 0.5595 MB / 1.239 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/1.54, allocations: 1.021 MB / 1.24 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.54, allocations: 0 / 1.24 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002214/1.543, allocations: 1.234 MB / 1.241 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.543, allocations: 171.5 kB / 1.241 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.543, allocations: 4 kB / 1.241 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/1.543, allocations: 8 kB / 1.241 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009238/1.544, allocations: 215.7 kB / 1.241 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/1.544, allocations: 8 kB / 1.241 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/1.545, allocations: 190.8 kB / 1.241 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-05/1.545, allocations: 36 kB / 1.241 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.455e-06/1.545, allocations: 4 kB / 1.241 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001812/1.547, allocations: 1.043 MB / 1.242 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.547, allocations: 7.984 kB / 1.242 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/1.547, allocations: 4 kB / 1.242 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009744/1.548, allocations: 211.7 kB / 1.243 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/1.548, allocations: 11.94 kB / 1.243 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/1.55, allocations: 178.9 kB / 1.243 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.455e-05/1.55, allocations: 39.98 kB / 1.243 GB, free: 6.922 MB / 0.9981 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.000886/1.551, allocations: 492.7 kB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/1.551, allocations: 146.2 kB / 1.243 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/1.554, allocations: 1.247 MB / 1.245 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/1.554, allocations: 11.94 kB / 1.245 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/1.554, allocations: 0 / 1.245 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001657/1.555, allocations: 1.022 MB / 1.246 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005722/1.561, allocations: 3.174 MB / 1.249 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/1.561, allocations: 7.984 kB / 1.249 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/1.562, allocations: 231.6 kB / 1.249 GB, free: 464 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.333e-05/1.562, allocations: 8.312 kB / 1.249 GB, free: 456 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.124e-05/1.562, allocations: 43.92 kB / 1.249 GB, free: 412 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/1.562, allocations: 7.938 kB / 1.249 GB, free: 404 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.562, allocations: 4 kB / 1.249 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6614/2.224, allocations: 1.916 MB / 1.251 GB, free: 283.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/2.225, allocations: 358.8 kB / 1.251 GB, free: 283.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/2.225, allocations: 25.09 kB / 1.251 GB, free: 283.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/2.227, allocations: 116 kB / 1.251 GB, free: 283.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/2.227, allocations: 78.7 kB / 1.251 GB, free: 283.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/2.227, allocations: 39.06 kB / 1.251 GB, free: 283.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001816/2.229, allocations: 0.824 MB / 1.252 GB, free: 282.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.51e-07/2.229, allocations: 3.062 kB / 1.252 GB, free: 282.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003768/2.233, allocations: 0.8344 MB / 1.253 GB, free: 282.8 MB / 0.9981 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.007037/2.24, allocations: 2.949 MB / 1.256 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004472/2.244, allocations: 1.628 MB / 1.258 GB, free: 280.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/2.244, allocations: 0.7812 kB / 1.258 GB, free: 280.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/2.246, allocations: 0.5645 MB / 1.258 GB, free: 280.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006852/2.253, allocations: 0.832 MB / 1.259 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0269/2.28, allocations: 12.8 MB / 1.271 GB, free: 273.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/2.281, allocations: 1.367 MB / 1.273 GB, free: 272.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002608/2.284, allocations: 457.9 kB / 1.273 GB, free: 272.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009697/2.285, allocations: 0.6254 MB / 1.274 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.273e-06/2.285, allocations: 0 / 1.274 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/2.405, allocations: 40.4 MB / 1.313 GB, free: 238.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/2.405, allocations: 256.1 kB / 1.313 GB, free: 238.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.154/5.559, allocations: 0 / 1.313 GB, free: 238.5 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)