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.001785/0.001785, allocations: 103.5 kB / 15.98 MB, free: 6.34 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.001929/0.001929, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.55/1.55, allocations: 205.1 MB / 222.8 MB, free: 4.723 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.72/1.72, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001386/0.001386, allocations: 67.34 kB / 0.6716 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2461, allocations: 114.5 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7535/0.9996, allocations: 233 MB / 1.011 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01499/1.015, allocations: 10.15 MB / 1.021 GB, free: 64 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003821/1.018, allocations: 58.19 kB / 1.021 GB, free: 40 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003775/1.022, allocations: 1.06 MB / 1.022 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01124/1.034, allocations: 3.388 MB / 1.025 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006478/1.04, allocations: 1.919 MB / 1.027 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006974/1.047, allocations: 4.421 MB / 1.031 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/1.05, allocations: 1.548 MB / 1.033 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/1.053, allocations: 1.612 MB / 1.035 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003223/1.057, allocations: 1.581 MB / 1.036 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003395/1.057, allocations: 190.7 kB / 1.036 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007209/1.064, allocations: 3.375 MB / 1.04 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009553/1.065, allocations: 0.7057 MB / 1.04 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/1.067, allocations: 1.061 MB / 1.041 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00533/1.072, allocations: 2.861 MB / 1.044 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.072, allocations: 4 kB / 1.044 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.923e-06/1.072, allocations: 0 / 1.044 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.859e-05/1.072, allocations: 3.984 kB / 1.044 GB, free: 3.965 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.005948/1.078, allocations: 2.483 MB / 1.047 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.078, allocations: 11.12 kB / 1.047 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/1.082, allocations: 0.519 MB / 1.047 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/1.084, allocations: 1.222 MB / 1.048 GB, free: 0.9766 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-05/1.084, allocations: 102.7 kB / 1.048 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/1.085, allocations: 140.1 kB / 1.048 GB, free: 0.8828 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/1.088, allocations: 1.669 MB / 1.05 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/1.088, allocations: 7.891 kB / 1.05 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/1.088, allocations: 54.97 kB / 1.05 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.827e-05/1.088, allocations: 65.86 kB / 1.05 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/1.09, allocations: 1.446 MB / 1.052 GB, free: 15.06 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.009344/1.1, allocations: 6.947 MB / 1.058 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/1.101, allocations: 1.186 MB / 1.06 GB, free: 8.027 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000929/1.102, allocations: 0.6122 MB / 1.06 GB, free: 7.418 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009219/1.103, allocations: 0.8633 MB / 1.061 GB, free: 6.371 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/1.104, allocations: 0.614 MB / 1.062 GB, free: 5.746 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=110): time 3.346e-06/1.104, allocations: 0 / 1.062 GB, free: 5.746 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.003172/1.108, allocations: 1.569 MB / 1.063 GB, free: 4.168 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/1.108, allocations: 93.98 kB / 1.063 GB, free: 4.059 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/1.109, allocations: 1.197 MB / 1.064 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.365e-05/1.109, allocations: 45.7 kB / 1.064 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005745/1.11, allocations: 0.6711 MB / 1.065 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003725/1.11, allocations: 386.3 kB / 1.066 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/1.111, allocations: 174.7 kB / 1.066 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.111, allocations: 345.9 kB / 1.066 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007379/1.112, allocations: 432.6 kB / 1.066 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/1.112, allocations: 0.5613 MB / 1.067 GB, free: 196 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/1.114, allocations: 1.017 MB / 1.068 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/1.114, allocations: 0 / 1.068 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002107/1.116, allocations: 1.218 MB / 1.069 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.116, allocations: 4 kB / 1.069 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.116, allocations: 5.5 kB / 1.069 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.116, allocations: 8 kB / 1.069 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009733/1.117, allocations: 215.7 kB / 1.069 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/1.117, allocations: 11.94 kB / 1.069 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.119, allocations: 163 kB / 1.07 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/1.119, allocations: 43.92 kB / 1.07 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001197/1.12, allocations: 0.7338 MB / 1.07 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007729/1.121, allocations: 0.5496 MB / 1.071 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001465/1.122, allocations: 0.9932 MB / 1.072 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.49e-06/1.122, allocations: 7.984 kB / 1.072 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001892/1.124, allocations: 1.187 MB / 1.073 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.124, allocations: 8 kB / 1.073 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/1.124, allocations: 4.312 kB / 1.073 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/1.124, allocations: 8 kB / 1.073 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/1.125, allocations: 215.7 kB / 1.073 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.125, allocations: 7.938 kB / 1.073 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.126, allocations: 151.8 kB / 1.073 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/1.126, allocations: 37.48 kB / 1.073 GB, free: 9.504 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.0003106/1.127, allocations: 239.2 kB / 1.074 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/1.127, allocations: 146.2 kB / 1.074 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/1.129, allocations: 1.239 MB / 1.075 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.129, allocations: 19.94 kB / 1.075 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.129, allocations: 0 / 1.075 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001631/1.131, allocations: 1.007 MB / 1.076 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005088/1.136, allocations: 3.155 MB / 1.079 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/1.136, allocations: 4 kB / 1.079 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.137, allocations: 231.7 kB / 1.079 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/1.137, allocations: 8 kB / 1.079 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/1.137, allocations: 29 kB / 1.079 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/1.137, allocations: 11.92 kB / 1.079 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.137, allocations: 4 kB / 1.079 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/1.14, allocations: 2.004 MB / 1.081 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008053/1.141, allocations: 358.9 kB / 1.082 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/1.142, allocations: 24 kB / 1.082 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.143, allocations: 115.7 kB / 1.082 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.143, allocations: 76.83 kB / 1.082 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/1.143, allocations: 36 kB / 1.082 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00112/1.144, allocations: 0.8216 MB / 1.083 GB, free: 15.77 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/1.144, allocations: 0 / 1.083 GB, free: 15.77 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001979/1.146, allocations: 0.8377 MB / 1.083 GB, free: 14.93 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.001347/1.147, allocations: 0.5765 MB / 1.084 GB, free: 14.52 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003682/1.151, allocations: 1.865 MB / 1.086 GB, free: 12.65 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.151, allocations: 0 / 1.086 GB, free: 12.65 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009035/1.152, allocations: 0.5695 MB / 1.086 GB, free: 12.09 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003636/1.156, allocations: 0.8723 MB / 1.087 GB, free: 11.24 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/1.161, allocations: 4.027 MB / 1.091 GB, free: 7.141 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009721/1.162, allocations: 1.36 MB / 1.093 GB, free: 5.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/1.163, allocations: 127.4 kB / 1.093 GB, free: 5.625 MB / 0.795 GB Notification: Performance of SimCode: time 7.32e-07/1.163, allocations: 0 / 1.093 GB, free: 5.625 MB / 0.795 GB Notification: Performance of Templates: time 0.03893/1.202, allocations: 25.36 MB / 1.117 GB, free: 12.43 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)