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.5608/0.5608, allocations: 95.62 MB / 110.6 MB, free: 9.379 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.001188/0.001188, allocations: 170.2 kB / 134.2 MB, free: 2.258 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.543/1.543, allocations: 170.7 MB / 328.4 MB, free: 12.25 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.001873/0.001873, allocations: 107.3 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 12 kB / 462.7 MB, free: 35.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 61.52 MB / 0.512 GB, free: 6.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.481/0.6437, allocations: 100 MB / 0.6096 GB, free: 7.309 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.6441, allocations: 84.83 kB / 0.6097 GB, free: 7.258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04962/0.6938, allocations: 17.78 MB / 0.6271 GB, free: 8.047 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6938, allocations: 0 / 0.6271 GB, free: 8.047 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.941e-05/0.6939, allocations: 12 kB / 0.6271 GB, free: 8.035 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.002375/0.6963, allocations: 1.153 MB / 0.6282 GB, free: 6.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.6964, allocations: 11.98 kB / 0.6282 GB, free: 6.809 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.6966, allocations: 90.97 kB / 0.6283 GB, free: 6.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.6977, allocations: 0.6126 MB / 0.6289 GB, free: 6.066 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.6978, allocations: 33 kB / 0.6289 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/0.6979, allocations: 48 kB / 0.629 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.6993, allocations: 0.674 MB / 0.6296 GB, free: 5.281 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.6993, allocations: 4 kB / 0.6296 GB, free: 5.277 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.6994, allocations: 27.95 kB / 0.6297 GB, free: 5.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.6994, allocations: 12 kB / 0.6297 GB, free: 5.238 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.701, allocations: 0.6285 MB / 0.6303 GB, free: 4.609 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.7039, allocations: 1.652 MB / 0.6319 GB, free: 2.906 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.706, allocations: 0.7925 MB / 0.6327 GB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002128/0.7081, allocations: 2.007 MB / 0.6346 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.7091, allocations: 382.9 kB / 0.635 GB, free: 15.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 4.268e-06/0.7092, allocations: 4 kB / 0.635 GB, free: 15.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.002566/0.7117, allocations: 0.9271 MB / 0.6359 GB, free: 14.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.7119, allocations: 221.6 kB / 0.6361 GB, free: 14.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.7127, allocations: 0.5033 MB / 0.6366 GB, free: 13.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.7128, allocations: 37.7 kB / 0.6367 GB, free: 13.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.7131, allocations: 308.5 kB / 0.637 GB, free: 13.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.7133, allocations: 141.9 kB / 0.6371 GB, free: 13.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.7133, allocations: 12 kB / 0.6371 GB, free: 13.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.7136, allocations: 374.8 kB / 0.6375 GB, free: 12.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007179/0.7143, allocations: 280.6 kB / 0.6377 GB, free: 12.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008158/0.7151, allocations: 354.6 kB / 0.6381 GB, free: 12.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.7159, allocations: 344.1 kB / 0.6384 GB, free: 11.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7159, allocations: 0 / 0.6384 GB, free: 11.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001675/0.7176, allocations: 0.7601 MB / 0.6391 GB, free: 10.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.739e-05/0.7177, allocations: 63.34 kB / 0.6392 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.7177, allocations: 0 / 0.6392 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7177, allocations: 8 kB / 0.6392 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.7183, allocations: 123.8 kB / 0.6393 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.7183, allocations: 7.984 kB / 0.6393 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/0.7189, allocations: 103.7 kB / 0.6394 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.7189, allocations: 20 kB / 0.6394 GB, free: 10.56 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 () * Number of clocked 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.0003605/0.7193, allocations: 200.2 kB / 0.6396 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.7194, allocations: 75.09 kB / 0.6397 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.7211, allocations: 0.7071 MB / 0.6404 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.7211, allocations: 8 kB / 0.6404 GB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7211, allocations: 0 / 0.6404 GB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.7211, allocations: 3.984 kB / 0.6404 GB, free: 9.547 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008255/0.722, allocations: 0.6765 MB / 0.6411 GB, free: 8.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.722, allocations: 3.938 kB / 0.6411 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/0.7226, allocations: 123.8 kB / 0.6412 GB, free: 8.695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.7226, allocations: 3.953 kB / 0.6412 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.7227, allocations: 12 kB / 0.6412 GB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.7227, allocations: 4 kB / 0.6412 GB, free: 8.676 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7227, allocations: 0 / 0.6412 GB, free: 8.676 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.725, allocations: 1.062 MB / 0.6422 GB, free: 7.598 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.7253, allocations: 204.2 kB / 0.6424 GB, free: 7.379 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/0.7254, allocations: 11.95 kB / 0.6425 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.7259, allocations: 83.92 kB / 0.6425 GB, free: 7.285 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.7261, allocations: 47.92 kB / 0.6426 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.7261, allocations: 12 kB / 0.6426 GB, free: 7.227 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005072/0.7266, allocations: 411.1 kB / 0.643 GB, free: 6.832 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7266, allocations: 3.938 kB / 0.643 GB, free: 6.828 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004911/0.7271, allocations: 151.6 kB / 0.6431 GB, free: 6.68 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) * Number of clocked states: 0 () * 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.0002388/0.7274, allocations: 139.1 kB / 0.6433 GB, free: 6.535 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.729, allocations: 0.7236 MB / 0.644 GB, free: 5.785 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.729, allocations: 4 kB / 0.644 GB, free: 5.781 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007534/0.7298, allocations: 327.7 kB / 0.6443 GB, free: 5.461 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.7304, allocations: 134.9 kB / 0.6444 GB, free: 5.328 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.7327, allocations: 1.297 MB / 0.6457 GB, free: 4.004 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.7332, allocations: 0.9019 MB / 0.6466 GB, free: 3.074 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003126/0.7335, allocations: 64.44 kB / 0.6466 GB, free: 3.012 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.7337, allocations: 43.44 kB / 0.6467 GB, free: 2.969 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/0.7337, allocations: 0 / 0.6467 GB, free: 2.969 MB / 442.7 MB Notification: Performance of Templates: time 0.01382/0.7475, allocations: 7.482 MB / 0.654 GB, free: 11.54 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)