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.728/1.728, allocations: 288.3 MB / 303.2 MB, free: 8.145 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.001105/0.001105, allocations: 173.1 kB / 371.8 MB, free: 10.29 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.753/1.753, allocations: 205.4 MB / 0.6306 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009745/0.0009747, allocations: 89 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004245, allocations: 17.8 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2784, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8498/1.128, allocations: 142.5 MB / 1.119 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/1.129, allocations: 82.11 kB / 1.119 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03029/1.159, allocations: 12.38 MB / 1.131 GB, free: 29.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/1.159, allocations: 4 kB / 1.131 GB, free: 29.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.214e-05/1.159, allocations: 19.25 kB / 1.131 GB, free: 29.82 MB / 0.698 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.003078/1.162, allocations: 1.164 MB / 1.132 GB, free: 28.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.162, allocations: 7.688 kB / 1.132 GB, free: 28.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003908/1.163, allocations: 101 kB / 1.132 GB, free: 28.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/1.164, allocations: 0.5142 MB / 1.133 GB, free: 28.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.788e-05/1.164, allocations: 58.66 kB / 1.133 GB, free: 28.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/1.164, allocations: 78.41 kB / 1.133 GB, free: 28.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/1.166, allocations: 0.8531 MB / 1.134 GB, free: 28.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/1.166, allocations: 0 / 1.134 GB, free: 28.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-05/1.166, allocations: 32.2 kB / 1.134 GB, free: 28.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/1.166, allocations: 15.34 kB / 1.134 GB, free: 28.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/1.168, allocations: 0.778 MB / 1.134 GB, free: 28.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003939/1.172, allocations: 2.431 MB / 1.137 GB, free: 26.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/1.174, allocations: 0.8874 MB / 1.138 GB, free: 26.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/1.174, allocations: 8.188 kB / 1.138 GB, free: 26.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/1.175, allocations: 460.7 kB / 1.138 GB, free: 26.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 3.737e-06/1.175, allocations: 0 / 1.138 GB, free: 26.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.002469/1.177, allocations: 1.042 MB / 1.139 GB, free: 26.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/1.178, allocations: 144.2 kB / 1.139 GB, free: 26.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/1.178, allocations: 0.5655 MB / 1.14 GB, free: 26.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.06e-05/1.178, allocations: 44.22 kB / 1.14 GB, free: 26.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/1.179, allocations: 355.5 kB / 1.14 GB, free: 25.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/1.179, allocations: 192.2 kB / 1.14 GB, free: 25.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/1.179, allocations: 10.94 kB / 1.14 GB, free: 25.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002038/1.179, allocations: 376 kB / 1.141 GB, free: 25.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007531/1.18, allocations: 319.3 kB / 1.141 GB, free: 25.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007914/1.181, allocations: 431.7 kB / 1.141 GB, free: 25.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007922/1.182, allocations: 385.7 kB / 1.142 GB, free: 25.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.182, allocations: 0 / 1.142 GB, free: 25.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001813/1.183, allocations: 0.8813 MB / 1.143 GB, free: 24.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002597/1.184, allocations: 424.2 kB / 1.143 GB, free: 24.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.184, allocations: 3.844 kB / 1.143 GB, free: 24.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.184, allocations: 4 kB / 1.143 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/1.184, allocations: 158.4 kB / 1.143 GB, free: 24.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/1.184, allocations: 7.812 kB / 1.143 GB, free: 24.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/1.185, allocations: 146.8 kB / 1.143 GB, free: 24.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/1.185, allocations: 14.34 kB / 1.143 GB, free: 24.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.185, allocations: 3.844 kB / 1.143 GB, free: 24.22 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001309/1.186, allocations: 0.6878 MB / 1.144 GB, free: 24.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.186, allocations: 3.844 kB / 1.144 GB, free: 24.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-06/1.186, allocations: 4 kB / 1.144 GB, free: 24.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/1.187, allocations: 134.7 kB / 1.144 GB, free: 24.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/1.187, allocations: 0 / 1.144 GB, free: 24.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/1.188, allocations: 121.2 kB / 1.144 GB, free: 23.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/1.188, allocations: 24.97 kB / 1.144 GB, free: 23.96 MB / 0.698 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 () * Number of clocked 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.0005104/1.188, allocations: 300.5 kB / 1.145 GB, free: 23.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/1.188, allocations: 74.02 kB / 1.145 GB, free: 23.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/1.19, allocations: 0.7897 MB / 1.145 GB, free: 23.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.19, allocations: 7.875 kB / 1.145 GB, free: 23.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.19, allocations: 3.812 kB / 1.145 GB, free: 23.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/1.19, allocations: 3.984 kB / 1.145 GB, free: 23.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/1.192, allocations: 1.587 MB / 1.147 GB, free: 22.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.193, allocations: 4 kB / 1.147 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/1.193, allocations: 143.2 kB / 1.147 GB, free: 22.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.193, allocations: 7.922 kB / 1.147 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/1.193, allocations: 11.53 kB / 1.147 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/1.193, allocations: 3.812 kB / 1.147 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.193, allocations: 80 / 1.147 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/1.196, allocations: 1.271 MB / 1.148 GB, free: 22.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/1.196, allocations: 156.6 kB / 1.149 GB, free: 22.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/1.196, allocations: 11.31 kB / 1.149 GB, free: 22.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/1.196, allocations: 89.41 kB / 1.149 GB, free: 22.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.196, allocations: 54.08 kB / 1.149 GB, free: 22.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/1.197, allocations: 19.55 kB / 1.149 GB, free: 22.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005523/1.197, allocations: 456.3 kB / 1.149 GB, free: 22.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/1.197, allocations: 3.844 kB / 1.149 GB, free: 22.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007619/1.198, allocations: 254.6 kB / 1.149 GB, free: 22.09 MB / 0.698 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) * Number of clocked states: 0 () * 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.0002191/1.198, allocations: 137.6 kB / 1.149 GB, free: 21.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002489/1.201, allocations: 1.273 MB / 1.151 GB, free: 21.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.201, allocations: 0 / 1.151 GB, free: 21.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007544/1.201, allocations: 375.6 kB / 1.151 GB, free: 21.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/1.202, allocations: 121.5 kB / 1.151 GB, free: 21.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/1.205, allocations: 1.481 MB / 1.153 GB, free: 20.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/1.205, allocations: 0.9481 MB / 1.154 GB, free: 19.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004155/1.206, allocations: 82.64 kB / 1.154 GB, free: 19.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/1.206, allocations: 53.61 kB / 1.154 GB, free: 19.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.206, allocations: 0 / 1.154 GB, free: 19.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01241/1.218, allocations: 7.333 MB / 1.161 GB, free: 13.46 MB / 0.698 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)