Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.466/2.466, allocations: 287.5 MB / 303.2 MB, free: 8.242 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.00131/0.00131, allocations: 181.9 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009514/0.0009511, allocations: 101 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004749, allocations: 10 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8902/1.099, allocations: 142.4 MB / 1.118 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/1.1, allocations: 86.62 kB / 1.118 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05475/1.154, allocations: 12.39 MB / 1.131 GB, free: 29.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.715e-06/1.154, allocations: 0 / 1.131 GB, free: 29.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.875e-05/1.154, allocations: 18.69 kB / 1.131 GB, free: 29.98 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.003743/1.158, allocations: 1.151 MB / 1.132 GB, free: 29.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.158, allocations: 11.59 kB / 1.132 GB, free: 29.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/1.159, allocations: 98.25 kB / 1.132 GB, free: 29.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/1.16, allocations: 0.5408 MB / 1.132 GB, free: 28.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/1.16, allocations: 57.34 kB / 1.132 GB, free: 28.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/1.16, allocations: 71.2 kB / 1.132 GB, free: 28.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/1.163, allocations: 0.8594 MB / 1.133 GB, free: 28.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/1.163, allocations: 192 / 1.133 GB, free: 28.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.163, allocations: 30.16 kB / 1.133 GB, free: 28.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/1.163, allocations: 27.12 kB / 1.133 GB, free: 28.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003173/1.166, allocations: 0.7776 MB / 1.134 GB, free: 28.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005791/1.172, allocations: 2.431 MB / 1.136 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/1.176, allocations: 0.8837 MB / 1.137 GB, free: 26.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/1.177, allocations: 383.6 kB / 1.138 GB, free: 26.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.218e-05/1.177, allocations: 12.19 kB / 1.138 GB, free: 26.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001687/1.179, allocations: 451.4 kB / 1.138 GB, free: 26.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 5.55e-06/1.179, allocations: 0 / 1.138 GB, free: 26.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.004333/1.183, allocations: 1.049 MB / 1.139 GB, free: 26.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.183, allocations: 136.9 kB / 1.139 GB, free: 26.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/1.185, allocations: 0.6484 MB / 1.14 GB, free: 26.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001745/1.185, allocations: 39.98 kB / 1.14 GB, free: 26.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/1.185, allocations: 355.6 kB / 1.14 GB, free: 25.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/1.185, allocations: 185.3 kB / 1.14 GB, free: 25.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/1.185, allocations: 7.625 kB / 1.14 GB, free: 25.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002069/1.186, allocations: 383.7 kB / 1.141 GB, free: 25.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/1.187, allocations: 317.4 kB / 1.141 GB, free: 25.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/1.188, allocations: 431.2 kB / 1.142 GB, free: 25.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/1.191, allocations: 0.715 MB / 1.142 GB, free: 24.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.191, allocations: 7.938 kB / 1.142 GB, free: 24.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003262/1.194, allocations: 0.8798 MB / 1.143 GB, free: 24.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/1.195, allocations: 170.8 kB / 1.143 GB, free: 24.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.195, allocations: 0 / 1.143 GB, free: 24.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/1.195, allocations: 3.844 kB / 1.143 GB, free: 24.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.196, allocations: 162.8 kB / 1.143 GB, free: 24.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/1.196, allocations: 3.984 kB / 1.143 GB, free: 24.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/1.197, allocations: 146.2 kB / 1.144 GB, free: 24.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/1.197, allocations: 22.53 kB / 1.144 GB, free: 24.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.197, allocations: 7.781 kB / 1.144 GB, free: 24.42 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002344/1.2, allocations: 0.6824 MB / 1.144 GB, free: 24.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/1.2, allocations: 0 / 1.144 GB, free: 24.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/1.2, allocations: 3.844 kB / 1.144 GB, free: 24.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009597/1.201, allocations: 131.6 kB / 1.144 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.201, allocations: 0 / 1.144 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/1.202, allocations: 120 kB / 1.145 GB, free: 24.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/1.202, allocations: 18.59 kB / 1.145 GB, free: 24.18 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.0006567/1.202, allocations: 308.7 kB / 1.145 GB, free: 23.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/1.203, allocations: 73.84 kB / 1.145 GB, free: 23.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002968/1.206, allocations: 0.7839 MB / 1.146 GB, free: 23.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/1.206, allocations: 11.66 kB / 1.146 GB, free: 23.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.206, allocations: 0 / 1.146 GB, free: 23.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.206, allocations: 3.984 kB / 1.146 GB, free: 23.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/1.21, allocations: 1.595 MB / 1.147 GB, free: 23.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.21, allocations: 3.875 kB / 1.147 GB, free: 23.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.211, allocations: 143 kB / 1.147 GB, free: 23.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/1.211, allocations: 0 / 1.147 GB, free: 23.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/1.211, allocations: 14.84 kB / 1.147 GB, free: 23.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/1.211, allocations: 3.969 kB / 1.147 GB, free: 23.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.211, allocations: 4 kB / 1.147 GB, free: 23.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004461/1.216, allocations: 1.258 MB / 1.149 GB, free: 22.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/1.216, allocations: 162.9 kB / 1.149 GB, free: 22.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/1.216, allocations: 14.62 kB / 1.149 GB, free: 22.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009481/1.217, allocations: 100.2 kB / 1.149 GB, free: 22.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/1.217, allocations: 45.61 kB / 1.149 GB, free: 22.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/1.217, allocations: 21.86 kB / 1.149 GB, free: 22.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008436/1.218, allocations: 461.6 kB / 1.149 GB, free: 22.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.218, allocations: 0 / 1.149 GB, free: 22.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001037/1.219, allocations: 252.2 kB / 1.15 GB, free: 22.29 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.0002492/1.22, allocations: 132.1 kB / 1.15 GB, free: 22.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004323/1.224, allocations: 1.265 MB / 1.151 GB, free: 21.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.224, allocations: 3.812 kB / 1.151 GB, free: 21.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/1.226, allocations: 375.5 kB / 1.151 GB, free: 21.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/1.227, allocations: 129.4 kB / 1.151 GB, free: 21.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/1.231, allocations: 1.499 MB / 1.153 GB, free: 20.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/1.231, allocations: 0.9214 MB / 1.154 GB, free: 19.97 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006864/1.232, allocations: 79.5 kB / 1.154 GB, free: 19.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/1.232, allocations: 49.67 kB / 1.154 GB, free: 19.93 MB / 0.698 GB Notification: Performance of SimCode: time 1.733e-06/1.232, allocations: 4 kB / 1.154 GB, free: 19.92 MB / 0.698 GB Notification: Performance of Templates: time 0.02113/1.253, allocations: 7.334 MB / 1.161 GB, free: 14.17 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)