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.5502/0.5502, allocations: 94.7 MB / 107.3 MB, free: 5.176 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.001255/0.001255, allocations: 175.3 kB / 130.7 MB, free: 7.539 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.744/1.744, allocations: 170.5 MB / 324.5 MB, free: 3.992 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.001808/0.001808, allocations: 117.8 kB / 386.6 MB, free: 16.22 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.531e-05/5.534e-05, allocations: 7.938 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.603/0.603, allocations: 61.51 MB / 0.5054 GB, free: 49.38 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.7818, allocations: 99.91 MB / 0.603 GB, free: 11.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004209/0.7823, allocations: 87.94 kB / 0.603 GB, free: 11.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05104/0.8334, allocations: 17.74 MB / 0.6204 GB, free: 9.969 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.8335, allocations: 0 / 0.6204 GB, free: 9.969 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.045e-05/0.8335, allocations: 19.94 kB / 0.6204 GB, free: 9.949 MB / 442.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.002214/0.8358, allocations: 1.042 MB / 0.6214 GB, free: 8.852 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.8358, allocations: 8.031 kB / 0.6214 GB, free: 8.844 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.8361, allocations: 86.97 kB / 0.6215 GB, free: 8.758 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.8372, allocations: 0.6049 MB / 0.6221 GB, free: 8.113 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.8373, allocations: 33 kB / 0.6221 GB, free: 8.082 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.69e-05/0.8374, allocations: 51.98 kB / 0.6222 GB, free: 8.031 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.8385, allocations: 0.5531 MB / 0.6227 GB, free: 7.449 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.8385, allocations: 3.984 kB / 0.6227 GB, free: 7.445 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.463e-05/0.8386, allocations: 27.95 kB / 0.6227 GB, free: 7.418 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.8386, allocations: 12 kB / 0.6227 GB, free: 7.406 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/0.8393, allocations: 388.9 kB / 0.6231 GB, free: 7.027 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.8424, allocations: 1.663 MB / 0.6247 GB, free: 5.305 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.8435, allocations: 0.5209 MB / 0.6252 GB, free: 4.773 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.8439, allocations: 187.7 kB / 0.6254 GB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001858/0.8457, allocations: 2 MB / 0.6274 GB, free: 2.129 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005995/0.8464, allocations: 263.2 kB / 0.6276 GB, free: 1.859 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 4.398e-06/0.8464, allocations: 0 / 0.6276 GB, free: 1.859 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009418/0.8473, allocations: 436.6 kB / 0.628 GB, free: 1.426 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001839/0.8475, allocations: 227.9 kB / 0.6283 GB, free: 1.156 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/0.8482, allocations: 0.4918 MB / 0.6287 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.8483, allocations: 37.7 kB / 0.6288 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.8486, allocations: 313.4 kB / 0.6291 GB, free: 312 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.8488, allocations: 149.9 kB / 0.6292 GB, free: 160 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.8488, allocations: 8 kB / 0.6292 GB, free: 152 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.8491, allocations: 374.8 kB / 0.6296 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.8494, allocations: 152.9 kB / 0.6297 GB, free: 15.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.8498, allocations: 238.8 kB / 0.63 GB, free: 15.37 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.8502, allocations: 221 kB / 0.6302 GB, free: 15.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8502, allocations: 0 / 0.6302 GB, free: 15.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008842/0.8511, allocations: 0.526 MB / 0.6307 GB, free: 14.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.8511, allocations: 55.41 kB / 0.6307 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.8512, allocations: 8 kB / 0.6307 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.8512, allocations: 0 / 0.6307 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/0.8518, allocations: 127.2 kB / 0.6309 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.8518, allocations: 4 kB / 0.6309 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/0.8524, allocations: 111.5 kB / 0.631 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.8524, allocations: 12 kB / 0.631 GB, free: 14.28 MB / 458.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.0001756/0.8526, allocations: 136.2 kB / 0.6311 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.8527, allocations: 75.09 kB / 0.6312 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009288/0.8537, allocations: 476.5 kB / 0.6316 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.8537, allocations: 11.98 kB / 0.6317 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.8537, allocations: 0 / 0.6317 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.8537, allocations: 5.578 kB / 0.6317 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008549/0.8546, allocations: 0.6765 MB / 0.6323 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8546, allocations: 0 / 0.6323 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.8552, allocations: 123.8 kB / 0.6324 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.8552, allocations: 3.953 kB / 0.6324 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.8553, allocations: 8 kB / 0.6324 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.8553, allocations: 0 / 0.6324 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.8553, allocations: 0 / 0.6324 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.8565, allocations: 0.7101 MB / 0.6331 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/0.8568, allocations: 208.2 kB / 0.6333 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/0.8569, allocations: 19.94 kB / 0.6334 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.8574, allocations: 86.86 kB / 0.6334 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.8576, allocations: 39.94 kB / 0.6335 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.8576, allocations: 11.98 kB / 0.6335 GB, free: 11.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005178/0.8581, allocations: 407.2 kB / 0.6339 GB, free: 11.22 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8581, allocations: 0 / 0.6339 GB, free: 11.22 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005403/0.8587, allocations: 151.5 kB / 0.634 GB, free: 11.07 MB / 458.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.0003117/0.859, allocations: 149.5 kB / 0.6342 GB, free: 10.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008297/0.8598, allocations: 0.4898 MB / 0.6346 GB, free: 10.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8598, allocations: 4 kB / 0.6346 GB, free: 10.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.8602, allocations: 203.9 kB / 0.6348 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007149/0.8609, allocations: 129.4 kB / 0.635 GB, free: 10.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.8626, allocations: 0.7742 MB / 0.6357 GB, free: 9.277 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.8631, allocations: 0.9058 MB / 0.6366 GB, free: 8.344 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000309/0.8635, allocations: 64.91 kB / 0.6367 GB, free: 8.285 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.8636, allocations: 47.42 kB / 0.6367 GB, free: 8.238 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.8636, allocations: 0 / 0.6367 GB, free: 8.238 MB / 458.7 MB Notification: Performance of Templates: time 0.01584/0.8795, allocations: 7.466 MB / 0.644 GB, free: 0.9414 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)