Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.319/1.319, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009854/0.0009855, allocations: 183.6 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 0.5785 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007038/0.0007038, allocations: 94.23 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003905, allocations: 12.69 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.199, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.3577, allocations: 137.3 MB / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.358, allocations: 87.95 kB / 1.035 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03503/0.3931, allocations: 14.45 MB / 1.049 GB, free: 7.688 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3931, allocations: 4 kB / 1.049 GB, free: 7.684 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.565e-05/0.3932, allocations: 20 kB / 1.049 GB, free: 7.664 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.00254/0.3958, allocations: 1.177 MB / 1.051 GB, free: 6.418 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3958, allocations: 12.03 kB / 1.051 GB, free: 6.406 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/0.3961, allocations: 103.7 kB / 1.051 GB, free: 6.305 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008889/0.397, allocations: 0.5617 MB / 1.051 GB, free: 5.703 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.518e-05/0.3971, allocations: 58.38 kB / 1.051 GB, free: 5.645 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.3972, allocations: 72.38 kB / 1.051 GB, free: 5.574 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.3989, allocations: 0.8791 MB / 1.052 GB, free: 4.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.399, allocations: 12.12 kB / 1.052 GB, free: 4.648 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.653e-05/0.399, allocations: 35.92 kB / 1.052 GB, free: 4.613 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.3991, allocations: 20 kB / 1.052 GB, free: 4.594 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.4009, allocations: 0.7846 MB / 1.053 GB, free: 3.805 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004176/0.4051, allocations: 2.915 MB / 1.056 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3496/0.7547, allocations: 0.9027 MB / 1.057 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009397/0.7557, allocations: 401.4 kB / 1.057 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.7558, allocations: 9.281 kB / 1.057 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009664/0.7568, allocations: 443.2 kB / 1.058 GB, free: 144.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 4.668e-06/0.7568, allocations: 0 / 1.058 GB, free: 144.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.002376/0.7592, allocations: 1.061 MB / 1.059 GB, free: 144.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.7592, allocations: 140.8 kB / 1.059 GB, free: 144.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.7599, allocations: 0.6425 MB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.76, allocations: 38.67 kB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.7602, allocations: 369.7 kB / 1.06 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.72e-05/0.7603, allocations: 186.5 kB / 1.06 GB, free: 144 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.7603, allocations: 13.88 kB / 1.06 GB, free: 144 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.7604, allocations: 331.9 kB / 1.06 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006573/0.7611, allocations: 319.7 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007434/0.7618, allocations: 438.7 kB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.7631, allocations: 0.7255 MB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7631, allocations: 1.641 kB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001563/0.7647, allocations: 0.9006 MB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.7648, allocations: 174.4 kB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.7648, allocations: 2.844 kB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7648, allocations: 2.969 kB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.7654, allocations: 160.4 kB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.7654, allocations: 7.531 kB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.7659, allocations: 147.4 kB / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.766, allocations: 19.62 kB / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.21e-06/0.766, allocations: 2.875 kB / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001219/0.7672, allocations: 0.6995 MB / 1.064 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.7672, allocations: 6.875 kB / 1.064 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.7673, allocations: 6.531 kB / 1.064 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.7677, allocations: 131.1 kB / 1.064 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7677, allocations: 3.672 kB / 1.064 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.7682, allocations: 120.5 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.7682, allocations: 20.23 kB / 1.064 GB, free: 143 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 ($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,conMix.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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.0002864/0.7685, allocations: 319.8 kB / 1.064 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.7686, allocations: 67.7 kB / 1.064 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.7703, allocations: 0.7967 MB / 1.065 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.7703, allocations: 9.938 kB / 1.065 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7703, allocations: 1.875 kB / 1.065 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.7703, allocations: 3.234 kB / 1.065 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.773, allocations: 1.628 MB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.773, allocations: 1.375 kB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/0.7736, allocations: 150.4 kB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.7736, allocations: 3.953 kB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.7737, allocations: 15.81 kB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.7737, allocations: 2.719 kB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7737, allocations: 1.375 kB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.7763, allocations: 1.295 MB / 1.068 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.7764, allocations: 162 kB / 1.068 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/0.7765, allocations: 13.92 kB / 1.068 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.777, allocations: 93.38 kB / 1.069 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.7771, allocations: 60.64 kB / 1.069 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.7772, allocations: 15.25 kB / 1.069 GB, free: 142 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005944/0.7778, allocations: 460.4 kB / 1.069 GB, free: 141.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7778, allocations: 0 / 1.069 GB, free: 141.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007138/0.7785, allocations: 262 kB / 1.069 GB, free: 141.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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.0001477/0.7786, allocations: 124.7 kB / 1.069 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002469/0.7811, allocations: 1.299 MB / 1.071 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7811, allocations: 0.7188 kB / 1.071 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008546/0.782, allocations: 393.3 kB / 1.071 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008438/0.7829, allocations: 158.9 kB / 1.071 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.785, allocations: 1.54 MB / 1.073 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.7854, allocations: 0.9369 MB / 1.074 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003879/0.7858, allocations: 86.12 kB / 1.074 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.786, allocations: 51.38 kB / 1.074 GB, free: 139.9 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/0.786, allocations: 1.312 kB / 1.074 GB, free: 139.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01373/0.7997, allocations: 7.959 MB / 1.082 GB, free: 139.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)