Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001499/0.001499, allocations: 187.7 kB / 377.1 MB, free: 1.535 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.851/1.851, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.0009947/0.0009945, allocations: 93.31 kB / 0.751 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 8 kB / 0.8748 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3186, allocations: 116.3 MB / 0.9884 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.899/1.218, allocations: 143.5 MB / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/1.218, allocations: 86.3 kB / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03213/1.25, allocations: 12.38 MB / 1.141 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.896e-06/1.25, allocations: 0 / 1.141 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.004e-05/1.25, allocations: 19.98 kB / 1.141 GB, free: 23.84 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.002574/1.253, allocations: 1.161 MB / 1.142 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/1.253, allocations: 8.031 kB / 1.142 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/1.253, allocations: 101.5 kB / 1.142 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/1.254, allocations: 0.5205 MB / 1.142 GB, free: 22.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/1.254, allocations: 50 kB / 1.142 GB, free: 22.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/1.254, allocations: 84.84 kB / 1.143 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/1.256, allocations: 0.8489 MB / 1.143 GB, free: 21.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.256, allocations: 0 / 1.143 GB, free: 21.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/1.256, allocations: 32.66 kB / 1.143 GB, free: 21.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/1.256, allocations: 16 kB / 1.143 GB, free: 21.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.258, allocations: 0.7804 MB / 1.144 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/1.262, allocations: 2.426 MB / 1.147 GB, free: 18.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/1.264, allocations: 0.9003 MB / 1.147 GB, free: 17.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/1.264, allocations: 14.77 kB / 1.147 GB, free: 17.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/1.265, allocations: 452.3 kB / 1.148 GB, free: 17.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 3.957e-06/1.265, allocations: 0 / 1.148 GB, free: 17.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.00234/1.267, allocations: 1.048 MB / 1.149 GB, free: 16.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/1.267, allocations: 138.3 kB / 1.149 GB, free: 16.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007526/1.268, allocations: 0.5717 MB / 1.15 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.906e-05/1.268, allocations: 39.3 kB / 1.15 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/1.268, allocations: 352.5 kB / 1.15 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/1.268, allocations: 190.3 kB / 1.15 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/1.269, allocations: 12 kB / 1.15 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.269, allocations: 381.9 kB / 1.151 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007581/1.269, allocations: 315.6 kB / 1.151 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/1.27, allocations: 430.3 kB / 1.151 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/1.271, allocations: 385.4 kB / 1.152 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.271, allocations: 0 / 1.152 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001723/1.273, allocations: 0.8836 MB / 1.152 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/1.273, allocations: 430.1 kB / 1.153 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.273, allocations: 4.516 kB / 1.153 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/1.273, allocations: 0 / 1.153 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/1.274, allocations: 157.5 kB / 1.153 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.274, allocations: 4 kB / 1.153 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006132/1.274, allocations: 149.1 kB / 1.153 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/1.274, allocations: 17.45 kB / 1.153 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.313e-06/1.274, allocations: 4 kB / 1.153 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001311/1.276, allocations: 0.6926 MB / 1.154 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.276, allocations: 0.75 kB / 1.154 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.97e-06/1.276, allocations: 4 kB / 1.154 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/1.276, allocations: 127.9 kB / 1.154 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/1.276, allocations: 5.469 kB / 1.154 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/1.277, allocations: 125.4 kB / 1.154 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/1.277, allocations: 16.7 kB / 1.154 GB, free: 11.51 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 () * Number of clocked 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.0004226/1.277, allocations: 295.9 kB / 1.154 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.204e-05/1.277, allocations: 71.77 kB / 1.155 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/1.279, allocations: 0.796 MB / 1.155 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/1.279, allocations: 8 kB / 1.155 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.279, allocations: 1.25 kB / 1.155 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/1.279, allocations: 3.75 kB / 1.155 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/1.281, allocations: 1.592 MB / 1.157 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.281, allocations: 0 / 1.157 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/1.282, allocations: 143.7 kB / 1.157 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/1.282, allocations: 4 kB / 1.157 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/1.282, allocations: 14.58 kB / 1.157 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.282, allocations: 1.266 kB / 1.157 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.282, allocations: 0 / 1.157 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/1.284, allocations: 1.265 MB / 1.158 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/1.285, allocations: 162.1 kB / 1.158 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/1.285, allocations: 13.5 kB / 1.158 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/1.285, allocations: 89.23 kB / 1.158 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.285, allocations: 48.91 kB / 1.159 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/1.285, allocations: 20 kB / 1.159 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005252/1.286, allocations: 465.1 kB / 1.159 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.286, allocations: 0 / 1.159 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000672/1.287, allocations: 265.5 kB / 1.159 GB, free: 6.891 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0001767/1.287, allocations: 122.1 kB / 1.159 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002272/1.289, allocations: 1.273 MB / 1.161 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.289, allocations: 0 / 1.161 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007513/1.29, allocations: 375.8 kB / 1.161 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/1.29, allocations: 123.5 kB / 1.161 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/1.293, allocations: 1.49 MB / 1.163 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/1.293, allocations: 0.9453 MB / 1.163 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003539/1.293, allocations: 77.81 kB / 1.164 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/1.294, allocations: 55.42 kB / 1.164 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/1.294, allocations: 0 / 1.164 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.01391/1.307, allocations: 7.314 MB / 1.171 GB, free: 11.55 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)