Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7278/0.7278, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000977/0.0009771, allocations: 181 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.3 MB / 441.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009107/0.0009107, allocations: 98.17 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 269.2 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.995e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3915, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.849/4.241, allocations: 1.89 GB / 2.655 GB, free: 156.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/4.241, allocations: 87.89 kB / 2.655 GB, free: 156.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.636/7.877, allocations: 1.073 GB / 3.728 GB, free: 94.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.503e-06/7.877, allocations: 0 / 3.728 GB, free: 94.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001326/7.877, allocations: 48.53 kB / 3.728 GB, free: 94.19 MB / 0.7292 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.005841/7.883, allocations: 2.153 MB / 3.73 GB, free: 93.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/7.883, allocations: 8.875 kB / 3.73 GB, free: 93.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/7.887, allocations: 0.5222 MB / 3.731 GB, free: 93.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/7.889, allocations: 1.248 MB / 3.732 GB, free: 92.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/7.889, allocations: 104.7 kB / 3.732 GB, free: 92.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/7.89, allocations: 139.5 kB / 3.732 GB, free: 92.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/7.892, allocations: 1.615 MB / 3.734 GB, free: 92.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/7.892, allocations: 5.781 kB / 3.734 GB, free: 92.67 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/7.892, allocations: 57.8 kB / 3.734 GB, free: 92.67 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/7.893, allocations: 60.77 kB / 3.734 GB, free: 92.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/7.895, allocations: 1.342 MB / 3.735 GB, free: 92.64 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.007917/7.903, allocations: 7.157 MB / 3.742 GB, free: 89.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/7.904, allocations: 1.145 MB / 3.743 GB, free: 88.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007835/7.905, allocations: 0.5878 MB / 3.744 GB, free: 88.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000724/7.906, allocations: 0.8655 MB / 3.745 GB, free: 87.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008345/7.907, allocations: 0.5838 MB / 3.745 GB, free: 87.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 2.995e-06/7.907, allocations: 2.516 kB / 3.745 GB, free: 87.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=110): time 0.002058/7.909, allocations: 1.113 MB / 3.746 GB, free: 87.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/7.909, allocations: 88.55 kB / 3.746 GB, free: 87.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/7.91, allocations: 1.016 MB / 3.747 GB, free: 87.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/7.91, allocations: 53.64 kB / 3.747 GB, free: 87.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/7.911, allocations: 0.6791 MB / 3.748 GB, free: 87.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/7.911, allocations: 380.9 kB / 3.748 GB, free: 87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/7.911, allocations: 17.97 kB / 3.748 GB, free: 87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/7.911, allocations: 351.6 kB / 3.749 GB, free: 86.69 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/7.912, allocations: 389 kB / 3.749 GB, free: 86.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/7.912, allocations: 0.5762 MB / 3.75 GB, free: 86.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006431/7.913, allocations: 478.9 kB / 3.75 GB, free: 86.51 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/7.913, allocations: 3.953 kB / 3.75 GB, free: 86.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00159/7.915, allocations: 1.174 MB / 3.751 GB, free: 86.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002001/7.915, allocations: 0.9837 MB / 3.752 GB, free: 85.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/7.915, allocations: 5.781 kB / 3.752 GB, free: 85.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/7.915, allocations: 8.5 kB / 3.752 GB, free: 85.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009335/7.916, allocations: 219.7 kB / 3.752 GB, free: 85.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/7.916, allocations: 11.22 kB / 3.752 GB, free: 85.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/7.917, allocations: 170.5 kB / 3.753 GB, free: 85.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/7.917, allocations: 43.27 kB / 3.753 GB, free: 85.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/7.917, allocations: 3.594 kB / 3.753 GB, free: 85.33 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001382/7.919, allocations: 1.013 MB / 3.754 GB, free: 85.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/7.919, allocations: 3.469 kB / 3.754 GB, free: 85.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/7.919, allocations: 7.562 kB / 3.754 GB, free: 85.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/7.919, allocations: 210.9 kB / 3.754 GB, free: 85.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/7.92, allocations: 16.45 kB / 3.754 GB, free: 85.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/7.921, allocations: 169.3 kB / 3.754 GB, free: 85.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/7.921, allocations: 39.03 kB / 3.754 GB, free: 85.25 MB / 0.7292 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 () * 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.0002191/7.921, allocations: 162.5 kB / 3.754 GB, free: 85.14 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/7.921, allocations: 147.6 kB / 3.754 GB, free: 85.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/7.923, allocations: 1.205 MB / 3.756 GB, free: 84.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/7.923, allocations: 14.16 kB / 3.756 GB, free: 84.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/7.923, allocations: 0 / 3.756 GB, free: 84.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/7.925, allocations: 0.9798 MB / 3.756 GB, free: 84.89 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/7.929, allocations: 3.137 MB / 3.76 GB, free: 84.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/7.929, allocations: 2.312 kB / 3.76 GB, free: 84.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/7.93, allocations: 241.3 kB / 3.76 GB, free: 84.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/7.93, allocations: 3.969 kB / 3.76 GB, free: 84.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/7.93, allocations: 33.92 kB / 3.76 GB, free: 84.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/7.93, allocations: 8.844 kB / 3.76 GB, free: 84.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/7.93, allocations: 7.156 kB / 3.76 GB, free: 84.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/7.933, allocations: 2.072 MB / 3.762 GB, free: 83.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/7.933, allocations: 370 kB / 3.762 GB, free: 83.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/7.933, allocations: 32.53 kB / 3.762 GB, free: 83.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/7.934, allocations: 116.7 kB / 3.762 GB, free: 83.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/7.935, allocations: 77.3 kB / 3.762 GB, free: 83.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.238e-05/7.935, allocations: 41.59 kB / 3.762 GB, free: 83.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009043/7.936, allocations: 0.7955 MB / 3.763 GB, free: 83.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/7.936, allocations: 0 / 3.763 GB, free: 83.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00252/7.938, allocations: 1.104 MB / 3.764 GB, free: 83.36 MB / 0.7292 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * 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.003954/7.942, allocations: 2.866 MB / 3.767 GB, free: 82.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002258/7.944, allocations: 1.608 MB / 3.769 GB, free: 82.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/7.944, allocations: 0 / 3.769 GB, free: 82.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006476/7.945, allocations: 0.5357 MB / 3.769 GB, free: 82.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/7.949, allocations: 0.812 MB / 3.77 GB, free: 82.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/7.953, allocations: 2.724 MB / 3.773 GB, free: 81.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/7.953, allocations: 1.402 MB / 3.774 GB, free: 80.74 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002158/7.955, allocations: 0.5917 MB / 3.775 GB, free: 80.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/7.956, allocations: 100 kB / 3.775 GB, free: 80.71 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/7.956, allocations: 1.312 kB / 3.775 GB, free: 80.71 MB / 0.7292 GB Notification: Performance of Templates: time 0.07762/8.033, allocations: 65.3 MB / 3.838 GB, free: 51.09 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)