Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009778/0.0009819, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001018/0.001018, allocations: 193.8 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.634/1.634, allocations: 251.7 MB / 0.5088 GB, free: 3.32 MB / 414.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.001569/0.001569, allocations: 59.92 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7699, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.047/1.817, allocations: 234 MB / 0.9523 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02302/1.84, allocations: 10.45 MB / 0.9625 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005819/1.846, allocations: 52.91 kB / 0.9625 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005175/1.851, allocations: 1.037 MB / 0.9636 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01433/1.866, allocations: 3.407 MB / 0.9669 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009179/1.875, allocations: 1.942 MB / 0.9688 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01296/1.888, allocations: 6.399 MB / 0.975 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004012/1.892, allocations: 1.362 MB / 0.9764 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005939/1.898, allocations: 1.418 MB / 0.9777 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006429/1.905, allocations: 1.554 MB / 0.9793 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001229/1.906, allocations: 99.09 kB / 0.9794 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01457/1.92, allocations: 3.732 MB / 0.983 GB, free: 472 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002731/1.923, allocations: 0.6308 MB / 0.9836 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004781/1.928, allocations: 0.9938 MB / 0.9846 GB, free: 88 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01453/1.943, allocations: 3.994 MB / 0.9885 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.943, allocations: 0 / 0.9885 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.006e-06/1.943, allocations: 0 / 0.9885 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001251/1.943, allocations: 2.312 kB / 0.9885 GB, free: 15.65 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.01074/1.954, allocations: 2.51 MB / 0.9909 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/1.954, allocations: 7.031 kB / 0.9909 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/1.958, allocations: 0.526 MB / 0.9915 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004347/1.963, allocations: 1.227 MB / 0.9927 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/1.963, allocations: 105.1 kB / 0.9928 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005333/1.963, allocations: 136.9 kB / 0.9929 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004117/1.967, allocations: 1.686 MB / 0.9945 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/1.967, allocations: 5 kB / 0.9945 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/1.968, allocations: 60.83 kB / 0.9946 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/1.968, allocations: 71.86 kB / 0.9947 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003318/1.971, allocations: 1.452 MB / 0.9961 GB, free: 11.97 MB / 0.7325 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.01415/1.985, allocations: 6.968 MB / 1.003 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/1.988, allocations: 1.174 MB / 1.004 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/1.989, allocations: 0.6019 MB / 1.005 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/1.99, allocations: 0.8603 MB / 1.005 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/1.992, allocations: 0.6177 MB / 1.006 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 5.06e-06/1.992, allocations: 0 / 1.006 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110): time 0.003938/1.996, allocations: 1.561 MB / 1.008 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/1.996, allocations: 95.2 kB / 1.008 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/1.998, allocations: 1.206 MB / 1.009 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001942/1.998, allocations: 46.86 kB / 1.009 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000809/1.999, allocations: 0.6818 MB / 1.01 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005755/1.999, allocations: 382.8 kB / 1.01 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/2, allocations: 182.6 kB / 1.01 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001583/2, allocations: 346.4 kB / 1.01 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007717/2.001, allocations: 415.9 kB / 1.011 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009241/2.002, allocations: 0.5675 MB / 1.011 GB, free: 248 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/2.003, allocations: 1.008 MB / 1.012 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/2.003, allocations: 4 kB / 1.012 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002885/2.006, allocations: 1.21 MB / 1.014 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/2.006, allocations: 4 kB / 1.014 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/2.006, allocations: 4.312 kB / 1.014 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/2.006, allocations: 12 kB / 1.014 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/2.007, allocations: 212.6 kB / 1.014 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/2.007, allocations: 10.62 kB / 1.014 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/2.009, allocations: 164 kB / 1.014 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/2.009, allocations: 40.05 kB / 1.014 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001833/2.011, allocations: 0.7401 MB / 1.015 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009612/2.012, allocations: 0.5457 MB / 1.015 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001535/2.014, allocations: 0.9855 MB / 1.016 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/2.014, allocations: 4 kB / 1.016 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002568/2.016, allocations: 1.186 MB / 1.017 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/2.016, allocations: 9.969 kB / 1.017 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/2.016, allocations: 4 kB / 1.017 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/2.016, allocations: 8 kB / 1.017 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009166/2.017, allocations: 208.8 kB / 1.018 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/2.017, allocations: 14.62 kB / 1.018 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/2.019, allocations: 147.2 kB / 1.018 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/2.019, allocations: 39.98 kB / 1.018 GB, free: 9.656 MB / 0.7481 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.0003847/2.02, allocations: 237.5 kB / 1.018 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/2.02, allocations: 158.1 kB / 1.018 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/2.022, allocations: 1.227 MB / 1.019 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/2.022, allocations: 12 kB / 1.019 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/2.022, allocations: 6.609 kB / 1.019 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001702/2.024, allocations: 1.003 MB / 1.02 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006498/2.031, allocations: 3.157 MB / 1.023 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/2.031, allocations: 4.312 kB / 1.023 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/2.032, allocations: 240.6 kB / 1.024 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/2.032, allocations: 4 kB / 1.024 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.372e-05/2.032, allocations: 35.92 kB / 1.024 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/2.032, allocations: 8 kB / 1.024 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/2.032, allocations: 2.531 kB / 1.024 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/2.035, allocations: 1.986 MB / 1.026 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/2.037, allocations: 363 kB / 1.026 GB, free: 1.094 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/2.037, allocations: 31.92 kB / 1.026 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/2.038, allocations: 120.8 kB / 1.026 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/2.038, allocations: 71.42 kB / 1.026 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.371e-05/2.038, allocations: 43.98 kB / 1.026 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001358/2.04, allocations: 0.8297 MB / 1.027 GB, free: 4 kB / 0.7481 GB Notification: Performance of sort global known variables: time 5.52e-07/2.04, allocations: 0 / 1.027 GB, free: 4 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002472/2.042, allocations: 0.8454 MB / 1.028 GB, free: 15.16 MB / 0.7637 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.001579/2.044, allocations: 0.5862 MB / 1.028 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003022/2.047, allocations: 1.598 MB / 1.03 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/2.047, allocations: 0 / 1.03 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009591/2.048, allocations: 0.5669 MB / 1.031 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004291/2.052, allocations: 0.8429 MB / 1.031 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/2.058, allocations: 3.971 MB / 1.035 GB, free: 7.805 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/2.06, allocations: 1.376 MB / 1.037 GB, free: 6.402 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002223/2.062, allocations: 451.6 kB / 1.037 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/2.062, allocations: 115.4 kB / 1.037 GB, free: 5.844 MB / 0.7637 GB Notification: Performance of SimCode: time 1.002e-06/2.062, allocations: 0 / 1.037 GB, free: 5.844 MB / 0.7637 GB Notification: Performance of Templates: time 0.05086/2.113, allocations: 29.03 MB / 1.066 GB, free: 9.297 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)