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.0008693/0.0008693, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009774/0.0009777, allocations: 172.7 kB / 15.95 MB, free: 208 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.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.548/1.548, allocations: 252 MB / 0.5102 GB, free: 4.781 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.0005181/0.0005183, allocations: 20 kB / 0.6243 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.6003, allocations: 106.3 MB / 0.7281 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004685/0.6051, allocations: 3.628 MB / 0.7317 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002603/0.6077, allocations: 1.362 MB / 0.733 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/0.6082, allocations: 15.94 kB / 0.733 GB, free: 6.316 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.6086, allocations: 107 kB / 0.7331 GB, free: 6.211 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.6088, allocations: 87.23 kB / 0.7332 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.6095, allocations: 215.7 kB / 0.7334 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009168/0.6104, allocations: 0.9472 MB / 0.7343 GB, free: 4.965 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005631/0.6109, allocations: 362.9 kB / 0.7347 GB, free: 4.594 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.6112, allocations: 230.7 kB / 0.7349 GB, free: 4.367 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.6116, allocations: 282.2 kB / 0.7352 GB, free: 4.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.6116, allocations: 24 kB / 0.7352 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.77e-05/0.6117, allocations: 27.94 kB / 0.7352 GB, free: 4.039 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.6118, allocations: 115.3 kB / 0.7353 GB, free: 3.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.612, allocations: 165.2 kB / 0.7355 GB, free: 3.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.613, allocations: 1.03 MB / 0.7365 GB, free: 2.727 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.729e-06/0.613, allocations: 0 / 0.7365 GB, free: 2.727 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.795e-06/0.613, allocations: 0 / 0.7365 GB, free: 2.727 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.07e-05/0.6131, allocations: 0 / 0.7365 GB, free: 2.727 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.002299/0.6154, allocations: 1.196 MB / 0.7377 GB, free: 1.469 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.6154, allocations: 8.031 kB / 0.7377 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.6156, allocations: 102.8 kB / 0.7378 GB, free: 1.359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.6164, allocations: 0.5668 MB / 0.7383 GB, free: 0.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.333e-05/0.6164, allocations: 54 kB / 0.7384 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.6165, allocations: 72 kB / 0.7384 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.6182, allocations: 0.8863 MB / 0.7393 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.6182, allocations: 0 / 0.7393 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/0.6183, allocations: 28 kB / 0.7393 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.6183, allocations: 16 kB / 0.7393 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.6201, allocations: 0.7807 MB / 0.7401 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004047/0.6241, allocations: 3.08 MB / 0.7431 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.626, allocations: 0.8325 MB / 0.7439 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007891/0.6268, allocations: 386 kB / 0.7443 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.6269, allocations: 8.375 kB / 0.7443 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009135/0.6278, allocations: 410.1 kB / 0.7447 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=51): time 4.529e-06/0.6278, allocations: 3.984 kB / 0.7447 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51): time 0.002307/0.6301, allocations: 0.9783 MB / 0.7456 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/0.6303, allocations: 148.9 kB / 0.7458 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008234/0.6311, allocations: 0.6527 MB / 0.7464 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.6311, allocations: 37.7 kB / 0.7465 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.6315, allocations: 392.1 kB / 0.7468 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.6316, allocations: 165.6 kB / 0.747 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.6316, allocations: 8 kB / 0.747 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.6318, allocations: 386.7 kB / 0.7474 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007509/0.6326, allocations: 313 kB / 0.7477 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008109/0.6334, allocations: 446.5 kB / 0.7481 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007788/0.6342, allocations: 385.4 kB / 0.7485 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6342, allocations: 0 / 0.7485 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001832/0.636, allocations: 0.8879 MB / 0.7493 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.6362, allocations: 195.8 kB / 0.7495 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6363, allocations: 4 kB / 0.7495 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.6363, allocations: 4 kB / 0.7495 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.6369, allocations: 159.8 kB / 0.7497 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.6369, allocations: 11.92 kB / 0.7497 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.6375, allocations: 151.2 kB / 0.7498 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.6375, allocations: 24 kB / 0.7499 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.6376, allocations: 5.719 kB / 0.7499 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/0.6389, allocations: 0.6842 MB / 0.7505 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6389, allocations: 4 kB / 0.7505 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.6389, allocations: 8.094 kB / 0.7505 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.6394, allocations: 135.8 kB / 0.7507 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.6394, allocations: 4 kB / 0.7507 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.6399, allocations: 119.3 kB / 0.7508 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.6399, allocations: 20 kB / 0.7508 GB, free: 3.594 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 ($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.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004245/0.6404, allocations: 305 kB / 0.7511 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.6405, allocations: 79.02 kB / 0.7512 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.6421, allocations: 0.7338 MB / 0.7519 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6422, allocations: 8 kB / 0.7519 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.6422, allocations: 0 / 0.7519 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6422, allocations: 7.922 kB / 0.7519 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000879/0.6431, allocations: 0.7315 MB / 0.7526 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6431, allocations: 0 / 0.7526 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005544/0.6436, allocations: 143.8 kB / 0.7528 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.6437, allocations: 4 kB / 0.7528 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.6437, allocations: 12 kB / 0.7528 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.6437, allocations: 80 / 0.7528 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.6437, allocations: 7.969 kB / 0.7528 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.6463, allocations: 1.108 MB / 0.7539 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.6465, allocations: 160.1 kB / 0.754 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.6465, allocations: 15.95 kB / 0.754 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.647, allocations: 91.86 kB / 0.7541 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.6471, allocations: 48.36 kB / 0.7542 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.6472, allocations: 19.98 kB / 0.7542 GB, free: 24 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006309/0.6478, allocations: 459.1 kB / 0.7546 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6478, allocations: 0 / 0.7546 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008003/0.6486, allocations: 263 kB / 0.7549 GB, free: 15.32 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 (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.0002135/0.6488, allocations: 115.2 kB / 0.755 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002594/0.6514, allocations: 1.253 MB / 0.7562 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6515, allocations: 0 / 0.7562 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.6523, allocations: 346.4 kB / 0.7565 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.6531, allocations: 162.3 kB / 0.7567 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.656, allocations: 1.495 MB / 0.7581 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.6565, allocations: 0.9301 MB / 0.7591 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004507/0.657, allocations: 77.12 kB / 0.7591 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.6572, allocations: 55.36 kB / 0.7592 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of SimCode: time 1.954e-06/0.6572, allocations: 4 kB / 0.7592 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of Templates: time 0.01502/0.6722, allocations: 7.629 MB / 0.7666 GB, free: 3.242 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: