Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.703/1.703, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 180.9 kB / 361.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.3 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008556/0.0008556, allocations: 97.16 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.429e-05/1.432e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6408/0.6408, allocations: 115.3 MB / 0.9644 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.8395, allocations: 141.8 MB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.8398, allocations: 81.38 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03056/0.8704, allocations: 12.26 MB / 1.115 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8704, allocations: 0 / 1.115 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.923e-05/0.8705, allocations: 16 kB / 1.115 GB, free: 1.789 MB / 0.7136 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.001882/0.8724, allocations: 1.041 MB / 1.116 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.8724, allocations: 8.031 kB / 1.116 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.8726, allocations: 95.91 kB / 1.116 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/0.8733, allocations: 0.5103 MB / 1.116 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.8734, allocations: 26.44 kB / 1.117 GB, free: 8 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.8735, allocations: 52.05 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009/0.8744, allocations: 483.9 kB / 1.117 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.8755, allocations: 0.6082 MB / 1.118 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.8755, allocations: 0 / 1.118 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.8756, allocations: 7.922 kB / 1.118 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.8756, allocations: 16 kB / 1.118 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00379/0.8794, allocations: 2.263 MB / 1.12 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.8805, allocations: 0.5569 MB / 1.12 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.8809, allocations: 238.2 kB / 1.121 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.993e-05/0.881, allocations: 12.42 kB / 1.121 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005862/0.8816, allocations: 291.3 kB / 1.121 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 2.565e-06/0.8816, allocations: 1.125 kB / 1.121 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.000797/0.8824, allocations: 462.5 kB / 1.121 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.8825, allocations: 153 kB / 1.122 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.8831, allocations: 409.3 kB / 1.122 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.8831, allocations: 29.7 kB / 1.122 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.8834, allocations: 368 kB / 1.122 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.8836, allocations: 165.5 kB / 1.122 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.8836, allocations: 4 kB / 1.122 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002209/0.8838, allocations: 366.8 kB / 1.123 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.8841, allocations: 173.1 kB / 1.123 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.8845, allocations: 274.5 kB / 1.123 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.8849, allocations: 190.1 kB / 1.123 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8849, allocations: 6.719 kB / 1.123 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009047/0.8858, allocations: 0.5139 MB / 1.124 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.886, allocations: 425.7 kB / 1.124 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.886, allocations: 0 / 1.124 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.8861, allocations: 4 kB / 1.124 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/0.8867, allocations: 163.8 kB / 1.124 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.8868, allocations: 1.641 kB / 1.124 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.8874, allocations: 127.4 kB / 1.125 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.8874, allocations: 23.94 kB / 1.125 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.8874, allocations: 4 kB / 1.125 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006698/0.8881, allocations: 425.3 kB / 1.125 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.8881, allocations: 1.875 kB / 1.125 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.8881, allocations: 4 kB / 1.125 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.8887, allocations: 127.8 kB / 1.125 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.8887, allocations: 4.094 kB / 1.125 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.8891, allocations: 95.61 kB / 1.125 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.8892, allocations: 20 kB / 1.125 GB, free: 6.801 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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.0001406/0.8893, allocations: 112.9 kB / 1.125 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/0.8894, allocations: 63.2 kB / 1.125 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007778/0.8902, allocations: 481.6 kB / 1.126 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.8902, allocations: 8 kB / 1.126 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8902, allocations: 0 / 1.126 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.8902, allocations: 3.984 kB / 1.126 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.8916, allocations: 1.184 MB / 1.127 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8917, allocations: 0 / 1.127 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/0.8923, allocations: 147.8 kB / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.8923, allocations: 4 kB / 1.127 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.8923, allocations: 5.25 kB / 1.127 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.8923, allocations: 4 kB / 1.127 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8924, allocations: 1.219 kB / 1.127 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.8935, allocations: 0.8148 MB / 1.128 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.8936, allocations: 144.2 kB / 1.128 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.8937, allocations: 7.953 kB / 1.128 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/0.8942, allocations: 79.92 kB / 1.128 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.8943, allocations: 52.48 kB / 1.128 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.8944, allocations: 23.92 kB / 1.128 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003474/0.8947, allocations: 315 kB / 1.129 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8947, allocations: 0 / 1.129 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006314/0.8954, allocations: 238.8 kB / 1.129 GB, free: 3.059 MB / 0.7292 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: 9 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * 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.000179/0.8956, allocations: 124 kB / 1.129 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.8968, allocations: 0.9025 MB / 1.13 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.8968, allocations: 4 kB / 1.13 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/0.8971, allocations: 231.1 kB / 1.13 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.8977, allocations: 103.3 kB / 1.13 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.8992, allocations: 0.8542 MB / 1.131 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.8997, allocations: 0.9431 MB / 1.132 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004547/0.9001, allocations: 98.69 kB / 1.132 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.9003, allocations: 39.42 kB / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/0.9003, allocations: 0 / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.01332/0.9136, allocations: 6.995 MB / 1.139 GB, free: 8.832 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)