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.001515/0.001515, allocations: 101 kB / 16.27 MB, free: 6.418 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.001559/0.001559, allocations: 190 kB / 17.2 MB, free: 5.953 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.501/1.501, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.784/1.784, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001464/0.001465, allocations: 75.89 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2586, allocations: 114.6 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6841/0.9428, allocations: 235.8 MB / 1.014 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01807/0.9609, allocations: 10.21 MB / 1.024 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00371/0.9647, allocations: 59.69 kB / 1.024 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00393/0.9687, allocations: 1.177 MB / 1.026 GB, free: 3.035 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01276/0.9815, allocations: 3.609 MB / 1.029 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006613/0.9881, allocations: 2.069 MB / 1.031 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0071/0.9953, allocations: 4.421 MB / 1.035 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.998, allocations: 1.574 MB / 1.037 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/1.002, allocations: 1.596 MB / 1.038 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003724/1.005, allocations: 1.492 MB / 1.04 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004769/1.006, allocations: 184 kB / 1.04 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007757/1.014, allocations: 3.238 MB / 1.043 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001101/1.015, allocations: 0.6895 MB / 1.044 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001734/1.016, allocations: 1.069 MB / 1.045 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008128/1.025, allocations: 3.798 MB / 1.049 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.025, allocations: 0 / 1.049 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/1.025, allocations: 0 / 1.049 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.309e-05/1.025, allocations: 0 / 1.049 GB, free: 11.21 MB / 0.8419 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.00561/1.03, allocations: 2.488 MB / 1.051 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.03, allocations: 8.031 kB / 1.051 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/1.034, allocations: 0.5264 MB / 1.052 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/1.036, allocations: 1.205 MB / 1.053 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.493e-05/1.036, allocations: 106.6 kB / 1.053 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/1.036, allocations: 139.9 kB / 1.053 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/1.039, allocations: 1.674 MB / 1.055 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/1.039, allocations: 4 kB / 1.055 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/1.039, allocations: 52 kB / 1.055 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.317e-05/1.039, allocations: 70.58 kB / 1.055 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/1.042, allocations: 1.447 MB / 1.056 GB, free: 3.312 MB / 0.8419 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.00863/1.05, allocations: 7.008 MB / 1.063 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/1.052, allocations: 1.18 MB / 1.064 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009325/1.053, allocations: 0.6133 MB / 1.065 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009029/1.054, allocations: 0.8594 MB / 1.066 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/1.055, allocations: 0.6141 MB / 1.066 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=110): time 4.509e-06/1.055, allocations: 0 / 1.066 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=110): time 0.003238/1.058, allocations: 1.565 MB / 1.068 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/1.058, allocations: 94.05 kB / 1.068 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/1.06, allocations: 1.185 MB / 1.069 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.443e-05/1.06, allocations: 49.64 kB / 1.069 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006241/1.061, allocations: 0.6866 MB / 1.07 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/1.061, allocations: 386.4 kB / 1.07 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/1.061, allocations: 182.5 kB / 1.07 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.062, allocations: 345.9 kB / 1.071 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000713/1.062, allocations: 424.6 kB / 1.071 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/1.063, allocations: 0.5691 MB / 1.072 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/1.065, allocations: 1.013 MB / 1.073 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.065, allocations: 4 kB / 1.073 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002172/1.067, allocations: 1.214 MB / 1.074 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.067, allocations: 8 kB / 1.074 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.067, allocations: 0 / 1.074 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/1.067, allocations: 8.938 kB / 1.074 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/1.068, allocations: 223.6 kB / 1.074 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/1.068, allocations: 8 kB / 1.074 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/1.069, allocations: 95.89 kB / 1.074 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/1.069, allocations: 36.14 kB / 1.074 GB, free: 132 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001274/1.071, allocations: 0.744 MB / 1.075 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007857/1.072, allocations: 0.5457 MB / 1.075 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001517/1.073, allocations: 0.9991 MB / 1.076 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/1.073, allocations: 0 / 1.076 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002029/1.075, allocations: 1.187 MB / 1.078 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.075, allocations: 4.312 kB / 1.078 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.075, allocations: 8 kB / 1.078 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/1.075, allocations: 8 kB / 1.078 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008949/1.076, allocations: 211.7 kB / 1.078 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/1.076, allocations: 11.94 kB / 1.078 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/1.077, allocations: 76.52 kB / 1.078 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/1.077, allocations: 39.98 kB / 1.078 GB, free: 12.22 MB / 0.8731 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.0003348/1.078, allocations: 232.1 kB / 1.078 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/1.078, allocations: 150.2 kB / 1.078 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/1.08, allocations: 1.248 MB / 1.079 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/1.08, allocations: 15.94 kB / 1.079 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.08, allocations: 0 / 1.079 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001632/1.082, allocations: 1.003 MB / 1.08 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/1.087, allocations: 3.165 MB / 1.084 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.087, allocations: 3.984 kB / 1.084 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/1.088, allocations: 231.7 kB / 1.084 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/1.088, allocations: 8 kB / 1.084 GB, free: 6.023 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.623e-05/1.088, allocations: 29.86 kB / 1.084 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/1.088, allocations: 8.312 kB / 1.084 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.088, allocations: 11.94 kB / 1.084 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/1.091, allocations: 1.996 MB / 1.086 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006847/1.092, allocations: 355 kB / 1.086 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/1.092, allocations: 28 kB / 1.086 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008784/1.093, allocations: 31.98 kB / 1.086 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/1.093, allocations: 80.83 kB / 1.086 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/1.093, allocations: 39.98 kB / 1.086 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001104/1.094, allocations: 0.8216 MB / 1.087 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.094, allocations: 0 / 1.087 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001988/1.096, allocations: 0.8338 MB / 1.088 GB, free: 1.727 MB / 0.8731 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.001463/1.098, allocations: 0.5877 MB / 1.088 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003791/1.102, allocations: 1.854 MB / 1.09 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.102, allocations: 4.062 kB / 1.09 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008932/1.102, allocations: 0.5754 MB / 1.091 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003945/1.106, allocations: 0.8645 MB / 1.092 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/1.112, allocations: 3.404 MB / 1.095 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.113, allocations: 1.368 MB / 1.096 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005305/1.114, allocations: 119.4 kB / 1.096 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of SimCode: time 1.143e-06/1.114, allocations: 0 / 1.096 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of Templates: time 0.04272/1.156, allocations: 25.37 MB / 1.121 GB, free: 15.99 MB / 0.92 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)