Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.573/1.573, allocations: 285.4 MB / 298 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 180.8 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 0.6248 GB, free: 7.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009228/0.0009229, allocations: 95.17 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.43e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7093/0.7094, allocations: 115.3 MB / 0.9709 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.9047, allocations: 142.5 MB / 1.11 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.9051, allocations: 77.22 kB / 1.11 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03412/0.9392, allocations: 12.37 MB / 1.122 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9393, allocations: 0 / 1.122 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.851e-05/0.9393, allocations: 19.98 kB / 1.122 GB, free: 13.04 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002473/0.9418, allocations: 1.041 MB / 1.123 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.9419, allocations: 12.03 kB / 1.123 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/0.9422, allocations: 97.81 kB / 1.123 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009124/0.9432, allocations: 0.5103 MB / 1.124 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/0.9432, allocations: 61.98 kB / 1.124 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.9434, allocations: 72 kB / 1.124 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.9449, allocations: 0.7137 MB / 1.125 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.9449, allocations: 3.938 kB / 1.125 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/0.945, allocations: 31.98 kB / 1.125 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.945, allocations: 16 kB / 1.125 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.946, allocations: 0.5039 MB / 1.125 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.9501, allocations: 2.433 MB / 1.128 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.9513, allocations: 0.5766 MB / 1.128 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.9518, allocations: 258.2 kB / 1.128 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.9518, allocations: 8.438 kB / 1.128 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000621/0.9524, allocations: 316.3 kB / 1.129 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 3.687e-06/0.9525, allocations: 0 / 1.129 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.0009104/0.9534, allocations: 498.2 kB / 1.129 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.9535, allocations: 141.1 kB / 1.129 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/0.9543, allocations: 0.5661 MB / 1.13 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.978e-05/0.9544, allocations: 41.7 kB / 1.13 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.9547, allocations: 360.7 kB / 1.13 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.9549, allocations: 173.4 kB / 1.13 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.9549, allocations: 12 kB / 1.13 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.9551, allocations: 382.8 kB / 1.131 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.9555, allocations: 182.7 kB / 1.131 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.9559, allocations: 291.5 kB / 1.131 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.9563, allocations: 246.7 kB / 1.131 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.9564, allocations: 4 kB / 1.131 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009862/0.9573, allocations: 0.6186 MB / 1.132 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.9576, allocations: 421.7 kB / 1.132 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.9576, allocations: 0 / 1.132 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.9576, allocations: 4 kB / 1.132 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.9583, allocations: 159.8 kB / 1.133 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.9583, allocations: 15.83 kB / 1.133 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006565/0.959, allocations: 135.4 kB / 1.133 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.9591, allocations: 23.98 kB / 1.133 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.9591, allocations: 4 kB / 1.133 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008841/0.96, allocations: 0.5203 MB / 1.133 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.96, allocations: 0 / 1.133 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.96, allocations: 4 kB / 1.133 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/0.9606, allocations: 127.8 kB / 1.133 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.9606, allocations: 10.16 kB / 1.133 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/0.9612, allocations: 117.1 kB / 1.134 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.9612, allocations: 24 kB / 1.134 GB, free: 1.004 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * 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.0001755/0.9614, allocations: 136.9 kB / 1.134 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.9615, allocations: 79 kB / 1.134 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.9626, allocations: 0.5221 MB / 1.134 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.9626, allocations: 8 kB / 1.134 GB, free: 244 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9626, allocations: 0 / 1.134 GB, free: 244 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.9626, allocations: 3.984 kB / 1.134 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.9646, allocations: 1.332 MB / 1.136 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9646, allocations: 0 / 1.136 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/0.9652, allocations: 147.8 kB / 1.136 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.9652, allocations: 0 / 1.136 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.9653, allocations: 15.98 kB / 1.136 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.9653, allocations: 4 kB / 1.136 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9653, allocations: 1.75 kB / 1.136 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.9666, allocations: 0.8653 MB / 1.137 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.9668, allocations: 168.1 kB / 1.137 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.9669, allocations: 12 kB / 1.137 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/0.9675, allocations: 91.92 kB / 1.137 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.9676, allocations: 52.47 kB / 1.137 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.9677, allocations: 16 kB / 1.137 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006283/0.9683, allocations: 455.2 kB / 1.137 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9683, allocations: 0 / 1.137 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007718/0.9691, allocations: 259.1 kB / 1.138 GB, free: 12.75 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002249/0.9693, allocations: 127.9 kB / 1.138 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.9708, allocations: 0.9459 MB / 1.139 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.9709, allocations: 4 kB / 1.139 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.9713, allocations: 247.2 kB / 1.139 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.9719, allocations: 118.6 kB / 1.139 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.9739, allocations: 0.8933 MB / 1.14 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.9744, allocations: 0.9402 MB / 1.141 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000562/0.975, allocations: 111.6 kB / 1.141 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.9751, allocations: 51.42 kB / 1.141 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.9751, allocations: 0 / 1.141 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of Templates: time 0.01591/0.9911, allocations: 8.37 MB / 1.149 GB, free: 1.008 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)