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 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_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.001631/0.001631, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002023/0.002023, allocations: 192 kB / 16.25 MB, free: 6.633 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 472.6 MB / 0.7448 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 62.89 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3606, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.005838/0.3665, allocations: 3.938 MB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.3688, allocations: 1.235 MB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/0.3692, allocations: 19.94 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.3696, allocations: 103.1 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.3699, allocations: 79.42 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.3705, allocations: 319.7 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009169/0.3715, allocations: 1.025 MB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007638/0.3722, allocations: 0.5386 MB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.3726, allocations: 370.6 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003962/0.373, allocations: 402 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.3732, allocations: 124 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.3733, allocations: 120 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.3735, allocations: 227.3 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.3738, allocations: 441.7 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.3749, allocations: 1.246 MB / 1.078 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3749, allocations: 0 / 1.078 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3749, allocations: 0 / 1.078 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.3749, allocations: 0 / 1.078 GB, free: 0.5625 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.002289/0.3772, allocations: 1.228 MB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3773, allocations: 12.03 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.3774, allocations: 87.91 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/0.3781, allocations: 0.5344 MB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.3782, allocations: 58.36 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.3783, allocations: 76.38 kB / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.3799, allocations: 0.8114 MB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.3799, allocations: 0 / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.38, allocations: 28 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.38, allocations: 16 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.3817, allocations: 0.6831 MB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.385, allocations: 2.466 MB / 1.083 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.3867, allocations: 0.7124 MB / 1.084 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/0.3876, allocations: 353.8 kB / 1.084 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/0.3876, allocations: 8.438 kB / 1.084 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.3887, allocations: 373.1 kB / 1.085 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=51): time 2.034e-06/0.3887, allocations: 0 / 1.085 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of matching and sorting (n=51): time 0.002367/0.3911, allocations: 0.8572 MB / 1.086 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/0.3912, allocations: 140.9 kB / 1.086 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007024/0.3919, allocations: 0.5655 MB / 1.086 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/0.392, allocations: 37.7 kB / 1.086 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.3923, allocations: 369.2 kB / 1.087 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.3924, allocations: 165.6 kB / 1.087 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.3926, allocations: 110.2 kB / 1.087 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3928, allocations: 378.7 kB / 1.087 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007623/0.3935, allocations: 283 kB / 1.088 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008281/0.3944, allocations: 417 kB / 1.088 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.3959, allocations: 0.6585 MB / 1.089 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3959, allocations: 0 / 1.089 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001821/0.3977, allocations: 0.8101 MB / 1.089 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/0.3978, allocations: 63.41 kB / 1.09 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3978, allocations: 0 / 1.09 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3978, allocations: 8 kB / 1.09 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.3985, allocations: 143.8 kB / 1.09 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.3985, allocations: 4 kB / 1.09 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.3991, allocations: 123.2 kB / 1.09 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.3991, allocations: 20 kB / 1.09 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007706/0.3999, allocations: 393.1 kB / 1.09 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006584/0.4006, allocations: 365.2 kB / 1.091 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001187/0.4018, allocations: 0.5688 MB / 1.091 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.826e-06/0.4018, allocations: 0 / 1.091 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001453/0.4032, allocations: 0.7085 MB / 1.092 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.4033, allocations: 63.41 kB / 1.092 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4033, allocations: 0 / 1.092 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.4033, allocations: 8 kB / 1.092 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.4038, allocations: 119.8 kB / 1.092 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.4038, allocations: 12 kB / 1.092 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.4044, allocations: 99.45 kB / 1.092 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.4044, allocations: 20 kB / 1.092 GB, free: 1.137 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.0002307/0.4046, allocations: 229.1 kB / 1.092 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.4047, allocations: 67.25 kB / 1.092 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.4064, allocations: 0.6431 MB / 1.093 GB, free: 196 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.4064, allocations: 11.98 kB / 1.093 GB, free: 184 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4064, allocations: 0 / 1.093 GB, free: 184 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4064, allocations: 0 / 1.093 GB, free: 184 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000764/0.4072, allocations: 0.7159 MB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4072, allocations: 7.938 kB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/0.4078, allocations: 119.8 kB / 1.094 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.4078, allocations: 7.938 kB / 1.094 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.4078, allocations: 11.98 kB / 1.094 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.4078, allocations: 4 kB / 1.094 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4078, allocations: 0 / 1.094 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.4101, allocations: 0.9795 MB / 1.095 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.4103, allocations: 148.3 kB / 1.095 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.4104, allocations: 12 kB / 1.095 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.4108, allocations: 71.91 kB / 1.095 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.411, allocations: 44.38 kB / 1.095 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.411, allocations: 12 kB / 1.095 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004645/0.4115, allocations: 406.8 kB / 1.095 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4115, allocations: 0 / 1.095 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006722/0.4121, allocations: 258.9 kB / 1.096 GB, free: 13.32 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.0001673/0.4123, allocations: 123.1 kB / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002663/0.415, allocations: 1.171 MB / 1.097 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.415, allocations: 0 / 1.097 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007865/0.4158, allocations: 302.9 kB / 1.097 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.4165, allocations: 135.6 kB / 1.097 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.4189, allocations: 1.459 MB / 1.099 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.4194, allocations: 0.9101 MB / 1.1 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003523/0.4197, allocations: 80.89 kB / 1.1 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.42, allocations: 51.42 kB / 1.1 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of SimCode: time 6.31e-07/0.42, allocations: 0 / 1.1 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of Templates: time 0.01409/0.4341, allocations: 7.521 MB / 1.107 GB, free: 1.516 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (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)