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.0007282/0.0007284, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004768/0.004768, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.16/1.16, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.345/1.345, allocations: 252 MB / 0.5105 GB, free: 4.699 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.0004463/0.0004463, allocations: 12 kB / 0.6249 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3812, allocations: 106.3 MB / 0.7287 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003597/0.3848, allocations: 3.866 MB / 0.7325 GB, free: 7.527 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.3867, allocations: 1.392 MB / 0.7339 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.387, allocations: 19.94 kB / 0.7339 GB, free: 6.105 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.3872, allocations: 119 kB / 0.734 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.3875, allocations: 99.23 kB / 0.7341 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.388, allocations: 343.7 kB / 0.7344 GB, free: 5.555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00073/0.3887, allocations: 1.01 MB / 0.7354 GB, free: 4.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.3893, allocations: 0.5271 MB / 0.7359 GB, free: 3.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.3895, allocations: 230.6 kB / 0.7361 GB, free: 3.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.3898, allocations: 301.9 kB / 0.7364 GB, free: 3.469 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.848e-05/0.3899, allocations: 24 kB / 0.7364 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.796e-05/0.3899, allocations: 24 kB / 0.7365 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.449e-05/0.39, allocations: 119.3 kB / 0.7366 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.3902, allocations: 363.3 kB / 0.7369 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007741/0.391, allocations: 1.201 MB / 0.7381 GB, free: 1.738 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.391, allocations: 0 / 0.7381 GB, free: 1.738 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.565e-06/0.391, allocations: 8 kB / 0.7381 GB, free: 1.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.391, allocations: 0 / 0.7381 GB, free: 1.73 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.001894/0.3929, allocations: 1.177 MB / 0.7393 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.393, allocations: 8.031 kB / 0.7393 GB, free: 496 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.3931, allocations: 103.7 kB / 0.7394 GB, free: 392 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.3938, allocations: 0.5912 MB / 0.7399 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.3939, allocations: 54.38 kB / 0.74 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-05/0.394, allocations: 80.28 kB / 0.7401 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.3956, allocations: 0.8828 MB / 0.7409 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3956, allocations: 11.94 kB / 0.7409 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/0.3957, allocations: 24 kB / 0.741 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.3957, allocations: 20 kB / 0.741 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.3974, allocations: 0.7807 MB / 0.7417 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.4007, allocations: 3.084 MB / 0.7448 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.4026, allocations: 0.8292 MB / 0.7456 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008057/0.4034, allocations: 390 kB / 0.7459 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.4035, allocations: 8.438 kB / 0.7459 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009098/0.4044, allocations: 409.2 kB / 0.7463 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=51): time 4.598e-06/0.4044, allocations: 112 / 0.7463 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51): time 0.002335/0.4068, allocations: 0.9899 MB / 0.7473 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.4068, allocations: 137 kB / 0.7474 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007103/0.4076, allocations: 0.6605 MB / 0.7481 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.4076, allocations: 37.7 kB / 0.7481 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.4079, allocations: 385.2 kB / 0.7485 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.408, allocations: 173.5 kB / 0.7486 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/0.4081, allocations: 53.69 kB / 0.7487 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4082, allocations: 390.7 kB / 0.7491 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007584/0.409, allocations: 317 kB / 0.7494 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/0.4098, allocations: 450.5 kB / 0.7498 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.4114, allocations: 0.7225 MB / 0.7505 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4114, allocations: 4 kB / 0.7505 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001809/0.4132, allocations: 0.8958 MB / 0.7514 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.937e-05/0.4133, allocations: 189.8 kB / 0.7516 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4133, allocations: 4.062 kB / 0.7516 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4133, allocations: 4 kB / 0.7516 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.4139, allocations: 163.8 kB / 0.7517 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.414, allocations: 12 kB / 0.7517 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.4145, allocations: 155.2 kB / 0.7519 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.4146, allocations: 19.98 kB / 0.7519 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-06/0.4146, allocations: 4 kB / 0.7519 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/0.416, allocations: 0.6997 MB / 0.7526 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.416, allocations: 0 / 0.7526 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.592e-06/0.416, allocations: 4 kB / 0.7526 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.4165, allocations: 131.8 kB / 0.7527 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4165, allocations: 12.03 kB / 0.7527 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.4169, allocations: 123.3 kB / 0.7529 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.417, allocations: 23.98 kB / 0.7529 GB, free: 2.105 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 (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.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003265/0.4173, allocations: 301 kB / 0.7532 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/0.4174, allocations: 71.06 kB / 0.7532 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.4191, allocations: 0.7416 MB / 0.754 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.4191, allocations: 4 kB / 0.754 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4191, allocations: 4 kB / 0.754 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4191, allocations: 3.984 kB / 0.754 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006559/0.4198, allocations: 0.7354 MB / 0.7547 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.4198, allocations: 3.938 kB / 0.7547 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.4203, allocations: 143.8 kB / 0.7548 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4203, allocations: 4 kB / 0.7548 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.4204, allocations: 8 kB / 0.7548 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4204, allocations: 0 / 0.7548 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4204, allocations: 4 kB / 0.7548 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.4227, allocations: 1.116 MB / 0.7559 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.4229, allocations: 164.2 kB / 0.7561 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/0.423, allocations: 15.98 kB / 0.7561 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.4234, allocations: 91.92 kB / 0.7562 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4235, allocations: 44.38 kB / 0.7562 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.4236, allocations: 11.98 kB / 0.7562 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004851/0.424, allocations: 463.1 kB / 0.7567 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4241, allocations: 0 / 0.7567 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005508/0.4246, allocations: 263 kB / 0.7569 GB, free: 13.84 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 (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.0001194/0.4247, allocations: 115.2 kB / 0.757 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.4271, allocations: 1.26 MB / 0.7583 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4271, allocations: 0 / 0.7583 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007556/0.4279, allocations: 358.4 kB / 0.7586 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/0.4285, allocations: 149.4 kB / 0.7588 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.4306, allocations: 1.585 MB / 0.7603 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.4311, allocations: 0.9301 MB / 0.7612 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003231/0.4314, allocations: 85.12 kB / 0.7613 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.4315, allocations: 55.42 kB / 0.7614 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of SimCode: time 1.713e-06/0.4316, allocations: 0 / 0.7614 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of Templates: time 0.01233/0.4439, allocations: 7.887 MB / 0.7691 GB, free: 1.391 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: