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.625/1.625, allocations: 288.4 MB / 304.3 MB, free: 8.16 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.001034/0.001034, allocations: 176.5 kB / 372.9 MB, free: 10.15 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.523/1.523, allocations: 205.4 MB / 0.6317 GB, free: 9.805 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007508/0.0007509, allocations: 94.34 kB / 0.745 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004196, allocations: 15.34 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2039, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6851/0.889, allocations: 142.6 MB / 1.12 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.8893, allocations: 93.48 kB / 1.12 GB, free: 16.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02822/0.9175, allocations: 12.4 MB / 1.132 GB, free: 29.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9176, allocations: 3.844 kB / 1.132 GB, free: 29.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.726e-05/0.9176, allocations: 15.38 kB / 1.132 GB, free: 29.96 MB / 0.698 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.002003/0.9196, allocations: 1.159 MB / 1.133 GB, free: 29.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.9197, allocations: 7.594 kB / 1.133 GB, free: 29.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.9198, allocations: 101.6 kB / 1.133 GB, free: 29.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006347/0.9205, allocations: 0.5411 MB / 1.134 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.9205, allocations: 57.91 kB / 1.134 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.21e-05/0.9206, allocations: 71.97 kB / 1.134 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.9221, allocations: 0.8649 MB / 1.135 GB, free: 28.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.9222, allocations: 192 / 1.135 GB, free: 28.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.9222, allocations: 33.41 kB / 1.135 GB, free: 28.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.9223, allocations: 19.19 kB / 1.135 GB, free: 28.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.9239, allocations: 0.7713 MB / 1.136 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.9269, allocations: 2.429 MB / 1.138 GB, free: 27.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.9288, allocations: 0.871 MB / 1.139 GB, free: 26.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007689/0.9296, allocations: 393.4 kB / 1.139 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.9296, allocations: 12.08 kB / 1.139 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000943/0.9306, allocations: 445.7 kB / 1.14 GB, free: 26.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 3.115e-06/0.9306, allocations: 3.844 kB / 1.14 GB, free: 26.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.002325/0.9329, allocations: 1.05 MB / 1.141 GB, free: 26.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.933, allocations: 136.6 kB / 1.141 GB, free: 26.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006535/0.9337, allocations: 0.6445 MB / 1.142 GB, free: 26.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.9337, allocations: 44.06 kB / 1.142 GB, free: 26.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.934, allocations: 349.1 kB / 1.142 GB, free: 25.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.9341, allocations: 188.3 kB / 1.142 GB, free: 25.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.9341, allocations: 15.09 kB / 1.142 GB, free: 25.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.9343, allocations: 376.2 kB / 1.142 GB, free: 25.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007192/0.935, allocations: 318.9 kB / 1.143 GB, free: 25.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/0.9357, allocations: 433.6 kB / 1.143 GB, free: 25.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.9371, allocations: 0.7124 MB / 1.144 GB, free: 24.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.9371, allocations: 3.938 kB / 1.144 GB, free: 24.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001702/0.9388, allocations: 0.8875 MB / 1.145 GB, free: 24.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.939, allocations: 177.9 kB / 1.145 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.939, allocations: 0 / 1.145 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.939, allocations: 7.672 kB / 1.145 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/0.9396, allocations: 158.5 kB / 1.145 GB, free: 24.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.9396, allocations: 3.844 kB / 1.145 GB, free: 24.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.9402, allocations: 143 kB / 1.145 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.9402, allocations: 22.86 kB / 1.145 GB, free: 24.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.9402, allocations: 7.781 kB / 1.145 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001237/0.9415, allocations: 0.6845 MB / 1.146 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.9415, allocations: 3.594 kB / 1.146 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.9415, allocations: 3.75 kB / 1.146 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.942, allocations: 126 kB / 1.146 GB, free: 24.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.942, allocations: 7.875 kB / 1.146 GB, free: 24.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.9425, allocations: 122.5 kB / 1.146 GB, free: 24.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.9425, allocations: 29.88 kB / 1.146 GB, free: 24.14 MB / 0.698 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.0004507/0.943, allocations: 298.6 kB / 1.146 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.943, allocations: 69.84 kB / 1.147 GB, free: 23.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.9447, allocations: 0.7887 MB / 1.147 GB, free: 23.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.9447, allocations: 7.688 kB / 1.147 GB, free: 23.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9447, allocations: 0 / 1.147 GB, free: 23.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.9447, allocations: 3.984 kB / 1.147 GB, free: 23.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.9469, allocations: 1.595 MB / 1.149 GB, free: 23.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.947, allocations: 0 / 1.149 GB, free: 23.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/0.9475, allocations: 143.8 kB / 1.149 GB, free: 23.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.9476, allocations: 3.844 kB / 1.149 GB, free: 23.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.9476, allocations: 15.61 kB / 1.149 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.9476, allocations: 0 / 1.149 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9476, allocations: 0 / 1.149 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.9499, allocations: 1.267 MB / 1.15 GB, free: 22.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.9501, allocations: 166.1 kB / 1.15 GB, free: 22.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.9502, allocations: 11.44 kB / 1.15 GB, free: 22.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/0.9507, allocations: 87.91 kB / 1.151 GB, free: 22.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.9508, allocations: 52.45 kB / 1.151 GB, free: 22.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.9508, allocations: 18.34 kB / 1.151 GB, free: 22.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005044/0.9513, allocations: 456.3 kB / 1.151 GB, free: 22.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9514, allocations: 4 kB / 1.151 GB, free: 22.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006483/0.952, allocations: 260.9 kB / 1.151 GB, free: 22.27 MB / 0.698 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.0001796/0.9522, allocations: 129.3 kB / 1.151 GB, free: 22.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.9545, allocations: 1.27 MB / 1.153 GB, free: 21.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9545, allocations: 0 / 1.153 GB, free: 21.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000767/0.9553, allocations: 380.8 kB / 1.153 GB, free: 21.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.956, allocations: 128.8 kB / 1.153 GB, free: 21.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.9581, allocations: 1.49 MB / 1.155 GB, free: 20.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.9586, allocations: 0.9281 MB / 1.155 GB, free: 19.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003816/0.959, allocations: 83.2 kB / 1.156 GB, free: 19.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.9591, allocations: 53.61 kB / 1.156 GB, free: 19.9 MB / 0.698 GB Notification: Performance of SimCode: time 3.7e-07/0.9591, allocations: 0 / 1.156 GB, free: 19.9 MB / 0.698 GB Notification: Performance of Templates: time 0.0115/0.9706, allocations: 7.411 MB / 1.163 GB, free: 12.87 MB / 0.698 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)