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.0009194/0.000919, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009135/0.0009136, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.598/1.598, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0004849/0.000485, allocations: 17.5 kB / 0.6735 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2059, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5448/0.7508, allocations: 193.5 MB / 0.9761 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.7649, allocations: 10.14 MB / 0.986 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002686/0.7676, allocations: 47.78 kB / 0.986 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003694/0.7713, allocations: 1.06 MB / 0.9871 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009026/0.7804, allocations: 2.893 MB / 0.9899 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004772/0.7852, allocations: 1.59 MB / 0.9914 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004762/0.79, allocations: 2.52 MB / 0.9939 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.7921, allocations: 1.189 MB / 0.9951 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.795, allocations: 1.253 MB / 0.9963 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.7969, allocations: 0.9292 MB / 0.9972 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005207/0.7975, allocations: 76.97 kB / 0.9973 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004458/0.8019, allocations: 1.357 MB / 0.9986 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009982/0.803, allocations: 0.5305 MB / 0.9991 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.8041, allocations: 403 kB / 0.9995 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003701/0.8078, allocations: 2.373 MB / 1.002 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.8078, allocations: 3.938 kB / 1.002 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8079, allocations: 0 / 1.002 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001095/0.808, allocations: 0 / 1.002 GB, free: 16.05 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005622/0.8136, allocations: 2.087 MB / 1.004 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.8136, allocations: 7.688 kB / 1.004 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003878/0.8175, allocations: 0.5263 MB / 1.004 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/0.8204, allocations: 1.172 MB / 1.006 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.8205, allocations: 108.7 kB / 1.006 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003381/0.8209, allocations: 135 kB / 1.006 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/0.8238, allocations: 1.655 MB / 1.007 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.8239, allocations: 0 / 1.007 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.824, allocations: 55.59 kB / 1.007 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.207e-05/0.8241, allocations: 72.25 kB / 1.007 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.8267, allocations: 1.445 MB / 1.009 GB, free: 13.1 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.009088/0.8358, allocations: 6.959 MB / 1.016 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.8375, allocations: 1.197 MB / 1.017 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006641/0.8382, allocations: 0.6905 MB / 1.018 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009802/0.8392, allocations: 0.6034 MB / 1.018 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 3.928e-06/0.8392, allocations: 0 / 1.018 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110): time 0.003041/0.8423, allocations: 1.577 MB / 1.02 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.8424, allocations: 89.11 kB / 1.02 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.8439, allocations: 1.18 MB / 1.021 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.844, allocations: 56.14 kB / 1.021 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005621/0.8446, allocations: 0.6767 MB / 1.022 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/0.8449, allocations: 379.9 kB / 1.022 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.845, allocations: 18.78 kB / 1.022 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8452, allocations: 345.2 kB / 1.022 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007198/0.8459, allocations: 416.3 kB / 1.023 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000784/0.8467, allocations: 0.5617 MB / 1.023 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007889/0.8475, allocations: 0.4891 MB / 1.024 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8475, allocations: 0 / 1.024 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002103/0.8496, allocations: 1.214 MB / 1.025 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003982/0.85, allocations: 0.9841 MB / 1.026 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.85, allocations: 2.688 kB / 1.026 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.8501, allocations: 12.11 kB / 1.026 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009343/0.851, allocations: 214.6 kB / 1.026 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/0.851, allocations: 12.89 kB / 1.026 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.8526, allocations: 174.2 kB / 1.026 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.8527, allocations: 32.75 kB / 1.026 GB, free: 228 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.8527, allocations: 10.09 kB / 1.026 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001654/0.8543, allocations: 1.03 MB / 1.027 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.8544, allocations: 6.781 kB / 1.027 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.8544, allocations: 5.719 kB / 1.027 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/0.8552, allocations: 212.3 kB / 1.028 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.8553, allocations: 9.75 kB / 1.028 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.8568, allocations: 165.6 kB / 1.028 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.8569, allocations: 37.56 kB / 1.028 GB, free: 15.58 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 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008269/0.8577, allocations: 493.2 kB / 1.028 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.858, allocations: 145.7 kB / 1.028 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.8602, allocations: 1.245 MB / 1.03 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.8602, allocations: 15.98 kB / 1.03 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.8602, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001627/0.8618, allocations: 1.009 MB / 1.031 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00535/0.8672, allocations: 3.157 MB / 1.034 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.8672, allocations: 0 / 1.034 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.8684, allocations: 242.4 kB / 1.034 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.8684, allocations: 11.95 kB / 1.034 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.997e-05/0.8685, allocations: 33.23 kB / 1.034 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.8685, allocations: 10.53 kB / 1.034 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.8685, allocations: 0 / 1.034 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.8717, allocations: 2.136 MB / 1.036 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008934/0.8726, allocations: 355 kB / 1.036 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.8728, allocations: 24 kB / 1.036 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.8739, allocations: 115.8 kB / 1.037 GB, free: 7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.8741, allocations: 79.38 kB / 1.037 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-05/0.8742, allocations: 39.98 kB / 1.037 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001094/0.8753, allocations: 0.8098 MB / 1.037 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8753, allocations: 0 / 1.037 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001951/0.8773, allocations: 0.8415 MB / 1.038 GB, free: 5.227 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.8786, allocations: 0.5877 MB / 1.039 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002766/0.8813, allocations: 1.609 MB / 1.04 GB, free: 3.242 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.8814, allocations: 0 / 1.04 GB, free: 3.242 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009477/0.8823, allocations: 0.5763 MB / 1.041 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004132/0.8865, allocations: 0.811 MB / 1.042 GB, free: 1.891 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006231/0.8927, allocations: 3.983 MB / 1.046 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.8941, allocations: 1.395 MB / 1.047 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002155/0.8962, allocations: 463.6 kB / 1.047 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/0.8968, allocations: 107.4 kB / 1.048 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of SimCode: time 1.322e-06/0.8968, allocations: 0 / 1.048 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of Templates: time 0.04822/0.945, allocations: 27.75 MB / 1.075 GB, free: 0.543 MB / 0.7794 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: