Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001254/0.001254, allocations: 194.8 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 71.2 kB / 0.6708 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.271, allocations: 114.6 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7678/1.039, allocations: 233.6 MB / 1.011 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01467/1.054, allocations: 10.32 MB / 1.021 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003413/1.057, allocations: 58.34 kB / 1.021 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003291/1.06, allocations: 1.028 MB / 1.022 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008817/1.069, allocations: 3.39 MB / 1.025 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004885/1.074, allocations: 1.901 MB / 1.027 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006651/1.081, allocations: 6.242 MB / 1.033 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/1.083, allocations: 1.343 MB / 1.035 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/1.087, allocations: 1.377 MB / 1.036 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00447/1.091, allocations: 1.532 MB / 1.037 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007103/1.092, allocations: 98.44 kB / 1.037 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009305/1.101, allocations: 3.745 MB / 1.041 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009599/1.102, allocations: 0.6126 MB / 1.042 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/1.104, allocations: 0.971 MB / 1.043 GB, free: 4.242 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006379/1.11, allocations: 3.945 MB / 1.047 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.11, allocations: 7.344 kB / 1.047 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of FrontEnd: time 9.92e-07/1.11, allocations: 0 / 1.047 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.288e-05/1.11, allocations: 0 / 1.047 GB, free: 1.715 MB / 0.7481 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.005037/1.115, allocations: 2.483 MB / 1.049 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/1.115, allocations: 11.88 kB / 1.049 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/1.118, allocations: 0.5259 MB / 1.049 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/1.12, allocations: 1.216 MB / 1.051 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-05/1.12, allocations: 106.2 kB / 1.051 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/1.12, allocations: 138.7 kB / 1.051 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/1.123, allocations: 1.667 MB / 1.053 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/1.123, allocations: 5.75 kB / 1.053 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/1.123, allocations: 53.28 kB / 1.053 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.456e-05/1.123, allocations: 75.09 kB / 1.053 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/1.126, allocations: 1.44 MB / 1.054 GB, free: 12.51 MB / 0.7637 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.008406/1.134, allocations: 6.937 MB / 1.061 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/1.136, allocations: 1.192 MB / 1.062 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009324/1.137, allocations: 0.6122 MB / 1.063 GB, free: 3.27 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009159/1.138, allocations: 0.8672 MB / 1.063 GB, free: 2.219 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/1.139, allocations: 0.6024 MB / 1.064 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=110): time 3.727e-06/1.139, allocations: 0 / 1.064 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.003039/1.142, allocations: 1.58 MB / 1.066 GB, free: 16 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/1.142, allocations: 94.05 kB / 1.066 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/1.144, allocations: 1.185 MB / 1.067 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.7e-05/1.144, allocations: 49.7 kB / 1.067 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005445/1.144, allocations: 0.6828 MB / 1.068 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/1.145, allocations: 378.4 kB / 1.068 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/1.145, allocations: 186.5 kB / 1.068 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.145, allocations: 341.9 kB / 1.068 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007145/1.146, allocations: 428.6 kB / 1.069 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008341/1.147, allocations: 0.5691 MB / 1.069 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/1.148, allocations: 1.017 MB / 1.07 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.148, allocations: 0 / 1.07 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002001/1.15, allocations: 1.214 MB / 1.072 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.15, allocations: 4 kB / 1.072 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.15, allocations: 4 kB / 1.072 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/1.15, allocations: 8 kB / 1.072 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/1.151, allocations: 223.9 kB / 1.072 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.151, allocations: 8 kB / 1.072 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/1.153, allocations: 162.9 kB / 1.072 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/1.153, allocations: 39.94 kB / 1.072 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001142/1.154, allocations: 0.7329 MB / 1.073 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007836/1.155, allocations: 0.5573 MB / 1.073 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001456/1.156, allocations: 0.9893 MB / 1.074 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.406e-06/1.156, allocations: 0.9375 kB / 1.074 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001909/1.158, allocations: 1.199 MB / 1.075 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/1.158, allocations: 4 kB / 1.075 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.158, allocations: 4 kB / 1.075 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-06/1.158, allocations: 8 kB / 1.075 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009011/1.159, allocations: 207.7 kB / 1.076 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.159, allocations: 11.94 kB / 1.076 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/1.16, allocations: 143.5 kB / 1.076 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/1.16, allocations: 39.98 kB / 1.076 GB, free: 5.348 MB / 0.7794 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.0002931/1.161, allocations: 240 kB / 1.076 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/1.161, allocations: 150.2 kB / 1.076 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/1.163, allocations: 1.237 MB / 1.077 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/1.163, allocations: 16.06 kB / 1.077 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.163, allocations: 4 kB / 1.077 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001608/1.165, allocations: 1.011 MB / 1.078 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/1.17, allocations: 3.159 MB / 1.081 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.17, allocations: 4 kB / 1.081 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.171, allocations: 231.7 kB / 1.082 GB, free: 15.15 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/1.171, allocations: 8.312 kB / 1.082 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.477e-05/1.171, allocations: 32 kB / 1.082 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/1.171, allocations: 4 kB / 1.082 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.171, allocations: 7.938 kB / 1.082 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/1.174, allocations: 1.997 MB / 1.084 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006387/1.174, allocations: 362.9 kB / 1.084 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/1.175, allocations: 24 kB / 1.084 GB, free: 12.66 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.176, allocations: 114.6 kB / 1.084 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.176, allocations: 72.83 kB / 1.084 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/1.176, allocations: 39.98 kB / 1.084 GB, free: 12.44 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001019/1.177, allocations: 0.8216 MB / 1.085 GB, free: 11.61 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/1.177, allocations: 0 / 1.085 GB, free: 11.61 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001748/1.179, allocations: 0.8377 MB / 1.086 GB, free: 10.77 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * 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.001188/1.18, allocations: 0.5788 MB / 1.086 GB, free: 10.35 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00269/1.183, allocations: 1.612 MB / 1.088 GB, free: 8.738 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.183, allocations: 4.062 kB / 1.088 GB, free: 8.734 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008767/1.184, allocations: 0.5677 MB / 1.089 GB, free: 8.172 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003534/1.187, allocations: 0.8381 MB / 1.089 GB, free: 7.344 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/1.192, allocations: 3.936 MB / 1.093 GB, free: 3.344 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008839/1.193, allocations: 1.364 MB / 1.095 GB, free: 1.949 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001812/1.195, allocations: 451.6 kB / 1.095 GB, free: 1.504 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/1.195, allocations: 111.4 kB / 1.095 GB, free: 1.395 MB / 0.795 GB Notification: Performance of SimCode: time 5.71e-07/1.195, allocations: 0 / 1.095 GB, free: 1.395 MB / 0.795 GB Notification: Performance of Templates: time 0.04466/1.24, allocations: 28.76 MB / 1.123 GB, free: 5.016 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)