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.001316/0.001316, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 189 kB / 16.62 MB, free: 6.613 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.401/1.401, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.76/1.76, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001425/0.001425, allocations: 70.97 kB / 0.6722 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1973, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7642/0.9615, allocations: 235.8 MB / 1.014 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01796/0.9795, allocations: 10.21 MB / 1.024 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004013/0.9836, allocations: 57.66 kB / 1.024 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00433/0.988, allocations: 1.186 MB / 1.026 GB, free: 7.254 MB / 0.7481 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.01139/0.9994, allocations: 3.603 MB / 1.029 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006594/1.006, allocations: 2.077 MB / 1.031 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007978/1.014, allocations: 4.419 MB / 1.035 GB, free: 384 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00307/1.017, allocations: 1.575 MB / 1.037 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/1.021, allocations: 1.595 MB / 1.039 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003971/1.025, allocations: 1.498 MB / 1.04 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007283/1.026, allocations: 183.6 kB / 1.04 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008339/1.034, allocations: 3.235 MB / 1.043 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00163/1.036, allocations: 0.7045 MB / 1.044 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002946/1.039, allocations: 1.071 MB / 1.045 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/1.049, allocations: 3.831 MB / 1.049 GB, free: 7.754 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.049, allocations: 3.938 kB / 1.049 GB, free: 7.75 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.114e-06/1.049, allocations: 0 / 1.049 GB, free: 7.75 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001431/1.05, allocations: 3.938 kB / 1.049 GB, free: 7.746 MB / 0.7637 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.0087/1.058, allocations: 2.475 MB / 1.051 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/1.058, allocations: 12.03 kB / 1.051 GB, free: 5.203 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/1.063, allocations: 0.5244 MB / 1.052 GB, free: 4.676 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/1.066, allocations: 1.271 MB / 1.053 GB, free: 3.348 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/1.066, allocations: 106.6 kB / 1.053 GB, free: 3.242 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005578/1.067, allocations: 136 kB / 1.053 GB, free: 3.109 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004431/1.072, allocations: 1.674 MB / 1.055 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.522e-05/1.072, allocations: 3.906 kB / 1.055 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/1.072, allocations: 56 kB / 1.055 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.541e-05/1.072, allocations: 66.58 kB / 1.055 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003273/1.075, allocations: 1.443 MB / 1.056 GB, free: 15.79 MB / 0.7794 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.01116/1.086, allocations: 6.961 MB / 1.063 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/1.088, allocations: 1.184 MB / 1.064 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009989/1.089, allocations: 0.6161 MB / 1.065 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009948/1.09, allocations: 0.8633 MB / 1.066 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/1.092, allocations: 0.6062 MB / 1.066 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=110): time 4.108e-06/1.092, allocations: 0 / 1.066 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.003392/1.095, allocations: 1.572 MB / 1.068 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/1.095, allocations: 94.05 kB / 1.068 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.097, allocations: 1.185 MB / 1.069 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/1.097, allocations: 49.7 kB / 1.069 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006509/1.098, allocations: 0.675 MB / 1.07 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004622/1.098, allocations: 386.3 kB / 1.07 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003874/1.099, allocations: 178.6 kB / 1.07 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.099, allocations: 345.9 kB / 1.071 GB, free: 340 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008213/1.1, allocations: 430.6 kB / 1.071 GB, free: 15.91 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009265/1.101, allocations: 0.569 MB / 1.072 GB, free: 15.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/1.102, allocations: 1.013 MB / 1.073 GB, free: 14.25 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.103, allocations: 0 / 1.073 GB, free: 14.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002585/1.105, allocations: 1.218 MB / 1.074 GB, free: 13.02 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/1.105, allocations: 4 kB / 1.074 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.105, allocations: 4 kB / 1.074 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/1.105, allocations: 8 kB / 1.074 GB, free: 13.01 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/1.106, allocations: 219.6 kB / 1.074 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.735e-05/1.106, allocations: 16.25 kB / 1.074 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/1.108, allocations: 98.94 kB / 1.074 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/1.108, allocations: 36 kB / 1.074 GB, free: 12.64 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001435/1.11, allocations: 0.7368 MB / 1.075 GB, free: 11.91 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008419/1.11, allocations: 0.5511 MB / 1.076 GB, free: 11.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001646/1.112, allocations: 0.9932 MB / 1.077 GB, free: 10.29 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.366e-06/1.112, allocations: 4 kB / 1.077 GB, free: 10.29 MB / 0.795 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002233/1.114, allocations: 1.191 MB / 1.078 GB, free: 9.086 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.114, allocations: 8 kB / 1.078 GB, free: 9.078 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.114, allocations: 0 / 1.078 GB, free: 9.078 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/1.114, allocations: 8 kB / 1.078 GB, free: 9.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009531/1.115, allocations: 213.6 kB / 1.078 GB, free: 8.863 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/1.115, allocations: 11.88 kB / 1.078 GB, free: 8.852 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/1.117, allocations: 78.09 kB / 1.078 GB, free: 8.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/1.117, allocations: 40 kB / 1.078 GB, free: 8.738 MB / 0.795 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.0003527/1.117, allocations: 238.9 kB / 1.078 GB, free: 8.5 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/1.118, allocations: 146.2 kB / 1.078 GB, free: 8.355 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/1.12, allocations: 1.25 MB / 1.08 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.12, allocations: 15.94 kB / 1.08 GB, free: 7.078 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/1.12, allocations: 0 / 1.08 GB, free: 7.078 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00166/1.122, allocations: 1.007 MB / 1.081 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005567/1.127, allocations: 3.159 MB / 1.084 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.127, allocations: 4 kB / 1.084 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.129, allocations: 231.7 kB / 1.084 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/1.129, allocations: 8.312 kB / 1.084 GB, free: 2.539 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.466e-05/1.129, allocations: 34.12 kB / 1.084 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/1.129, allocations: 4 kB / 1.084 GB, free: 2.504 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.129, allocations: 4 kB / 1.084 GB, free: 2.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/1.132, allocations: 1.995 MB / 1.086 GB, free: 468 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007282/1.133, allocations: 355 kB / 1.086 GB, free: 92 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/1.133, allocations: 28 kB / 1.086 GB, free: 64 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.134, allocations: 39.02 kB / 1.086 GB, free: 28 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/1.134, allocations: 76.95 kB / 1.086 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-05/1.134, allocations: 39.98 kB / 1.086 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001391/1.136, allocations: 0.8216 MB / 1.087 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/1.136, allocations: 0 / 1.087 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002366/1.138, allocations: 0.8454 MB / 1.088 GB, free: 14.24 MB / 0.8106 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.001451/1.14, allocations: 0.5772 MB / 1.089 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002988/1.143, allocations: 1.62 MB / 1.09 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.143, allocations: 0 / 1.09 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009657/1.144, allocations: 0.5677 MB / 1.091 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004194/1.148, allocations: 0.8788 MB / 1.092 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006069/1.154, allocations: 3.28 MB / 1.095 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/1.155, allocations: 1.368 MB / 1.096 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001827/1.157, allocations: 451.6 kB / 1.097 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/1.157, allocations: 111.4 kB / 1.097 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of SimCode: time 2.465e-06/1.157, allocations: 0 / 1.097 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of Templates: time 0.05336/1.211, allocations: 30.03 MB / 1.126 GB, free: 7.887 MB / 0.8419 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)