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.0009285/0.0009286, allocations: 100 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.001027/0.001027, allocations: 177.3 kB / 15.95 MB, free: 216 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.427/1.427, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.5486/0.5486, allocations: 95.58 MB / 366 MB, free: 10.4 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.0006066/0.0006067, allocations: 12 kB / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3094, allocations: 70.34 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003027/0.3125, allocations: 3.427 MB / 0.5084 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.315, allocations: 1.751 MB / 0.5101 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004449/0.3155, allocations: 27.81 kB / 0.5101 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.3156, allocations: 55.31 kB / 0.5101 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007796/0.3164, allocations: 275 kB / 0.5104 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007418/0.3171, allocations: 390.9 kB / 0.5108 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000665/0.3178, allocations: 0.6144 MB / 0.5114 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.3181, allocations: 281.2 kB / 0.5116 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.3184, allocations: 258.7 kB / 0.5119 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.3186, allocations: 274.3 kB / 0.5122 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.3186, allocations: 28 kB / 0.5122 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002304/0.3189, allocations: 131.8 kB / 0.5123 GB, free: 9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.3189, allocations: 103.4 kB / 0.5124 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.184e-05/0.319, allocations: 169.2 kB / 0.5126 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.3196, allocations: 0.8904 MB / 0.5134 GB, free: 7.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3196, allocations: 0 / 0.5134 GB, free: 7.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3196, allocations: 0 / 0.5134 GB, free: 7.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.3196, allocations: 4 kB / 0.5134 GB, free: 7.832 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.001659/0.3213, allocations: 1.152 MB / 0.5146 GB, free: 6.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3213, allocations: 15.92 kB / 0.5146 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3214, allocations: 98.78 kB / 0.5147 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.3221, allocations: 0.6085 MB / 0.5153 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.3221, allocations: 45.27 kB / 0.5153 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/0.3222, allocations: 67.83 kB / 0.5154 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.3234, allocations: 0.7436 MB / 0.5161 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3234, allocations: 3.938 kB / 0.5161 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.3235, allocations: 20 kB / 0.5161 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3235, allocations: 16 kB / 0.5161 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.3249, allocations: 0.6805 MB / 0.5168 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.3271, allocations: 2.283 MB / 0.519 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.3289, allocations: 0.8121 MB / 0.5198 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.3304, allocations: 2.004 MB / 0.5218 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.3314, allocations: 401.1 kB / 0.5222 GB, free: 14.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 2.785e-06/0.3314, allocations: 0 / 0.5222 GB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.002389/0.3338, allocations: 0.9783 MB / 0.5231 GB, free: 13.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/0.3339, allocations: 137 kB / 0.5233 GB, free: 13.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007803/0.3347, allocations: 0.6726 MB / 0.5239 GB, free: 12.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.3348, allocations: 37.7 kB / 0.5239 GB, free: 12.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.3351, allocations: 372.9 kB / 0.5243 GB, free: 11.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.3352, allocations: 157.9 kB / 0.5245 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.3353, allocations: 8 kB / 0.5245 GB, free: 11.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3354, allocations: 322 kB / 0.5248 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007132/0.3361, allocations: 297 kB / 0.525 GB, free: 11.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007827/0.3369, allocations: 394.4 kB / 0.5254 GB, free: 10.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.3377, allocations: 364 kB / 0.5258 GB, free: 10.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3377, allocations: 4 kB / 0.5258 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001779/0.3395, allocations: 0.8382 MB / 0.5266 GB, free: 9.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003252/0.3398, allocations: 0.6741 MB / 0.5273 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3398, allocations: 1.203 kB / 0.5273 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.3398, allocations: 4 kB / 0.5273 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.3404, allocations: 135.8 kB / 0.5274 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3405, allocations: 7.938 kB / 0.5274 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/0.341, allocations: 127.3 kB / 0.5275 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.3411, allocations: 16 kB / 0.5275 GB, free: 8.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3411, allocations: 7.953 kB / 0.5275 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00135/0.3425, allocations: 0.6694 MB / 0.5282 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3425, allocations: 4 kB / 0.5282 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/0.3425, allocations: 4 kB / 0.5282 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.343, allocations: 116 kB / 0.5283 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.343, allocations: 11.92 kB / 0.5283 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.3434, allocations: 87.48 kB / 0.5284 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.3435, allocations: 19.94 kB / 0.5284 GB, free: 7.57 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 ($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.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000361/0.3439, allocations: 309 kB / 0.5287 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.344, allocations: 82.92 kB / 0.5288 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.3457, allocations: 0.7424 MB / 0.5295 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3457, allocations: 4 kB / 0.5295 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3457, allocations: 4 kB / 0.5295 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3457, allocations: 48 / 0.5295 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007302/0.3464, allocations: 0.7394 MB / 0.5303 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3465, allocations: 0 / 0.5303 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/0.347, allocations: 123.9 kB / 0.5304 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.347, allocations: 0 / 0.5304 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.3471, allocations: 15.94 kB / 0.5304 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3471, allocations: 0 / 0.5304 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3471, allocations: 4 kB / 0.5304 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.3494, allocations: 1.116 MB / 0.5315 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.3497, allocations: 215.9 kB / 0.5317 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.3498, allocations: 12 kB / 0.5317 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.3503, allocations: 83.88 kB / 0.5318 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.3504, allocations: 48.36 kB / 0.5318 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.3504, allocations: 16 kB / 0.5318 GB, free: 3.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005265/0.351, allocations: 471 kB / 0.5323 GB, free: 3.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.351, allocations: 0 / 0.5323 GB, free: 3.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006744/0.3517, allocations: 251.3 kB / 0.5325 GB, free: 3.266 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 (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.0002186/0.3519, allocations: 139.1 kB / 0.5327 GB, free: 3.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.3543, allocations: 1.201 MB / 0.5338 GB, free: 1.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3543, allocations: 0 / 0.5338 GB, free: 1.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007729/0.3551, allocations: 342.3 kB / 0.5342 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/0.3558, allocations: 162 kB / 0.5343 GB, free: 1.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.3581, allocations: 1.466 MB / 0.5357 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.3585, allocations: 0.9379 MB / 0.5367 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000383/0.3589, allocations: 93.05 kB / 0.5368 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.3591, allocations: 43.44 kB / 0.5368 GB, free: 14.79 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3591, allocations: 0 / 0.5368 GB, free: 14.79 MB / 414.1 MB Notification: Performance of Templates: time 0.01416/0.3733, allocations: 8.327 MB / 0.5449 GB, free: 6.531 MB / 414.1 MB make -j1 -f Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: