Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.454/2.454, allocations: 284.8 MB / 297.3 MB, free: 6.293 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 188.2 kB / 365.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.1 MB / 0.6241 GB, free: 8.215 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001062, allocations: 95.62 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.419e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8122, allocations: 115.2 MB / 0.97 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2621/1.074, allocations: 142.3 MB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/1.075, allocations: 84.83 kB / 1.109 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05285/1.128, allocations: 12.35 MB / 1.121 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/1.128, allocations: 4 kB / 1.121 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.029e-05/1.128, allocations: 16 kB / 1.121 GB, free: 13.8 MB / 0.7292 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.00335/1.131, allocations: 1.049 MB / 1.122 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.131, allocations: 8.031 kB / 1.122 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/1.132, allocations: 96.08 kB / 1.122 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/1.133, allocations: 0.5181 MB / 1.123 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.502e-05/1.133, allocations: 54 kB / 1.123 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/1.133, allocations: 76 kB / 1.123 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/1.135, allocations: 0.702 MB / 1.124 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/1.135, allocations: 11.94 kB / 1.124 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.135, allocations: 31.98 kB / 1.124 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/1.135, allocations: 22.69 kB / 1.124 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/1.137, allocations: 0.5038 MB / 1.124 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006315/1.143, allocations: 2.437 MB / 1.126 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/1.145, allocations: 0.5764 MB / 1.127 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007052/1.146, allocations: 259.4 kB / 1.127 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.686e-05/1.146, allocations: 8.438 kB / 1.127 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008689/1.147, allocations: 315.4 kB / 1.128 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 4.368e-06/1.147, allocations: 4 kB / 1.128 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.001553/1.149, allocations: 494.2 kB / 1.128 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.149, allocations: 141.1 kB / 1.128 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/1.15, allocations: 0.5583 MB / 1.129 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/1.15, allocations: 45.69 kB / 1.129 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/1.151, allocations: 360.8 kB / 1.129 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/1.151, allocations: 185.3 kB / 1.129 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/1.151, allocations: 8 kB / 1.129 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002336/1.151, allocations: 380 kB / 1.13 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/1.152, allocations: 185.1 kB / 1.13 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007204/1.153, allocations: 287.5 kB / 1.13 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/1.153, allocations: 250.7 kB / 1.13 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.153, allocations: 0 / 1.13 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001803/1.155, allocations: 0.6225 MB / 1.131 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002743/1.155, allocations: 418.7 kB / 1.131 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.155, allocations: 0 / 1.131 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/1.155, allocations: 8 kB / 1.131 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/1.157, allocations: 155.8 kB / 1.132 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/1.157, allocations: 7.938 kB / 1.132 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/1.158, allocations: 147.3 kB / 1.132 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.871e-05/1.158, allocations: 19.98 kB / 1.132 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.158, allocations: 6.062 kB / 1.132 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001447/1.16, allocations: 0.5164 MB / 1.132 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.16, allocations: 5.328 kB / 1.132 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/1.16, allocations: 4.094 kB / 1.132 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/1.161, allocations: 127.8 kB / 1.132 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/1.161, allocations: 4 kB / 1.132 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/1.162, allocations: 115.4 kB / 1.132 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/1.162, allocations: 20 kB / 1.132 GB, free: 1.754 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.0002943/1.162, allocations: 148.8 kB / 1.133 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/1.163, allocations: 77.31 kB / 1.133 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/1.164, allocations: 0.5221 MB / 1.133 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/1.164, allocations: 8 kB / 1.133 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.164, allocations: 0 / 1.133 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/1.164, allocations: 3.984 kB / 1.133 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/1.167, allocations: 1.332 MB / 1.134 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.167, allocations: 0 / 1.134 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/1.169, allocations: 139.8 kB / 1.135 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/1.169, allocations: 4 kB / 1.135 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.098e-05/1.169, allocations: 19.98 kB / 1.135 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.169, allocations: 0 / 1.135 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.169, allocations: 0 / 1.135 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/1.171, allocations: 0.8692 MB / 1.136 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/1.171, allocations: 161.9 kB / 1.136 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/1.172, allocations: 12 kB / 1.136 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/1.173, allocations: 95.91 kB / 1.136 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/1.173, allocations: 56.42 kB / 1.136 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/1.173, allocations: 18.31 kB / 1.136 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009348/1.174, allocations: 455.2 kB / 1.136 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.81e-07/1.174, allocations: 0 / 1.136 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001058/1.175, allocations: 255.1 kB / 1.137 GB, free: 13.5 MB / 0.7448 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.0002516/1.175, allocations: 136.5 kB / 1.137 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002326/1.178, allocations: 0.9424 MB / 1.138 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.178, allocations: 4.062 kB / 1.138 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006982/1.178, allocations: 243.2 kB / 1.138 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/1.179, allocations: 126.1 kB / 1.138 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/1.182, allocations: 0.8894 MB / 1.139 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/1.183, allocations: 0.9441 MB / 1.14 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009558/1.184, allocations: 107.6 kB / 1.14 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/1.184, allocations: 51.42 kB / 1.14 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of SimCode: time 9.31e-07/1.184, allocations: 0 / 1.14 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of Templates: time 0.02749/1.212, allocations: 8.373 MB / 1.148 GB, free: 1.762 MB / 0.7448 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)