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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001234/0.001234, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.615/1.615, allocations: 251.9 MB / 0.51 GB, free: 4.848 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005666/0.0005667, allocations: 16 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.648/0.6486, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004669/0.6533, allocations: 3.631 MB / 0.7315 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00333/0.6567, allocations: 1.37 MB / 0.7328 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.6574, allocations: 19.94 kB / 0.7329 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.6576, allocations: 71.16 kB / 0.7329 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006744/0.6583, allocations: 163.4 kB / 0.7331 GB, free: 6.129 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007691/0.6591, allocations: 251.6 kB / 0.7333 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.6602, allocations: 0.6083 MB / 0.7339 GB, free: 5.273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00061/0.6608, allocations: 367 kB / 0.7343 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.6611, allocations: 230.8 kB / 0.7345 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.6614, allocations: 282.3 kB / 0.7348 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.6615, allocations: 24 kB / 0.7348 GB, free: 4.371 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.832e-05/0.6616, allocations: 24 kB / 0.7348 GB, free: 4.348 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.6617, allocations: 115.4 kB / 0.7349 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.6619, allocations: 165.2 kB / 0.7351 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000981/0.6629, allocations: 1.034 MB / 0.7361 GB, free: 3.031 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6629, allocations: 0 / 0.7361 GB, free: 3.031 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.386e-06/0.6629, allocations: 0 / 0.7361 GB, free: 3.031 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.6629, allocations: 0 / 0.7361 GB, free: 3.031 MB / 0.545 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.002486/0.6654, allocations: 1.196 MB / 0.7373 GB, free: 1.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.6655, allocations: 12.03 kB / 0.7373 GB, free: 1.762 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.6657, allocations: 98.78 kB / 0.7374 GB, free: 1.664 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/0.6666, allocations: 0.5707 MB / 0.7379 GB, free: 1.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.852e-05/0.6666, allocations: 58 kB / 0.738 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.6667, allocations: 72 kB / 0.738 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.6685, allocations: 0.8708 MB / 0.7389 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.6686, allocations: 4 kB / 0.7389 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.436e-05/0.6687, allocations: 32.02 kB / 0.7389 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.6687, allocations: 20 kB / 0.7389 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.6706, allocations: 0.7729 MB / 0.7397 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/0.6749, allocations: 3.08 MB / 0.7427 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.6772, allocations: 0.8379 MB / 0.7435 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.6772, allocations: 12.66 kB / 0.7435 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.6783, allocations: 409.1 kB / 0.7439 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=51): time 3.397e-06/0.6783, allocations: 0 / 0.7439 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51): time 0.002557/0.6809, allocations: 0.9744 MB / 0.7449 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/0.681, allocations: 140.9 kB / 0.745 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009188/0.6819, allocations: 0.6488 MB / 0.7456 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.479e-05/0.682, allocations: 41.7 kB / 0.7457 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.6823, allocations: 388.2 kB / 0.7461 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.6825, allocations: 169.5 kB / 0.7462 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.6825, allocations: 16 kB / 0.7462 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.6827, allocations: 378.8 kB / 0.7466 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007844/0.6835, allocations: 317 kB / 0.7469 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009186/0.6845, allocations: 430.6 kB / 0.7473 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/0.6853, allocations: 397.3 kB / 0.7477 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.6854, allocations: 0 / 0.7477 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002071/0.6874, allocations: 0.892 MB / 0.7486 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003999/0.6879, allocations: 0.6763 MB / 0.7492 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.6879, allocations: 4 kB / 0.7492 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.6879, allocations: 8 kB / 0.7492 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.6885, allocations: 155.8 kB / 0.7494 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.6886, allocations: 7.938 kB / 0.7494 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.6892, allocations: 151.3 kB / 0.7495 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.6893, allocations: 24 kB / 0.7496 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.6893, allocations: 3.953 kB / 0.7496 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001434/0.6907, allocations: 0.692 MB / 0.7502 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.6908, allocations: 0 / 0.7502 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.242e-06/0.6908, allocations: 7.938 kB / 0.7502 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.6913, allocations: 135.8 kB / 0.7504 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6913, allocations: 4 kB / 0.7504 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.6918, allocations: 119.4 kB / 0.7505 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/0.6919, allocations: 19.98 kB / 0.7505 GB, free: 3.777 MB / 0.5606 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.0004779/0.6924, allocations: 309 kB / 0.7508 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.6925, allocations: 75.02 kB / 0.7509 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.6943, allocations: 0.7416 MB / 0.7516 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/0.6943, allocations: 4 kB / 0.7516 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.6944, allocations: 4 kB / 0.7516 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.6944, allocations: 3.984 kB / 0.7516 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.6953, allocations: 0.7315 MB / 0.7523 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.6953, allocations: 4 kB / 0.7523 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.6959, allocations: 139.8 kB / 0.7525 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.696, allocations: 3.984 kB / 0.7525 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.696, allocations: 11.95 kB / 0.7525 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.696, allocations: 4 kB / 0.7525 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6961, allocations: 0 / 0.7525 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.6986, allocations: 1.112 MB / 0.7536 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.6988, allocations: 156.2 kB / 0.7537 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.6989, allocations: 15.98 kB / 0.7537 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.6994, allocations: 87.88 kB / 0.7538 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.6996, allocations: 52.36 kB / 0.7539 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.6996, allocations: 12 kB / 0.7539 GB, free: 224 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006584/0.7003, allocations: 463 kB / 0.7543 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.924e-06/0.7003, allocations: 0 / 0.7543 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007938/0.7011, allocations: 266.9 kB / 0.7546 GB, free: 15.51 MB / 0.5762 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.0001837/0.7013, allocations: 111.2 kB / 0.7547 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002778/0.704, allocations: 1.253 MB / 0.7559 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7041, allocations: 0 / 0.7559 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008292/0.7049, allocations: 350.4 kB / 0.7562 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.7056, allocations: 148.4 kB / 0.7564 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.7086, allocations: 1.495 MB / 0.7578 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/0.7093, allocations: 0.9418 MB / 0.7588 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004403/0.7097, allocations: 93.2 kB / 0.7588 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.7099, allocations: 51.42 kB / 0.7589 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of SimCode: time 1.173e-06/0.7099, allocations: 0 / 0.7589 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of Templates: time 0.01764/0.7276, allocations: 7.624 MB / 0.7663 GB, free: 3.422 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: