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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01019/0.01019, allocations: 171.4 kB / 16.27 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.4 MB / 222.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6196/0.6196, allocations: 95.63 MB / 366.4 MB, free: 10.22 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006381/0.0006381, allocations: 15.98 kB / 447.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3826, allocations: 70.33 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003397/0.386, allocations: 3.646 MB / 0.5092 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.3892, allocations: 1.844 MB / 0.511 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004634/0.3897, allocations: 27.88 kB / 0.5111 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.39, allocations: 95.11 kB / 0.5111 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006988/0.3907, allocations: 198.8 kB / 0.5113 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.3918, allocations: 0.5029 MB / 0.5118 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008125/0.3926, allocations: 0.9646 MB / 0.5128 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005372/0.3932, allocations: 436.1 kB / 0.5132 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.3934, allocations: 254.4 kB / 0.5134 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.3937, allocations: 294 kB / 0.5137 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/0.3938, allocations: 20 kB / 0.5137 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.3941, allocations: 151.9 kB / 0.5139 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.32e-05/0.3941, allocations: 111.3 kB / 0.514 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.3944, allocations: 359.3 kB / 0.5143 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006979/0.3951, allocations: 1.086 MB / 0.5154 GB, free: 6.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3951, allocations: 0 / 0.5154 GB, free: 6.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3951, allocations: 0 / 0.5154 GB, free: 6.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3952, allocations: 0 / 0.5154 GB, free: 6.305 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001848/0.397, allocations: 1.145 MB / 0.5165 GB, free: 5.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3971, allocations: 11.98 kB / 0.5165 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.3972, allocations: 103.7 kB / 0.5166 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006926/0.3979, allocations: 0.648 MB / 0.5172 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.3979, allocations: 49.25 kB / 0.5173 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.398, allocations: 59.98 kB / 0.5173 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.3994, allocations: 0.7514 MB / 0.5181 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.3994, allocations: 3.938 kB / 0.5181 GB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.3995, allocations: 20 kB / 0.5181 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.3995, allocations: 16 kB / 0.5181 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.4011, allocations: 0.6805 MB / 0.5188 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.4039, allocations: 2.279 MB / 0.521 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.4058, allocations: 0.7965 MB / 0.5218 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007605/0.4066, allocations: 325.4 kB / 0.5221 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001536/0.4081, allocations: 2.004 MB / 0.5241 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.4091, allocations: 397.2 kB / 0.5244 GB, free: 12.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 4.839e-06/0.4092, allocations: 4 kB / 0.5244 GB, free: 12.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.002557/0.4117, allocations: 0.9821 MB / 0.5254 GB, free: 11.33 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/0.4118, allocations: 141 kB / 0.5255 GB, free: 11.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.4127, allocations: 0.6804 MB / 0.5262 GB, free: 10.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.4127, allocations: 37.64 kB / 0.5262 GB, free: 10.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.413, allocations: 372.9 kB / 0.5266 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.4132, allocations: 153.8 kB / 0.5267 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.4133, allocations: 45.7 kB / 0.5268 GB, free: 9.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4134, allocations: 326 kB / 0.5271 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000768/0.4142, allocations: 301 kB / 0.5274 GB, free: 9.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/0.415, allocations: 394.4 kB / 0.5277 GB, free: 8.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.4166, allocations: 0.6932 MB / 0.5284 GB, free: 8.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4166, allocations: 1.203 kB / 0.5284 GB, free: 8.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001851/0.4184, allocations: 0.8575 MB / 0.5293 GB, free: 7.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.4186, allocations: 201.6 kB / 0.5295 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4186, allocations: 0 / 0.5295 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.4186, allocations: 4 kB / 0.5295 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.4192, allocations: 135.8 kB / 0.5296 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.4192, allocations: 7.938 kB / 0.5296 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.4198, allocations: 119.4 kB / 0.5297 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.4199, allocations: 16 kB / 0.5297 GB, free: 6.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.4199, allocations: 4 kB / 0.5297 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/0.4213, allocations: 0.6734 MB / 0.5304 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4213, allocations: 7.938 kB / 0.5304 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-06/0.4213, allocations: 0 / 0.5304 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.4218, allocations: 119.8 kB / 0.5305 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.4218, allocations: 7.938 kB / 0.5305 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.4223, allocations: 95.48 kB / 0.5306 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.4224, allocations: 19.98 kB / 0.5306 GB, free: 5.781 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,TRoo.count,$PRE.TRoo.count,TRoo.T_start,$PRE.TRoo.T_start,$whenCondition1,$whenCondition2,conMix.conFloRat.I.local_reset,conMix.conCoo.I.local_reset,conMix.conHea.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004256/0.4228, allocations: 301 kB / 0.5309 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4229, allocations: 79.06 kB / 0.531 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.4248, allocations: 0.7424 MB / 0.5317 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4248, allocations: 11.94 kB / 0.5317 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4248, allocations: 0 / 0.5317 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4248, allocations: 0 / 0.5317 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.4256, allocations: 0.7393 MB / 0.5324 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4256, allocations: 0 / 0.5324 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.4262, allocations: 123.8 kB / 0.5326 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4262, allocations: 8 kB / 0.5326 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.4263, allocations: 4 kB / 0.5326 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.4263, allocations: 7.938 kB / 0.5326 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4263, allocations: 0 / 0.5326 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.4287, allocations: 1.124 MB / 0.5337 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.429, allocations: 212.1 kB / 0.5339 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.4291, allocations: 11.98 kB / 0.5339 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/0.4296, allocations: 83.81 kB / 0.534 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.4297, allocations: 44.38 kB / 0.534 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.4297, allocations: 11.98 kB / 0.534 GB, free: 2.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005432/0.4303, allocations: 491 kB / 0.5345 GB, free: 1.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4303, allocations: 0 / 0.5345 GB, free: 1.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006907/0.431, allocations: 243.3 kB / 0.5347 GB, free: 1.469 MB / 398.1 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002181/0.4312, allocations: 135.2 kB / 0.5349 GB, free: 1.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002464/0.4337, allocations: 1.212 MB / 0.536 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4337, allocations: 0 / 0.536 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008183/0.4345, allocations: 338.3 kB / 0.5364 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/0.4354, allocations: 182 kB / 0.5365 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.4382, allocations: 1.556 MB / 0.5381 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.4389, allocations: 0.9301 MB / 0.539 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004772/0.4393, allocations: 88.95 kB / 0.5391 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.4395, allocations: 51.42 kB / 0.5391 GB, free: 12.88 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4395, allocations: 0 / 0.5391 GB, free: 12.88 MB / 414.1 MB Notification: Performance of Templates: time 0.01681/0.4563, allocations: 8.594 MB / 0.5475 GB, free: 4.359 MB / 414.1 MB make -j1 -f Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: