Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6/0.6, allocations: 94.78 MB / 102.2 MB, free: 10.16 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001191/0.001191, allocations: 178 kB / 125.6 MB, free: 11.89 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.817/1.817, allocations: 170.6 MB / 319.4 MB, free: 9.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001762/0.001762, allocations: 113.2 kB / 381.3 MB, free: 18.33 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.813e-05, allocations: 0 / 449.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1967, allocations: 61.52 MB / 0.4987 GB, free: 4.145 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6105/0.8073, allocations: 99.25 MB / 0.5956 GB, free: 2.699 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003889/0.8078, allocations: 79.95 kB / 0.5957 GB, free: 2.621 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05556/0.8634, allocations: 17.61 MB / 0.6129 GB, free: 1.168 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.8635, allocations: 0 / 0.6129 GB, free: 1.168 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001432/0.8636, allocations: 16 kB / 0.6129 GB, free: 1.152 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.003498/0.8672, allocations: 1.04 MB / 0.6139 GB, free: 60 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.016e-05/0.8673, allocations: 12.03 kB / 0.6139 GB, free: 48 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007215/0.868, allocations: 87.02 kB / 0.614 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.8699, allocations: 0.6033 MB / 0.6146 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/0.87, allocations: 12 kB / 0.6146 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.8702, allocations: 32 kB / 0.6146 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001087/0.8713, allocations: 374.6 kB / 0.615 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.8725, allocations: 0.4926 MB / 0.6155 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.8726, allocations: 0 / 0.6155 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.961e-05/0.8727, allocations: 0 / 0.6155 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.8727, allocations: 12 kB / 0.6155 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/0.877, allocations: 1.557 MB / 0.617 GB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.8784, allocations: 0.4979 MB / 0.6175 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.8788, allocations: 183.2 kB / 0.6177 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002375/0.8812, allocations: 1.996 MB / 0.6196 GB, free: 9.633 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006336/0.8818, allocations: 251.2 kB / 0.6198 GB, free: 9.375 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 5.17e-06/0.8819, allocations: 0 / 0.6198 GB, free: 9.375 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.001612/0.8835, allocations: 464.6 kB / 0.6203 GB, free: 8.914 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/0.8837, allocations: 209.6 kB / 0.6205 GB, free: 8.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008423/0.8845, allocations: 418.4 kB / 0.6209 GB, free: 8.246 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.984e-05/0.8846, allocations: 29.7 kB / 0.6209 GB, free: 8.211 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.885, allocations: 316.9 kB / 0.6212 GB, free: 7.895 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.8852, allocations: 138 kB / 0.6213 GB, free: 7.758 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.8853, allocations: 0 / 0.6213 GB, free: 7.758 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002826/0.8856, allocations: 366.8 kB / 0.6217 GB, free: 7.391 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.8859, allocations: 148.9 kB / 0.6218 GB, free: 7.246 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004846/0.8864, allocations: 217.9 kB / 0.622 GB, free: 7.012 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/0.8871, allocations: 204.7 kB / 0.6222 GB, free: 6.812 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.8872, allocations: 0 / 0.6222 GB, free: 6.812 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001296/0.8885, allocations: 0.4913 MB / 0.6227 GB, free: 6.316 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.618e-05/0.8886, allocations: 64.14 kB / 0.6228 GB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.8886, allocations: 8 kB / 0.6228 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.8886, allocations: 0 / 0.6228 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.8892, allocations: 123.8 kB / 0.6229 GB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/0.8893, allocations: 5.719 kB / 0.6229 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/0.8899, allocations: 95.64 kB / 0.623 GB, free: 6.016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.696e-05/0.89, allocations: 12 kB / 0.623 GB, free: 6.004 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($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 (49): * Single equations (assignments): 47 * 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.0002127/0.8902, allocations: 112.9 kB / 0.6231 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.8904, allocations: 64.05 kB / 0.6232 GB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.8917, allocations: 0.4883 MB / 0.6237 GB, free: 5.332 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.8917, allocations: 8 kB / 0.6237 GB, free: 5.324 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.8917, allocations: 0 / 0.6237 GB, free: 5.324 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.8918, allocations: 3.984 kB / 0.6237 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009195/0.8927, allocations: 0.599 MB / 0.6243 GB, free: 4.684 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.8927, allocations: 0 / 0.6243 GB, free: 4.684 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.8933, allocations: 119.8 kB / 0.6244 GB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.8933, allocations: 0 / 0.6244 GB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/0.8934, allocations: 9.594 kB / 0.6244 GB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.8934, allocations: 3.953 kB / 0.6244 GB, free: 4.555 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.8934, allocations: 0 / 0.6244 GB, free: 4.555 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.895, allocations: 0.7183 MB / 0.6251 GB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.8954, allocations: 200.2 kB / 0.6253 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.8955, allocations: 4 kB / 0.6253 GB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005544/0.896, allocations: 71.92 kB / 0.6254 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.8962, allocations: 55.84 kB / 0.6254 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.8963, allocations: 15.92 kB / 0.6254 GB, free: 3.457 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004878/0.8967, allocations: 327 kB / 0.6257 GB, free: 3.141 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8968, allocations: 4 kB / 0.6257 GB, free: 3.137 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006044/0.8974, allocations: 139.5 kB / 0.6259 GB, free: 3 MB / 442.7 MB 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: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (TRoo.count,m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * 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.0003677/0.8977, allocations: 139 kB / 0.626 GB, free: 2.855 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009841/0.8987, allocations: 476.4 kB / 0.6265 GB, free: 2.363 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.8988, allocations: 0 / 0.6265 GB, free: 2.363 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.8991, allocations: 195.9 kB / 0.6266 GB, free: 2.172 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000827/0.9, allocations: 120.1 kB / 0.6268 GB, free: 2.059 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.9023, allocations: 0.773 MB / 0.6275 GB, free: 1.258 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000706/0.903, allocations: 0.9016 MB / 0.6284 GB, free: 336 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004242/0.9034, allocations: 65.45 kB / 0.6285 GB, free: 272 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.9036, allocations: 35.44 kB / 0.6285 GB, free: 236 kB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.9036, allocations: 0 / 0.6285 GB, free: 236 kB / 442.7 MB Notification: Performance of Templates: time 0.01736/0.921, allocations: 6.664 MB / 0.635 GB, free: 9.738 MB / 458.7 MB make -j1 -f Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)