Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001098/0.001098, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001257/0.001257, allocations: 195.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.83 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.361, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.00553/0.3666, allocations: 3.93 MB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.369, allocations: 1.239 MB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.3694, allocations: 15.94 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.3698, allocations: 99.09 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.37, allocations: 83.38 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.3706, allocations: 311.8 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00083/0.3714, allocations: 1.025 MB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/0.3721, allocations: 0.5503 MB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003776/0.3725, allocations: 366.5 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.3729, allocations: 402 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.373, allocations: 120 kB / 1.076 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.3731, allocations: 120 kB / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.3733, allocations: 231.3 kB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.3736, allocations: 441.8 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.3747, allocations: 1.25 MB / 1.078 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3747, allocations: 0 / 1.078 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3747, allocations: 0 / 1.078 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.3747, allocations: 0 / 1.078 GB, free: 0.6562 MB / 0.8262 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.00239/0.3771, allocations: 1.22 MB / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.3772, allocations: 12.03 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.3774, allocations: 87.91 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/0.3782, allocations: 0.5422 MB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.3783, allocations: 54.38 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3784, allocations: 76.36 kB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.3801, allocations: 0.8114 MB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.3801, allocations: 3.938 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.3802, allocations: 31.98 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.3802, allocations: 20 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.3819, allocations: 0.6675 MB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.3853, allocations: 2.469 MB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.387, allocations: 0.7082 MB / 1.084 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/0.3878, allocations: 351.8 kB / 1.084 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.3879, allocations: 12.36 kB / 1.084 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009883/0.3889, allocations: 373.2 kB / 1.085 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=51): time 2.605e-06/0.3889, allocations: 0 / 1.085 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of matching and sorting (n=51): time 0.002312/0.3912, allocations: 0.8534 MB / 1.086 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/0.3913, allocations: 138 kB / 1.086 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/0.392, allocations: 0.5616 MB / 1.086 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.392, allocations: 49.69 kB / 1.086 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.3923, allocations: 364.2 kB / 1.087 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.3925, allocations: 165.6 kB / 1.087 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.3926, allocations: 110.2 kB / 1.087 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3928, allocations: 382.7 kB / 1.087 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007447/0.3936, allocations: 275 kB / 1.088 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/0.3944, allocations: 417 kB / 1.088 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.3959, allocations: 0.6624 MB / 1.089 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.396, allocations: 0 / 1.089 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001891/0.3979, allocations: 0.8101 MB / 1.089 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.966e-05/0.3979, allocations: 68.91 kB / 1.09 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.398, allocations: 11.92 kB / 1.09 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.398, allocations: 4 kB / 1.09 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.3986, allocations: 135.8 kB / 1.09 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.3987, allocations: 7.938 kB / 1.09 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006059/0.3993, allocations: 127.2 kB / 1.09 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.3993, allocations: 23.98 kB / 1.09 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007677/0.4001, allocations: 385.2 kB / 1.09 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000644/0.4008, allocations: 365.2 kB / 1.091 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001131/0.4019, allocations: 0.5649 MB / 1.091 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.4019, allocations: 0 / 1.091 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001482/0.4034, allocations: 0.7125 MB / 1.092 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.4035, allocations: 63.39 kB / 1.092 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4035, allocations: 4 kB / 1.092 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/0.4035, allocations: 4 kB / 1.092 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.404, allocations: 119.8 kB / 1.092 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.404, allocations: 8 kB / 1.092 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.4045, allocations: 103.5 kB / 1.092 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.4046, allocations: 19.98 kB / 1.092 GB, free: 1.23 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 13 (conMix.conFloRat.con1.y,conMix.conCoo.con1.y,conMix.conHea.con1.y,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) * 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.0002081/0.4048, allocations: 225.2 kB / 1.092 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-05/0.4049, allocations: 63.19 kB / 1.092 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.4066, allocations: 0.6548 MB / 1.093 GB, free: 288 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.4066, allocations: 4 kB / 1.093 GB, free: 284 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4066, allocations: 0 / 1.093 GB, free: 284 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4066, allocations: 7.922 kB / 1.093 GB, free: 276 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008178/0.4074, allocations: 0.712 MB / 1.094 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4075, allocations: 0 / 1.094 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.408, allocations: 115.8 kB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.408, allocations: 7.984 kB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.4081, allocations: 12 kB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4081, allocations: 0 / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4081, allocations: 0 / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.4105, allocations: 0.9834 MB / 1.095 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.4107, allocations: 148.3 kB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.378e-05/0.4108, allocations: 12 kB / 1.095 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.4112, allocations: 67.91 kB / 1.095 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.4114, allocations: 48.38 kB / 1.095 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.4114, allocations: 19.98 kB / 1.095 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004697/0.4119, allocations: 406.8 kB / 1.095 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4119, allocations: 0 / 1.095 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006511/0.4125, allocations: 254.9 kB / 1.096 GB, free: 13.42 MB / 0.8575 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.0001501/0.4127, allocations: 123.2 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002775/0.4155, allocations: 1.174 MB / 1.097 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4155, allocations: 4 kB / 1.097 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007807/0.4163, allocations: 302.8 kB / 1.097 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.417, allocations: 125.7 kB / 1.097 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.4194, allocations: 1.467 MB / 1.099 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.4199, allocations: 0.9062 MB / 1.1 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003517/0.4202, allocations: 76.81 kB / 1.1 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.4204, allocations: 51.42 kB / 1.1 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of SimCode: time 6.11e-07/0.4204, allocations: 0 / 1.1 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of Templates: time 0.01394/0.4344, allocations: 7.532 MB / 1.107 GB, free: 1.613 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)