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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 179.7 kB / 327.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.4 MB / 0.5785 GB, free: 20.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007564/0.0007564, allocations: 83.98 kB / 0.6831 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003931, allocations: 13.72 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2198, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.74/4.959, allocations: 2.203 GB / 3.104 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/4.96, allocations: 95.89 kB / 3.104 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.333/8.293, allocations: 1.028 GB / 4.132 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.663e-06/8.293, allocations: 4 kB / 4.132 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002276/8.293, allocations: 43.98 kB / 4.132 GB, free: 12.83 MB / 0.9011 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.008313/8.302, allocations: 2.43 MB / 4.135 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/8.302, allocations: 8.031 kB / 4.135 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/8.306, allocations: 0.5198 MB / 4.135 GB, free: 9.82 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/8.309, allocations: 1.322 MB / 4.137 GB, free: 8.441 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/8.309, allocations: 110.7 kB / 4.137 GB, free: 8.332 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000425/8.309, allocations: 136 kB / 4.137 GB, free: 8.199 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003611/8.313, allocations: 1.692 MB / 4.139 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.56e-05/8.313, allocations: 0 / 4.139 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/8.313, allocations: 60 kB / 4.139 GB, free: 6.371 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.471e-05/8.313, allocations: 54.61 kB / 4.139 GB, free: 6.316 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/8.316, allocations: 1.423 MB / 4.14 GB, free: 4.887 MB / 0.9011 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.4752/8.791, allocations: 7.194 MB / 4.147 GB, free: 129.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/8.793, allocations: 1.174 MB / 4.148 GB, free: 129.3 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008239/8.794, allocations: 0.5992 MB / 4.149 GB, free: 129.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006696/8.795, allocations: 0.8701 MB / 4.15 GB, free: 128.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/8.796, allocations: 0.6138 MB / 4.15 GB, free: 128.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 3.727e-06/8.796, allocations: 0 / 4.15 GB, free: 128.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.002913/8.799, allocations: 1.565 MB / 4.152 GB, free: 128.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/8.799, allocations: 91.14 kB / 4.152 GB, free: 128.2 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/8.8, allocations: 1.194 MB / 4.153 GB, free: 128 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.684e-05/8.8, allocations: 47.58 kB / 4.153 GB, free: 128 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005951/8.801, allocations: 0.6878 MB / 4.154 GB, free: 127.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/8.801, allocations: 385 kB / 4.154 GB, free: 127.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/8.801, allocations: 20.09 kB / 4.154 GB, free: 127.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.548e-05/8.801, allocations: 346.9 kB / 4.154 GB, free: 127.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/8.802, allocations: 417.6 kB / 4.155 GB, free: 127.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000944/8.803, allocations: 0.5925 MB / 4.155 GB, free: 127.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/8.805, allocations: 1.007 MB / 4.156 GB, free: 127.1 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/8.805, allocations: 1.062 kB / 4.156 GB, free: 127.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002398/8.807, allocations: 1.208 MB / 4.158 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.468e-05/8.807, allocations: 171.9 kB / 4.158 GB, free: 126.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/8.807, allocations: 3.5 kB / 4.158 GB, free: 126.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/8.808, allocations: 7.766 kB / 4.158 GB, free: 126.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/8.809, allocations: 221.8 kB / 4.158 GB, free: 126.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/8.809, allocations: 7.969 kB / 4.158 GB, free: 126.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/8.81, allocations: 182.1 kB / 4.158 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/8.81, allocations: 38.52 kB / 4.158 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/8.81, allocations: 3.719 kB / 4.158 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001849/8.812, allocations: 1.03 MB / 4.159 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/8.812, allocations: 4.391 kB / 4.159 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/8.812, allocations: 9.406 kB / 4.159 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009095/8.813, allocations: 214 kB / 4.159 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/8.813, allocations: 6.719 kB / 4.159 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/8.814, allocations: 174.5 kB / 4.16 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/8.815, allocations: 39.98 kB / 4.16 GB, free: 126.7 MB / 0.9011 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.001004/8.816, allocations: 498.9 kB / 4.16 GB, free: 126.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/8.816, allocations: 149.8 kB / 4.16 GB, free: 126.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/8.819, allocations: 1.243 MB / 4.161 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/8.819, allocations: 10.19 kB / 4.161 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/8.819, allocations: 5.031 kB / 4.161 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001751/8.82, allocations: 1.016 MB / 4.162 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005542/8.826, allocations: 3.186 MB / 4.166 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/8.826, allocations: 5.906 kB / 4.166 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/8.827, allocations: 241 kB / 4.166 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.401e-05/8.827, allocations: 7.719 kB / 4.166 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.613e-05/8.827, allocations: 28.12 kB / 4.166 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.772e-05/8.827, allocations: 10.17 kB / 4.166 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/8.827, allocations: 6.469 kB / 4.166 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003003/8.83, allocations: 2.004 MB / 4.168 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008067/8.831, allocations: 382.7 kB / 4.168 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/8.831, allocations: 28.56 kB / 4.168 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/8.833, allocations: 118 kB / 4.168 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/8.833, allocations: 78.77 kB / 4.168 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.332e-05/8.833, allocations: 34.58 kB / 4.168 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001196/8.834, allocations: 0.823 MB / 4.169 GB, free: 125 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.11e-07/8.834, allocations: 2.281 kB / 4.169 GB, free: 125 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003231/8.837, allocations: 1.12 MB / 4.17 GB, free: 125 MB / 0.9011 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 (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.004321/8.842, allocations: 2.933 MB / 4.173 GB, free: 124 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002609/8.844, allocations: 1.598 MB / 4.175 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/8.844, allocations: 7.156 kB / 4.175 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007763/8.845, allocations: 0.5549 MB / 4.175 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004076/8.849, allocations: 0.8152 MB / 4.176 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005634/8.855, allocations: 4.045 MB / 4.18 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/8.856, allocations: 1.376 MB / 4.181 GB, free: 121.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001972/8.858, allocations: 458.7 kB / 4.182 GB, free: 121.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/8.859, allocations: 118.6 kB / 4.182 GB, free: 121.5 MB / 0.9011 GB Notification: Performance of SimCode: time 3.51e-07/8.859, allocations: 0 / 4.182 GB, free: 121.5 MB / 0.9011 GB Notification: Performance of Templates: time 0.07654/8.935, allocations: 57.46 MB / 4.238 GB, free: 120.1 MB / 0.9011 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)