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.267/2.267, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.001518, allocations: 172.6 kB / 325.6 MB, free: 2.848 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.269/2.269, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.001145/0.001145, allocations: 87.92 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004879, allocations: 15.47 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.4365, allocations: 137.1 MB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.4368, allocations: 79.95 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05801/0.4949, allocations: 14.4 MB / 1.047 GB, free: 9.711 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4949, allocations: 0 / 1.047 GB, free: 9.711 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.181e-05/0.495, allocations: 23.94 kB / 1.047 GB, free: 9.688 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.003956/0.499, allocations: 1.193 MB / 1.048 GB, free: 8.426 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.499, allocations: 8.031 kB / 1.048 GB, free: 8.418 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003794/0.4994, allocations: 102.8 kB / 1.048 GB, free: 8.316 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.5008, allocations: 0.5452 MB / 1.049 GB, free: 7.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.432e-05/0.5009, allocations: 58 kB / 1.049 GB, free: 7.676 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.5011, allocations: 68 kB / 1.049 GB, free: 7.609 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.5042, allocations: 0.8786 MB / 1.05 GB, free: 6.691 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.5042, allocations: 7.938 kB / 1.05 GB, free: 6.684 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.5044, allocations: 35.98 kB / 1.05 GB, free: 6.648 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.5044, allocations: 20 kB / 1.05 GB, free: 6.629 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003574/0.508, allocations: 0.7885 MB / 1.051 GB, free: 5.844 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00657/0.5146, allocations: 2.903 MB / 1.053 GB, free: 2.848 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/0.5188, allocations: 0.9363 MB / 1.054 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.56e-05/0.519, allocations: 8.547 kB / 1.054 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/0.5208, allocations: 447.3 kB / 1.055 GB, free: 1.441 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 4.678e-06/0.5208, allocations: 0 / 1.055 GB, free: 1.441 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.004798/0.5256, allocations: 1.056 MB / 1.056 GB, free: 388 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.5257, allocations: 137.1 kB / 1.056 GB, free: 220 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.602/1.128, allocations: 0.567 MB / 1.056 GB, free: 146.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/1.128, allocations: 38.97 kB / 1.056 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/1.128, allocations: 362 kB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/1.129, allocations: 190.9 kB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/1.129, allocations: 9.906 kB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/1.129, allocations: 328.7 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/1.13, allocations: 327.5 kB / 1.058 GB, free: 146.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/1.132, allocations: 436.9 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/1.134, allocations: 391 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.134, allocations: 0 / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003532/1.137, allocations: 0.9025 MB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/1.137, allocations: 422.5 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.137, allocations: 3.281 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/1.137, allocations: 2.969 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.139, allocations: 166.2 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/1.139, allocations: 5.406 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.14, allocations: 144.8 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-05/1.14, allocations: 19.08 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.14, allocations: 5.969 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00245/1.143, allocations: 0.6986 MB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.143, allocations: 2.75 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/1.143, allocations: 2.031 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.144, allocations: 138.8 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/1.144, allocations: 7.094 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.145, allocations: 107.5 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/1.145, allocations: 25.52 kB / 1.061 GB, free: 145.3 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 ($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 () * Number of clocked 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.0005696/1.145, allocations: 304.3 kB / 1.061 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/1.146, allocations: 72.03 kB / 1.061 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/1.149, allocations: 0.7967 MB / 1.062 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.149, allocations: 5.781 kB / 1.062 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.149, allocations: 0.5625 kB / 1.062 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/1.149, allocations: 10.61 kB / 1.062 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004665/1.154, allocations: 1.628 MB / 1.064 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.154, allocations: 0.5156 kB / 1.064 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/1.155, allocations: 152 kB / 1.064 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/1.155, allocations: 3.578 kB / 1.064 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.935e-05/1.155, allocations: 17.64 kB / 1.064 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/1.155, allocations: 3.688 kB / 1.064 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.155, allocations: 3.562 kB / 1.064 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00522/1.16, allocations: 1.33 MB / 1.065 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/1.161, allocations: 161.1 kB / 1.065 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/1.161, allocations: 13.38 kB / 1.065 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/1.162, allocations: 93.38 kB / 1.065 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/1.162, allocations: 51.3 kB / 1.066 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/1.162, allocations: 18.81 kB / 1.066 GB, free: 144.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001033/1.163, allocations: 459.3 kB / 1.066 GB, free: 144.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.453e-06/1.163, allocations: 4 kB / 1.066 GB, free: 144.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001275/1.165, allocations: 265.9 kB / 1.066 GB, free: 144.1 MB / 0.698 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) * 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.0002556/1.165, allocations: 122.2 kB / 1.066 GB, free: 144 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005189/1.17, allocations: 1.291 MB / 1.068 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.17, allocations: 0 / 1.068 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/1.172, allocations: 399.4 kB / 1.068 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/1.173, allocations: 152.6 kB / 1.068 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/1.178, allocations: 1.54 MB / 1.07 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/1.178, allocations: 0.9469 MB / 1.071 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008438/1.179, allocations: 87.09 kB / 1.071 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/1.18, allocations: 56.47 kB / 1.071 GB, free: 142.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/1.18, allocations: 4 kB / 1.071 GB, free: 142.2 MB / 0.698 GB Notification: Performance of Templates: time 0.02708/1.207, allocations: 7.845 MB / 1.078 GB, free: 141.8 MB / 0.698 GB