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.00111/0.00111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001367/0.001367, allocations: 197 kB / 16.14 MB, free: 6.652 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.628/1.628, allocations: 205.1 MB / 222 MB, free: 4.738 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.603/0.603, allocations: 95.48 MB / 364.8 MB, free: 10.09 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.002119/0.002119, allocations: 63.92 kB / 444.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4608/0.4629, allocations: 69.08 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004488/0.4675, allocations: 4.086 MB / 0.5057 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003415/0.4709, allocations: 1.859 MB / 0.5075 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.4716, allocations: 23.88 kB / 0.5075 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.4719, allocations: 95.11 kB / 0.5076 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005204/0.4725, allocations: 202.8 kB / 0.5078 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008487/0.4733, allocations: 0.4953 MB / 0.5083 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006803/0.474, allocations: 0.9763 MB / 0.5092 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/0.4745, allocations: 432.2 kB / 0.5097 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.4747, allocations: 298.4 kB / 0.5099 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.475, allocations: 345.9 kB / 0.5103 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.597e-05/0.4751, allocations: 40 kB / 0.5103 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.4754, allocations: 163.9 kB / 0.5105 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.4755, allocations: 147.2 kB / 0.5106 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.4757, allocations: 365.6 kB / 0.511 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006919/0.4764, allocations: 1.125 MB / 0.5121 GB, free: 6.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4765, allocations: 0 / 0.5121 GB, free: 6.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4765, allocations: 0 / 0.5121 GB, free: 6.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4765, allocations: 3.938 kB / 0.5121 GB, free: 6.945 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.001953/0.4784, allocations: 1.277 MB / 0.5133 GB, free: 5.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4785, allocations: 11.98 kB / 0.5133 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.4786, allocations: 99.72 kB / 0.5134 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006335/0.4793, allocations: 0.6519 MB / 0.514 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.4793, allocations: 45.25 kB / 0.5141 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/0.4794, allocations: 56 kB / 0.5141 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.4806, allocations: 0.7162 MB / 0.5148 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4806, allocations: 3.938 kB / 0.5148 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.4807, allocations: 27.98 kB / 0.5149 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.4807, allocations: 12 kB / 0.5149 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.482, allocations: 0.6102 MB / 0.5155 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.4844, allocations: 2.26 MB / 0.5177 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.4859, allocations: 0.7066 MB / 0.5184 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006454/0.4866, allocations: 289.5 kB / 0.5187 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001881/0.4885, allocations: 2 MB / 0.5206 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.4895, allocations: 369.2 kB / 0.521 GB, free: 13.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 3.156e-06/0.4895, allocations: 3.938 kB / 0.521 GB, free: 13.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.002367/0.4919, allocations: 0.8805 MB / 0.5218 GB, free: 12.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.492, allocations: 133 kB / 0.5219 GB, free: 12.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008655/0.4929, allocations: 0.6727 MB / 0.5226 GB, free: 11.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.493, allocations: 37.7 kB / 0.5226 GB, free: 11.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.4933, allocations: 376.9 kB / 0.523 GB, free: 10.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.4935, allocations: 149.8 kB / 0.5231 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.4937, allocations: 98.14 kB / 0.5232 GB, free: 10.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4939, allocations: 326 kB / 0.5235 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007511/0.4946, allocations: 266.9 kB / 0.5238 GB, free: 10.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007786/0.4954, allocations: 363.6 kB / 0.5241 GB, free: 9.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.4968, allocations: 0.619 MB / 0.5248 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4968, allocations: 0 / 0.5248 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001807/0.4987, allocations: 0.7755 MB / 0.5255 GB, free: 8.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.93e-05/0.4987, allocations: 65.38 kB / 0.5256 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.4988, allocations: 0 / 0.5256 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.4988, allocations: 4.188 kB / 0.5256 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.4994, allocations: 119.8 kB / 0.5257 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4994, allocations: 8 kB / 0.5257 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.4999, allocations: 103.3 kB / 0.5258 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.5, allocations: 16 kB / 0.5258 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007844/0.5008, allocations: 404.9 kB / 0.5262 GB, free: 7.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006425/0.5014, allocations: 322.5 kB / 0.5265 GB, free: 7.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001152/0.5026, allocations: 0.5448 MB / 0.527 GB, free: 6.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.5026, allocations: 0 / 0.527 GB, free: 6.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001443/0.5041, allocations: 0.7015 MB / 0.5277 GB, free: 5.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.5041, allocations: 71.42 kB / 0.5278 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5041, allocations: 4 kB / 0.5278 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.5042, allocations: 7.938 kB / 0.5278 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.5046, allocations: 99.88 kB / 0.5279 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.5047, allocations: 11.92 kB / 0.5279 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.5051, allocations: 67.55 kB / 0.528 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.5052, allocations: 23.98 kB / 0.528 GB, free: 5.645 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.0002204/0.5054, allocations: 212.1 kB / 0.5282 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.5055, allocations: 79 kB / 0.5283 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.5072, allocations: 0.672 MB / 0.5289 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.5072, allocations: 8 kB / 0.5289 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5073, allocations: 4 kB / 0.5289 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5073, allocations: 0 / 0.5289 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008864/0.5082, allocations: 0.7354 MB / 0.5297 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5082, allocations: 0 / 0.5297 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.5087, allocations: 107.8 kB / 0.5298 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.5087, allocations: 3.938 kB / 0.5298 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.5088, allocations: 8 kB / 0.5298 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5088, allocations: 4 kB / 0.5298 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5088, allocations: 4 kB / 0.5298 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.5112, allocations: 1.015 MB / 0.5308 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.5114, allocations: 212.1 kB / 0.531 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.5115, allocations: 23.92 kB / 0.531 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.512, allocations: 55.94 kB / 0.5311 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.5122, allocations: 40.38 kB / 0.5311 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.5122, allocations: 15.98 kB / 0.5311 GB, free: 2.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005907/0.5128, allocations: 483 kB / 0.5316 GB, free: 1.883 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5128, allocations: 4 kB / 0.5316 GB, free: 1.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007109/0.5135, allocations: 247.2 kB / 0.5318 GB, free: 1.637 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.0002216/0.5137, allocations: 135.1 kB / 0.5319 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002323/0.5161, allocations: 1.115 MB / 0.533 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5161, allocations: 0 / 0.533 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007399/0.5168, allocations: 306.3 kB / 0.5333 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.5177, allocations: 171.1 kB / 0.5335 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.5202, allocations: 1.515 MB / 0.535 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.5207, allocations: 0.9263 MB / 0.5359 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004091/0.5211, allocations: 85.06 kB / 0.5359 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.5213, allocations: 51.42 kB / 0.536 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5213, allocations: 0 / 0.536 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Templates: time 0.0169/0.5382, allocations: 8.693 MB / 0.5445 GB, free: 4.613 MB / 414.1 MB 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)