Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 190.2 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.1 MB / 0.6354 GB, free: 9.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 97.55 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001047, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2501, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.6687/0.9189, allocations: 165.2 MB / 1.144 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01302/0.932, allocations: 8.792 MB / 1.152 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.9341, allocations: 36.25 kB / 1.152 GB, free: 8.141 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.9362, allocations: 0.5587 MB / 1.153 GB, free: 7.855 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004413/0.9407, allocations: 1.341 MB / 1.154 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.9442, allocations: 1.081 MB / 1.155 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004388/0.9486, allocations: 3.667 MB / 1.159 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.9502, allocations: 0.8355 MB / 1.159 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.9522, allocations: 0.9024 MB / 1.16 GB, free: 4.445 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.9542, allocations: 1.008 MB / 1.161 GB, free: 4.035 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003098/0.9545, allocations: 55.94 kB / 1.161 GB, free: 4.035 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.9572, allocations: 1.025 MB / 1.162 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004687/0.9577, allocations: 235.9 kB / 1.163 GB, free: 3.551 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.9588, allocations: 0.5724 MB / 1.163 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.9615, allocations: 1.695 MB / 1.165 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9615, allocations: 0 / 1.165 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9616, allocations: 0 / 1.165 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.9616, allocations: 0 / 1.165 GB, free: 2.566 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002746/0.9643, allocations: 1.58 MB / 1.166 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.9644, allocations: 9.031 kB / 1.166 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.9647, allocations: 136 kB / 1.167 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.966, allocations: 0.8543 MB / 1.167 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.9661, allocations: 61.69 kB / 1.167 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.9662, allocations: 78.78 kB / 1.167 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.9675, allocations: 0.8701 MB / 1.168 GB, free: 440 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.9676, allocations: 8 kB / 1.168 GB, free: 432 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.025e-05/0.9676, allocations: 33.31 kB / 1.168 GB, free: 408 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.9677, allocations: 18.12 kB / 1.168 GB, free: 408 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.9688, allocations: 0.6357 MB / 1.169 GB, free: 176 kB / 0.7605 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.004225/0.973, allocations: 3.953 MB / 1.173 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.9741, allocations: 0.5668 MB / 1.173 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.9746, allocations: 294.1 kB / 1.174 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.9756, allocations: 1.241 MB / 1.175 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005796/0.9762, allocations: 331.3 kB / 1.175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=63): time 4.288e-06/0.9762, allocations: 96 / 1.175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=63): time 0.002419/0.9786, allocations: 1.142 MB / 1.176 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.9787, allocations: 83.58 kB / 1.176 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009786/0.9797, allocations: 0.8723 MB / 1.177 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.9797, allocations: 40.48 kB / 1.177 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.9801, allocations: 467 kB / 1.178 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.9803, allocations: 222.6 kB / 1.178 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.9805, allocations: 114.5 kB / 1.178 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.9806, allocations: 334.5 kB / 1.178 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.981, allocations: 207.3 kB / 1.179 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.9814, allocations: 315.2 kB / 1.179 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008125/0.9823, allocations: 0.5269 MB / 1.179 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.9823, allocations: 0 / 1.179 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001208/0.9835, allocations: 0.7189 MB / 1.18 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.9835, allocations: 9.984 kB / 1.18 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.9835, allocations: 0.625 kB / 1.18 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005723/0.9841, allocations: 99.02 kB / 1.18 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.9846, allocations: 129.1 kB / 1.18 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005308/0.9851, allocations: 0.6544 MB / 1.181 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/0.9858, allocations: 95.45 kB / 1.181 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.505e-05/0.9858, allocations: 26.97 kB / 1.181 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006313/0.9865, allocations: 390.8 kB / 1.181 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004132/0.9869, allocations: 306 kB / 1.182 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007308/0.9877, allocations: 0.5102 MB / 1.182 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/0.9877, allocations: 0.5469 kB / 1.182 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001116/0.9888, allocations: 0.6894 MB / 1.183 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.9888, allocations: 8.875 kB / 1.183 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.9888, allocations: 3.156 kB / 1.183 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004258/0.9892, allocations: 107.1 kB / 1.183 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.9897, allocations: 112.5 kB / 1.183 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005143/0.9902, allocations: 0.6659 MB / 1.184 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006157/0.9909, allocations: 81.45 kB / 1.184 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.9909, allocations: 26.48 kB / 1.184 GB, free: 6.172 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.9911, allocations: 216.9 kB / 1.184 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.9913, allocations: 100.5 kB / 1.184 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.993, allocations: 0.9507 MB / 1.185 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.993, allocations: 6.656 kB / 1.185 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.993, allocations: 0 / 1.185 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/0.9943, allocations: 0.8512 MB / 1.186 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.9973, allocations: 1.853 MB / 1.188 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.9973, allocations: 0 / 1.188 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.9978, allocations: 103.5 kB / 1.188 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006571/0.9985, allocations: 165.6 kB / 1.188 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.9985, allocations: 19.88 kB / 1.188 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000936/0.9995, allocations: 1.243 MB / 1.189 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9995, allocations: 0 / 1.189 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/1.017, allocations: 10.41 MB / 1.199 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005046/1.017, allocations: 251.4 kB / 1.2 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/1.018, allocations: 18.25 kB / 1.2 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/1.018, allocations: 58.94 kB / 1.2 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.018, allocations: 44.66 kB / 1.2 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-05/1.018, allocations: 31.08 kB / 1.2 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0009199/1.019, allocations: 0.6045 MB / 1.2 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.2e-07/1.019, allocations: 0 / 1.2 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003791/1.023, allocations: 0.9193 MB / 1.201 GB, free: 11.08 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002149/1.025, allocations: 0.728 MB / 1.202 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002241/1.028, allocations: 0.9222 MB / 1.203 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.028, allocations: 1.969 kB / 1.203 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0008855/1.029, allocations: 395.5 kB / 1.203 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/1.031, allocations: 429.7 kB / 1.204 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005106/1.036, allocations: 3.166 MB / 1.207 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009533/1.037, allocations: 1.099 MB / 1.208 GB, free: 7.379 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001158/1.038, allocations: 230.3 kB / 1.208 GB, free: 7.324 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/1.038, allocations: 91.14 kB / 1.208 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of SimCode: time 6.42e-07/1.038, allocations: 0 / 1.208 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of Templates: time 0.05042/1.089, allocations: 23.16 MB / 1.231 GB, free: 2.789 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)