Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.438/2.438, allocations: 253.2 MB / 260.6 MB, free: 7.523 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 189.6 kB / 319.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.6 MB / 0.5709 GB, free: 15.23 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 88.94 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.386e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.209, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8701/1.079, allocations: 137.3 MB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/1.08, allocations: 83.94 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05644/1.136, allocations: 14.29 MB / 1.037 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.503e-06/1.136, allocations: 0 / 1.037 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.37e-05/1.136, allocations: 20 kB / 1.037 GB, free: 4.188 MB / 0.6511 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.003092/1.139, allocations: 1.063 MB / 1.038 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.139, allocations: 8.031 kB / 1.038 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/1.14, allocations: 98.78 kB / 1.038 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/1.141, allocations: 0.5421 MB / 1.038 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.183e-05/1.141, allocations: 24 kB / 1.038 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/1.141, allocations: 47.91 kB / 1.038 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001439/1.142, allocations: 486.3 kB / 1.039 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/1.144, allocations: 0.6478 MB / 1.04 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/1.144, allocations: 0 / 1.04 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.46e-05/1.144, allocations: 0 / 1.04 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/1.144, allocations: 20 kB / 1.04 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005732/1.15, allocations: 2.745 MB / 1.042 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/1.152, allocations: 0.581 MB / 1.043 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006304/1.152, allocations: 258.2 kB / 1.043 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.168e-05/1.153, allocations: 12.55 kB / 1.043 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007246/1.153, allocations: 276.8 kB / 1.043 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 5.751e-06/1.153, allocations: 4 kB / 1.043 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.001345/1.155, allocations: 478.7 kB / 1.044 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/1.155, allocations: 133.1 kB / 1.044 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008102/1.156, allocations: 446.5 kB / 1.044 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-05/1.156, allocations: 29.7 kB / 1.044 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/1.156, allocations: 375.7 kB / 1.045 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/1.156, allocations: 180.3 kB / 1.045 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/1.156, allocations: 0 / 1.045 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.157, allocations: 370.2 kB / 1.045 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/1.157, allocations: 185.7 kB / 1.045 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/1.158, allocations: 278.6 kB / 1.046 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/1.158, allocations: 202.3 kB / 1.046 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.158, allocations: 0 / 1.046 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001434/1.16, allocations: 0.5283 MB / 1.046 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002196/1.16, allocations: 420.2 kB / 1.047 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.16, allocations: 0 / 1.047 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/1.16, allocations: 4 kB / 1.047 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.161, allocations: 169.9 kB / 1.047 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.161, allocations: 0 / 1.047 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.163, allocations: 127.4 kB / 1.047 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.643e-05/1.163, allocations: 29.88 kB / 1.047 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/1.163, allocations: 4 kB / 1.047 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001184/1.164, allocations: 432.5 kB / 1.048 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.164, allocations: 0 / 1.048 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/1.164, allocations: 4 kB / 1.048 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.165, allocations: 138.5 kB / 1.048 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.165, allocations: 11.98 kB / 1.048 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009551/1.166, allocations: 87.53 kB / 1.048 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-05/1.166, allocations: 21.75 kB / 1.048 GB, free: 11.02 MB / 0.6667 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 ($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 () * 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.0002478/1.166, allocations: 116.8 kB / 1.048 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/1.166, allocations: 67.2 kB / 1.048 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/1.168, allocations: 491.7 kB / 1.048 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.168, allocations: 7.984 kB / 1.048 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.168, allocations: 8 kB / 1.049 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/1.168, allocations: 3.984 kB / 1.049 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/1.17, allocations: 1.214 MB / 1.05 GB, free: 9.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.17, allocations: 4 kB / 1.05 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/1.172, allocations: 151.7 kB / 1.05 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/1.172, allocations: 4 kB / 1.05 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/1.172, allocations: 7.984 kB / 1.05 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.172, allocations: 0 / 1.05 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.172, allocations: 8 kB / 1.05 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/1.174, allocations: 0.8827 MB / 1.051 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/1.174, allocations: 148.1 kB / 1.051 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/1.174, allocations: 7.938 kB / 1.051 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009582/1.175, allocations: 83.84 kB / 1.051 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/1.175, allocations: 55.81 kB / 1.051 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/1.175, allocations: 15.94 kB / 1.051 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000601/1.176, allocations: 336.1 kB / 1.051 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.81e-07/1.176, allocations: 0 / 1.051 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001109/1.177, allocations: 254.7 kB / 1.052 GB, free: 7.965 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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) * 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.0002222/1.177, allocations: 118.9 kB / 1.052 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001971/1.179, allocations: 0.9101 MB / 1.053 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.179, allocations: 7.5 kB / 1.053 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000661/1.18, allocations: 252.3 kB / 1.053 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/1.181, allocations: 128.1 kB / 1.053 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/1.184, allocations: 0.8938 MB / 1.054 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/1.184, allocations: 0.9507 MB / 1.055 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009314/1.185, allocations: 104.9 kB / 1.055 GB, free: 4.996 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/1.186, allocations: 45.92 kB / 1.055 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of SimCode: time 3.236e-06/1.186, allocations: 0 / 1.055 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of Templates: time 0.03246/1.218, allocations: 7.669 MB / 1.062 GB, free: 13.36 MB / 0.6823 GB