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.186/2.186, 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.001485/0.001485, allocations: 193.9 kB / 325.6 MB, free: 2.828 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.419/2.419, allocations: 205.4 MB / 0.5766 GB, free: 21.1 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.001135/0.001134, allocations: 95.92 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006247/0.0006249, allocations: 11.56 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2612, allocations: 106.3 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004941/0.2662, allocations: 3.637 MB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003275/0.2696, allocations: 1.37 MB / 0.9038 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007862/0.2704, allocations: 19.94 kB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.2707, allocations: 71.16 kB / 0.9038 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009455/0.2716, allocations: 159.4 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008849/0.2725, allocations: 247.7 kB / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.274, allocations: 0.6082 MB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006946/0.2747, allocations: 367 kB / 0.9052 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.2751, allocations: 230.8 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.2755, allocations: 282.3 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.933e-05/0.2756, allocations: 24 kB / 0.9057 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.2757, allocations: 27.94 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.2758, allocations: 119.4 kB / 0.9058 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.2759, allocations: 161.3 kB / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.2771, allocations: 1.028 MB / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2771, allocations: 0 / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2771, allocations: 0 / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.837e-05/0.2772, allocations: 0 / 0.907 GB, free: 57.6 MB / 0.6042 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.003542/0.2807, allocations: 1.196 MB / 0.9082 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2808, allocations: 8.031 kB / 0.9082 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/0.2811, allocations: 102.7 kB / 0.9083 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.2822, allocations: 0.5668 MB / 0.9088 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.2823, allocations: 54 kB / 0.9089 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.2824, allocations: 76 kB / 0.9089 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.285, allocations: 0.8746 MB / 0.9098 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.211e-05/0.2851, allocations: 7.938 kB / 0.9098 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.886e-05/0.2852, allocations: 27.98 kB / 0.9098 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.2852, allocations: 20 kB / 0.9099 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.2883, allocations: 0.7729 MB / 0.9106 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005189/0.2935, allocations: 3.076 MB / 0.9136 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.2971, allocations: 0.8451 MB / 0.9144 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.954e-05/0.2972, allocations: 16.5 kB / 0.9145 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.2987, allocations: 409 kB / 0.9148 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 3.727e-06/0.2988, allocations: 0 / 0.9148 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.004062/0.3028, allocations: 0.9823 MB / 0.9158 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.3029, allocations: 133 kB / 0.9159 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.3039, allocations: 0.6488 MB / 0.9166 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.277e-05/0.304, allocations: 37.7 kB / 0.9166 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.3043, allocations: 392.1 kB / 0.917 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.3045, allocations: 169.5 kB / 0.9171 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.3046, allocations: 12 kB / 0.9171 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3047, allocations: 394.6 kB / 0.9175 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.306, allocations: 305 kB / 0.9178 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.3075, allocations: 440.5 kB / 0.9182 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.3089, allocations: 385.4 kB / 0.9186 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3089, allocations: 4 kB / 0.9186 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003236/0.3121, allocations: 0.8918 MB / 0.9195 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.3123, allocations: 0.6747 MB / 0.9201 GB, free: 43.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3123, allocations: 4 kB / 0.9201 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3124, allocations: 4 kB / 0.9201 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.3135, allocations: 163.8 kB / 0.9203 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3136, allocations: 11.94 kB / 0.9203 GB, free: 43.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.3147, allocations: 159.2 kB / 0.9205 GB, free: 43.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.3148, allocations: 23.98 kB / 0.9205 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.3148, allocations: 4 kB / 0.9205 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002344/0.3171, allocations: 0.688 MB / 0.9212 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3172, allocations: 0 / 0.9212 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.3172, allocations: 4 kB / 0.9212 GB, free: 42.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/0.3182, allocations: 135.9 kB / 0.9213 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.3182, allocations: 4 kB / 0.9213 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009403/0.3191, allocations: 127.3 kB / 0.9214 GB, free: 42.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.3192, allocations: 16 kB / 0.9214 GB, free: 42.32 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0004897/0.3197, allocations: 301 kB / 0.9217 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.3199, allocations: 79 kB / 0.9218 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/0.3227, allocations: 0.7378 MB / 0.9225 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.3228, allocations: 4 kB / 0.9225 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3228, allocations: 0 / 0.9225 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.3228, allocations: 4 kB / 0.9225 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.3238, allocations: 0.7354 MB / 0.9232 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.3239, allocations: 8 kB / 0.9232 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.3249, allocations: 139.8 kB / 0.9234 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.325, allocations: 3.953 kB / 0.9234 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/0.3251, allocations: 15.98 kB / 0.9234 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.3251, allocations: 4 kB / 0.9234 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3251, allocations: 0 / 0.9234 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005989/0.3311, allocations: 1.104 MB / 0.9245 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.3315, allocations: 152.2 kB / 0.9246 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.3317, allocations: 15.95 kB / 0.9246 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.3329, allocations: 91.91 kB / 0.9247 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/0.3332, allocations: 44.38 kB / 0.9248 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/0.3333, allocations: 15.98 kB / 0.9248 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001127/0.3344, allocations: 459.1 kB / 0.9252 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.32e-07/0.3344, allocations: 4 kB / 0.9252 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001579/0.336, allocations: 267 kB / 0.9255 GB, free: 38.07 MB / 0.6042 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: 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 (51): * Single equations (assignments): 47 * 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/0.3364, allocations: 115.1 kB / 0.9256 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00615/0.3425, allocations: 1.249 MB / 0.9268 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.3426, allocations: 0 / 0.9268 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.3448, allocations: 354.4 kB / 0.9272 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.3466, allocations: 150 kB / 0.9273 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.3512, allocations: 1.491 MB / 0.9288 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/0.3518, allocations: 0.9496 MB / 0.9297 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009787/0.3529, allocations: 89.17 kB / 0.9298 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/0.3533, allocations: 51.42 kB / 0.9298 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of SimCode: time 1.733e-06/0.3533, allocations: 0 / 0.9298 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.02954/0.3829, allocations: 7.601 MB / 0.9372 GB, free: 25.98 MB / 0.6042 GB