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.001425/0.001425, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002223/0.002223, allocations: 189.5 kB / 16.25 MB, free: 6.637 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.143/2.143, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.587/1.587, allocations: 251.6 MB / 0.5089 GB, free: 3.312 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.001634/0.001634, allocations: 63.91 kB / 0.6217 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.7831, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.066/1.85, allocations: 233.3 MB / 0.9518 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01918/1.869, allocations: 10.28 MB / 0.9618 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004714/1.874, allocations: 53.06 kB / 0.9619 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004439/1.878, allocations: 1.07 MB / 0.9629 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0128/1.891, allocations: 3.403 MB / 0.9662 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007914/1.899, allocations: 1.97 MB / 0.9682 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01075/1.91, allocations: 4.564 MB / 0.9726 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003826/1.914, allocations: 1.575 MB / 0.9742 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005529/1.919, allocations: 1.672 MB / 0.9758 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004998/1.924, allocations: 1.593 MB / 0.9774 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009632/1.925, allocations: 194.4 kB / 0.9775 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009364/1.935, allocations: 3.38 MB / 0.9808 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001962/1.937, allocations: 0.716 MB / 0.9815 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003551/1.94, allocations: 1.084 MB / 0.9826 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01069/1.951, allocations: 4.083 MB / 0.9866 GB, free: 28 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.951, allocations: 0 / 0.9866 GB, free: 28 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/1.951, allocations: 0 / 0.9866 GB, free: 28 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.914e-05/1.951, allocations: 1.062 kB / 0.9866 GB, free: 28 kB / 0.7169 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.007756/1.959, allocations: 2.511 MB / 0.989 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.959, allocations: 11.81 kB / 0.9891 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003634/1.963, allocations: 0.5237 MB / 0.9896 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/1.965, allocations: 1.222 MB / 0.9908 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-05/1.965, allocations: 103.6 kB / 0.9909 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/1.966, allocations: 134.9 kB / 0.991 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003205/1.969, allocations: 1.692 MB / 0.9926 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/1.969, allocations: 2.688 kB / 0.9926 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/1.969, allocations: 59.16 kB / 0.9927 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.238e-05/1.969, allocations: 73.86 kB / 0.9928 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/1.972, allocations: 1.444 MB / 0.9942 GB, free: 13.11 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.01094/1.983, allocations: 6.982 MB / 1.001 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/1.985, allocations: 1.168 MB / 1.002 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000921/1.986, allocations: 0.6086 MB / 1.003 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008977/1.987, allocations: 0.8586 MB / 1.004 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.988, allocations: 0.6132 MB / 1.004 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 3.346e-06/1.988, allocations: 0 / 1.004 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110): time 0.003395/1.991, allocations: 1.564 MB / 1.006 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/1.991, allocations: 89.14 kB / 1.006 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/1.993, allocations: 1.205 MB / 1.007 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/1.993, allocations: 47.33 kB / 1.007 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007857/1.994, allocations: 0.6819 MB / 1.008 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/1.995, allocations: 380.8 kB / 1.008 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/1.995, allocations: 184.1 kB / 1.008 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.995, allocations: 348.4 kB / 1.009 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007158/1.996, allocations: 421.2 kB / 1.009 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008284/1.997, allocations: 0.5632 MB / 1.009 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/1.998, allocations: 1.002 MB / 1.01 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.998, allocations: 0 / 1.01 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002367/2.001, allocations: 1.214 MB / 1.012 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/2.001, allocations: 5.5 kB / 1.012 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/2.001, allocations: 6.281 kB / 1.012 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/2.001, allocations: 8.344 kB / 1.012 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009225/2.002, allocations: 226.2 kB / 1.012 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/2.002, allocations: 8.281 kB / 1.012 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/2.003, allocations: 167.3 kB / 1.012 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.474e-05/2.004, allocations: 34 kB / 1.012 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00155/2.005, allocations: 0.7361 MB / 1.013 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007839/2.006, allocations: 0.552 MB / 1.013 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001454/2.007, allocations: 0.9893 MB / 1.014 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.776e-06/2.007, allocations: 0 / 1.014 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002188/2.01, allocations: 1.186 MB / 1.015 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/2.01, allocations: 7.938 kB / 1.015 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/2.01, allocations: 4 kB / 1.015 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/2.01, allocations: 8 kB / 1.015 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008785/2.01, allocations: 208.7 kB / 1.016 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/2.011, allocations: 11.94 kB / 1.016 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/2.012, allocations: 147.5 kB / 1.016 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/2.012, allocations: 40 kB / 1.016 GB, free: 12.75 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.0004247/2.013, allocations: 241.5 kB / 1.016 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/2.013, allocations: 154.2 kB / 1.016 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/2.015, allocations: 1.226 MB / 1.017 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/2.015, allocations: 12 kB / 1.017 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/2.015, allocations: 0 / 1.017 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001745/2.017, allocations: 0.9976 MB / 1.018 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005747/2.023, allocations: 3.163 MB / 1.022 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/2.023, allocations: 4 kB / 1.022 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/2.024, allocations: 230.5 kB / 1.022 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/2.024, allocations: 10.44 kB / 1.022 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.452e-05/2.024, allocations: 31.92 kB / 1.022 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/2.024, allocations: 8 kB / 1.022 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.024, allocations: 0 / 1.022 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/2.027, allocations: 1.994 MB / 1.024 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007512/2.028, allocations: 363 kB / 1.024 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/2.028, allocations: 27.94 kB / 1.024 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/2.03, allocations: 123.3 kB / 1.024 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/2.03, allocations: 71.44 kB / 1.024 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.443e-05/2.03, allocations: 39.98 kB / 1.024 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0012/2.031, allocations: 0.8297 MB / 1.025 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/2.031, allocations: 4 kB / 1.025 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002196/2.033, allocations: 0.8493 MB / 1.026 GB, free: 2.25 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 (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.001403/2.035, allocations: 0.5853 MB / 1.027 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003582/2.038, allocations: 1.851 MB / 1.028 GB, free: 56 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/2.038, allocations: 7.938 kB / 1.028 GB, free: 48 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009011/2.039, allocations: 0.5579 MB / 1.029 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/2.043, allocations: 0.8841 MB / 1.03 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006392/2.05, allocations: 3.971 MB / 1.034 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/2.051, allocations: 1.375 MB / 1.035 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002153/2.053, allocations: 451.6 kB / 1.035 GB, free: 8.793 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004419/2.053, allocations: 115.4 kB / 1.036 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of SimCode: time 1.082e-06/2.053, allocations: 0 / 1.036 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of Templates: time 0.051/2.104, allocations: 30.09 MB / 1.065 GB, free: 11.11 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)