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.001048/0.001048, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007969/0.007969, allocations: 172.1 kB / 16.26 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.481/1.481, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.71/1.71, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005075/0.0005075, allocations: 11.81 kB / 0.6743 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2486, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7917/1.04, allocations: 230.5 MB / 1.013 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01678/1.057, allocations: 10.21 MB / 1.023 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004333/1.062, allocations: 47.62 kB / 1.023 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004523/1.066, allocations: 1.025 MB / 1.024 GB, free: 264 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01283/1.079, allocations: 3.391 MB / 1.027 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006334/1.085, allocations: 1.905 MB / 1.029 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008613/1.094, allocations: 6.24 MB / 1.035 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/1.097, allocations: 1.299 MB / 1.036 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/1.1, allocations: 1.327 MB / 1.038 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003736/1.104, allocations: 1.481 MB / 1.039 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000458/1.105, allocations: 81.02 kB / 1.039 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007966/1.113, allocations: 3.71 MB / 1.043 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001184/1.114, allocations: 0.5912 MB / 1.044 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001608/1.116, allocations: 0.9503 MB / 1.044 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007928/1.123, allocations: 3.903 MB / 1.048 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.124, allocations: 0 / 1.048 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.284e-06/1.124, allocations: 0 / 1.048 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.857e-05/1.124, allocations: 2.688 kB / 1.048 GB, free: 0.9961 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.005648/1.129, allocations: 2.12 MB / 1.05 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.129, allocations: 11.97 kB / 1.05 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/1.133, allocations: 0.5245 MB / 1.051 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/1.135, allocations: 1.213 MB / 1.052 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/1.135, allocations: 102.6 kB / 1.052 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/1.136, allocations: 151.9 kB / 1.052 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/1.139, allocations: 1.67 MB / 1.054 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/1.139, allocations: 3.938 kB / 1.054 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/1.139, allocations: 52 kB / 1.054 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.823e-05/1.139, allocations: 74.56 kB / 1.054 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/1.142, allocations: 1.451 MB / 1.055 GB, free: 9.879 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.009296/1.151, allocations: 6.961 MB / 1.062 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/1.153, allocations: 1.188 MB / 1.063 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009425/1.154, allocations: 0.6161 MB / 1.064 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009729/1.155, allocations: 0.8671 MB / 1.065 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/1.156, allocations: 0.6103 MB / 1.065 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=110): time 4.028e-06/1.156, allocations: 4 kB / 1.065 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.003349/1.159, allocations: 1.588 MB / 1.067 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/1.159, allocations: 94.05 kB / 1.067 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/1.161, allocations: 1.181 MB / 1.068 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/1.161, allocations: 49.7 kB / 1.068 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/1.162, allocations: 0.6789 MB / 1.069 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/1.162, allocations: 394.3 kB / 1.069 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/1.162, allocations: 85.67 kB / 1.069 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.163, allocations: 345.9 kB / 1.07 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007584/1.163, allocations: 421.8 kB / 1.07 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000907/1.164, allocations: 0.5729 MB / 1.071 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/1.166, allocations: 1.017 MB / 1.072 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/1.166, allocations: 0 / 1.072 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002358/1.168, allocations: 1.226 MB / 1.073 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.168, allocations: 171.3 kB / 1.073 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.168, allocations: 4 kB / 1.073 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.169, allocations: 8 kB / 1.073 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/1.17, allocations: 211.7 kB / 1.073 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/1.17, allocations: 16.64 kB / 1.073 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.171, allocations: 171.5 kB / 1.073 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/1.171, allocations: 39.98 kB / 1.073 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.171, allocations: 6.812 kB / 1.073 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001823/1.173, allocations: 1.039 MB / 1.075 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.173, allocations: 8.031 kB / 1.075 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/1.173, allocations: 4 kB / 1.075 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008798/1.174, allocations: 211.8 kB / 1.075 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/1.174, allocations: 12 kB / 1.075 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/1.175, allocations: 158.2 kB / 1.075 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/1.176, allocations: 39.98 kB / 1.075 GB, free: 5.062 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.0008613/1.176, allocations: 492.6 kB / 1.075 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/1.177, allocations: 154.2 kB / 1.076 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/1.179, allocations: 1.247 MB / 1.077 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/1.179, allocations: 12 kB / 1.077 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.179, allocations: 0 / 1.077 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001858/1.181, allocations: 1.022 MB / 1.078 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006273/1.188, allocations: 3.17 MB / 1.081 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/1.188, allocations: 320 / 1.081 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/1.189, allocations: 235.7 kB / 1.081 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.333e-05/1.189, allocations: 8 kB / 1.081 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/1.189, allocations: 31.98 kB / 1.081 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/1.189, allocations: 4 kB / 1.081 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/1.189, allocations: 7.938 kB / 1.081 GB, free: 14.53 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/1.192, allocations: 2.004 MB / 1.083 GB, free: 12.47 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009784/1.193, allocations: 363 kB / 1.083 GB, free: 12.1 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/1.194, allocations: 24 kB / 1.083 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.195, allocations: 115.7 kB / 1.084 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/1.196, allocations: 76.84 kB / 1.084 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.196, allocations: 39.98 kB / 1.084 GB, free: 11.85 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001628/1.197, allocations: 0.8216 MB / 1.084 GB, free: 11.02 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.647e-06/1.197, allocations: 96 / 1.084 GB, free: 11.02 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002929/1.2, allocations: 0.8376 MB / 1.085 GB, free: 10.18 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.001602/1.202, allocations: 0.5724 MB / 1.086 GB, free: 9.77 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003148/1.205, allocations: 1.623 MB / 1.087 GB, free: 8.148 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.205, allocations: 4 kB / 1.087 GB, free: 8.145 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.206, allocations: 0.5716 MB / 1.088 GB, free: 7.574 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005493/1.212, allocations: 0.8311 MB / 1.089 GB, free: 6.754 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007116/1.219, allocations: 4.103 MB / 1.093 GB, free: 2.586 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/1.22, allocations: 1.372 MB / 1.094 GB, free: 1.18 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002206/1.222, allocations: 447.6 kB / 1.095 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/1.223, allocations: 111.4 kB / 1.095 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of SimCode: time 6.71e-07/1.223, allocations: 0 / 1.095 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of Templates: time 0.05139/1.274, allocations: 28.6 MB / 1.123 GB, free: 4.402 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: