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.001403/0.001403, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00131/0.00131, allocations: 198.4 kB / 16.26 MB, free: 6.621 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.641/1.641, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.786/1.786, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001882/0.001882, allocations: 70.88 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.271, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.699/0.9701, allocations: 232.9 MB / 1.01 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.9853, allocations: 10.16 MB / 1.02 GB, free: 132 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003775/0.9891, allocations: 51.47 kB / 1.02 GB, free: 112 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003778/0.9929, allocations: 1.062 MB / 1.021 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01113/1.004, allocations: 3.39 MB / 1.025 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006167/1.01, allocations: 1.915 MB / 1.027 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007936/1.018, allocations: 4.415 MB / 1.031 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003248/1.022, allocations: 1.548 MB / 1.032 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004413/1.026, allocations: 1.612 MB / 1.034 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003976/1.03, allocations: 1.59 MB / 1.035 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004235/1.03, allocations: 183.2 kB / 1.036 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008207/1.039, allocations: 3.379 MB / 1.039 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001261/1.04, allocations: 0.7028 MB / 1.04 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001923/1.042, allocations: 1.062 MB / 1.041 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.008995/1.051, allocations: 4.025 MB / 1.045 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.051, allocations: 4 kB / 1.045 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.863e-06/1.051, allocations: 0 / 1.045 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.909e-05/1.051, allocations: 0 / 1.045 GB, free: 3.246 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.006109/1.057, allocations: 2.486 MB / 1.047 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.057, allocations: 6.844 kB / 1.047 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/1.061, allocations: 0.527 MB / 1.048 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/1.063, allocations: 1.218 MB / 1.049 GB, free: 260 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.367e-05/1.063, allocations: 106.1 kB / 1.049 GB, free: 208 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/1.063, allocations: 142 kB / 1.049 GB, free: 156 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/1.066, allocations: 1.665 MB / 1.051 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.425e-05/1.066, allocations: 10.19 kB / 1.051 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/1.067, allocations: 56.31 kB / 1.051 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.55e-05/1.067, allocations: 68.42 kB / 1.051 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/1.069, allocations: 1.444 MB / 1.052 GB, free: 14.33 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.009489/1.079, allocations: 6.944 MB / 1.059 GB, free: 8.18 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/1.081, allocations: 1.184 MB / 1.06 GB, free: 6.949 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009457/1.082, allocations: 0.6161 MB / 1.061 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009465/1.082, allocations: 0.8594 MB / 1.062 GB, free: 5.293 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/1.084, allocations: 0.6141 MB / 1.062 GB, free: 4.668 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=110): time 3.407e-06/1.084, allocations: 0 / 1.062 GB, free: 4.668 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.003259/1.087, allocations: 1.572 MB / 1.064 GB, free: 3.086 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/1.087, allocations: 98.05 kB / 1.064 GB, free: 2.973 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/1.089, allocations: 1.185 MB / 1.065 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/1.089, allocations: 45.7 kB / 1.065 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005596/1.089, allocations: 0.6789 MB / 1.066 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/1.09, allocations: 382.3 kB / 1.066 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/1.09, allocations: 174.7 kB / 1.066 GB, free: 500 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.09, allocations: 349.9 kB / 1.066 GB, free: 144 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/1.091, allocations: 424.7 kB / 1.067 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008256/1.092, allocations: 0.5613 MB / 1.067 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/1.093, allocations: 1.02 MB / 1.068 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.093, allocations: 0 / 1.068 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002125/1.095, allocations: 1.218 MB / 1.07 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/1.095, allocations: 8 kB / 1.07 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.095, allocations: 0 / 1.07 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/1.095, allocations: 8 kB / 1.07 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009661/1.096, allocations: 223.6 kB / 1.07 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/1.096, allocations: 8.938 kB / 1.07 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.098, allocations: 164.8 kB / 1.07 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.328e-05/1.098, allocations: 36 kB / 1.07 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001199/1.099, allocations: 0.7329 MB / 1.071 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007736/1.1, allocations: 0.5573 MB / 1.071 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001421/1.101, allocations: 0.9971 MB / 1.072 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/1.101, allocations: 0 / 1.072 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001953/1.103, allocations: 1.187 MB / 1.073 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.103, allocations: 8 kB / 1.073 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.103, allocations: 0 / 1.073 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/1.103, allocations: 12.31 kB / 1.073 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008827/1.104, allocations: 215.7 kB / 1.074 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.104, allocations: 9.109 kB / 1.074 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/1.106, allocations: 147.1 kB / 1.074 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/1.106, allocations: 36 kB / 1.074 GB, free: 8.422 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.000322/1.106, allocations: 244 kB / 1.074 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/1.106, allocations: 146.2 kB / 1.074 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/1.109, allocations: 1.236 MB / 1.075 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/1.109, allocations: 11.94 kB / 1.075 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.109, allocations: 4.875 kB / 1.075 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001615/1.11, allocations: 1.011 MB / 1.076 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004997/1.115, allocations: 3.147 MB / 1.08 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.115, allocations: 8.062 kB / 1.08 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.116, allocations: 235.7 kB / 1.08 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/1.116, allocations: 4 kB / 1.08 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/1.116, allocations: 37.42 kB / 1.08 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/1.116, allocations: 11.94 kB / 1.08 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.116, allocations: 0 / 1.08 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/1.119, allocations: 2 MB / 1.082 GB, free: 136 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007099/1.12, allocations: 355.1 kB / 1.082 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/1.12, allocations: 27.98 kB / 1.082 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.121, allocations: 115.5 kB / 1.082 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/1.122, allocations: 80.88 kB / 1.082 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/1.122, allocations: 35.98 kB / 1.082 GB, free: 15.51 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001024/1.123, allocations: 0.8255 MB / 1.083 GB, free: 14.68 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/1.123, allocations: 0 / 1.083 GB, free: 14.68 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001779/1.125, allocations: 0.8338 MB / 1.084 GB, free: 13.85 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.001222/1.126, allocations: 0.5805 MB / 1.085 GB, free: 13.43 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003579/1.129, allocations: 1.861 MB / 1.086 GB, free: 11.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.129, allocations: 3.938 kB / 1.086 GB, free: 11.56 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008659/1.13, allocations: 0.5696 MB / 1.087 GB, free: 11 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/1.134, allocations: 0.8793 MB / 1.088 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/1.139, allocations: 3.94 MB / 1.092 GB, free: 6.141 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.14, allocations: 1.364 MB / 1.093 GB, free: 4.746 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001885/1.142, allocations: 451.6 kB / 1.093 GB, free: 4.301 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/1.143, allocations: 115.4 kB / 1.093 GB, free: 4.188 MB / 0.795 GB Notification: Performance of SimCode: time 5.31e-07/1.143, allocations: 3.938 kB / 1.093 GB, free: 4.184 MB / 0.795 GB Notification: Performance of Templates: time 0.04881/1.192, allocations: 29.83 MB / 1.123 GB, free: 6.773 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)