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.459/1.459, allocations: 252 MB / 267.6 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.0009734/0.0009734, allocations: 174.5 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 0.5783 GB, free: 20.18 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.0008211/0.0008215, allocations: 92.83 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003772, allocations: 7.125 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3356, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.006451/0.3421, allocations: 3.632 MB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004634/0.3468, allocations: 1.35 MB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.3482, allocations: 23.94 kB / 0.9057 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007245/0.349, allocations: 107 kB / 0.9058 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008466/0.3498, allocations: 83.23 kB / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.3513, allocations: 223.6 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.3532, allocations: 0.9395 MB / 0.907 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.3543, allocations: 370.9 kB / 0.9074 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005238/0.3549, allocations: 222.7 kB / 0.9076 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000532/0.3555, allocations: 282.2 kB / 0.9079 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.3557, allocations: 24 kB / 0.9079 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.3558, allocations: 24 kB / 0.9079 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.356, allocations: 115.3 kB / 0.908 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.3563, allocations: 169.2 kB / 0.9082 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.3575, allocations: 1.029 MB / 0.9092 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.3575, allocations: 0 / 0.9092 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.857e-06/0.3576, allocations: 3.938 kB / 0.9092 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.39e-05/0.3576, allocations: 0 / 0.9092 GB, free: 55.28 MB / 0.6042 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.003834/0.3615, allocations: 1.192 MB / 0.9104 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.3615, allocations: 8.031 kB / 0.9104 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/0.362, allocations: 106.8 kB / 0.9105 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.3635, allocations: 0.5668 MB / 0.911 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/0.3636, allocations: 58 kB / 0.9111 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.3638, allocations: 75.94 kB / 0.9111 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.367, allocations: 0.8786 MB / 0.912 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.367, allocations: 0 / 0.912 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.3671, allocations: 32 kB / 0.912 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.3672, allocations: 16 kB / 0.912 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/0.3707, allocations: 0.7729 MB / 0.9128 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006744/0.3774, allocations: 3.08 MB / 0.9158 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00371/0.3812, allocations: 0.8387 MB / 0.9166 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.3827, allocations: 390 kB / 0.917 GB, free: 47.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.637e-05/0.3828, allocations: 4.438 kB / 0.917 GB, free: 47.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/0.3845, allocations: 409.1 kB / 0.9174 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 6.553e-06/0.3845, allocations: 4 kB / 0.9174 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.004363/0.3889, allocations: 0.9783 MB / 0.9184 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.389, allocations: 137.1 kB / 0.9185 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.3902, allocations: 0.6565 MB / 0.9191 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.837e-05/0.3903, allocations: 37.7 kB / 0.9192 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.3907, allocations: 388.2 kB / 0.9195 GB, free: 44.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.3909, allocations: 169.5 kB / 0.9197 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.391, allocations: 12 kB / 0.9197 GB, free: 44.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3912, allocations: 386.7 kB / 0.9201 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.3926, allocations: 313 kB / 0.9204 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.394, allocations: 438.5 kB / 0.9208 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.3955, allocations: 393.5 kB / 0.9212 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.3955, allocations: 4 kB / 0.9212 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003283/0.3988, allocations: 0.8918 MB / 0.922 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.3989, allocations: 187.9 kB / 0.9222 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.399, allocations: 4 kB / 0.9222 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.399, allocations: 4 kB / 0.9222 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.4002, allocations: 167.8 kB / 0.9224 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.4002, allocations: 4 kB / 0.9224 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009732/0.4012, allocations: 151.2 kB / 0.9225 GB, free: 41.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.4013, allocations: 20 kB / 0.9226 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.4013, allocations: 8 kB / 0.9226 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002288/0.4036, allocations: 0.6881 MB / 0.9232 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4036, allocations: 0 / 0.9232 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.4036, allocations: 4 kB / 0.9232 GB, free: 40.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009181/0.4046, allocations: 135.9 kB / 0.9234 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.4046, allocations: 4 kB / 0.9234 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000939/0.4055, allocations: 123.3 kB / 0.9235 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.4056, allocations: 23.94 kB / 0.9235 GB, free: 40.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0006217/0.4062, allocations: 301 kB / 0.9238 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.4064, allocations: 75.02 kB / 0.9239 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.4094, allocations: 0.7533 MB / 0.9246 GB, free: 39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.4095, allocations: 4 kB / 0.9246 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4095, allocations: 0 / 0.9246 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.4095, allocations: 0 / 0.9246 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.4106, allocations: 0.7354 MB / 0.9253 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4106, allocations: 0 / 0.9253 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.4117, allocations: 147.8 kB / 0.9255 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.4117, allocations: 4 kB / 0.9255 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.4118, allocations: 19.92 kB / 0.9255 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.4118, allocations: 4 kB / 0.9255 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4118, allocations: 0 / 0.9255 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.4161, allocations: 1.104 MB / 0.9266 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.4163, allocations: 160.2 kB / 0.9267 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.4165, allocations: 15.95 kB / 0.9267 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008171/0.4173, allocations: 87.92 kB / 0.9268 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.4175, allocations: 48.36 kB / 0.9269 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.4176, allocations: 15.98 kB / 0.9269 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007676/0.4184, allocations: 459.1 kB / 0.9273 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4184, allocations: 0 / 0.9273 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009961/0.4194, allocations: 263 kB / 0.9276 GB, free: 35.87 MB / 0.6042 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: 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 (51): * Single equations (assignments): 47 * 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.0002031/0.4196, allocations: 115.2 kB / 0.9277 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004166/0.4238, allocations: 1.253 MB / 0.9289 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.4238, allocations: 0 / 0.9289 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.4252, allocations: 354.4 kB / 0.9292 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.4266, allocations: 146 kB / 0.9294 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.4303, allocations: 1.532 MB / 0.9309 GB, free: 32.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.4309, allocations: 0.9301 MB / 0.9318 GB, free: 31.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/0.4312, allocations: 55.42 kB / 0.9318 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of SimCode: time 1.713e-06/0.4313, allocations: 0 / 0.9318 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.02012/0.4514, allocations: 9.342 MB / 0.941 GB, free: 22.08 MB / 0.6042 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)