Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.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.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.563/2.563, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001619/0.001619, allocations: 188.7 kB / 325.6 MB, free: 2.809 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.584/2.584, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001167/0.001167, allocations: 98.33 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004674, allocations: 18.44 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2499, allocations: 106.2 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001085/0.251, allocations: 329.1 kB / 0.8992 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000546/0.2516, allocations: 100.5 kB / 0.8993 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.2517, allocations: 4 kB / 0.8993 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.2518, allocations: 0 / 0.8993 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.2518, allocations: 4 kB / 0.8993 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.2522, allocations: 27.91 kB / 0.8993 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.2524, allocations: 43.94 kB / 0.8994 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.2524, allocations: 0 / 0.8994 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.221e-05/0.2525, allocations: 23.97 kB / 0.8994 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.2526, allocations: 23.97 kB / 0.8994 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.2527, allocations: 0 / 0.8994 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.2529, allocations: 43.89 kB / 0.8995 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.253, allocations: 19.97 kB / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.253, allocations: 37.64 kB / 0.8995 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.2532, allocations: 43.94 kB / 0.8996 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2532, allocations: 0 / 0.8996 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.386e-06/0.2533, allocations: 0 / 0.8996 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2533, allocations: 0 / 0.8996 GB, free: 64.78 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007322/0.254, allocations: 355.3 kB / 0.8999 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.2541, allocations: 12.03 kB / 0.8999 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.2542, allocations: 4 kB / 0.8999 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.812e-05/0.2543, allocations: 167 kB / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000453/0.2548, allocations: 286.1 kB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.2548, allocations: 8 kB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.2554, allocations: 85.52 kB / 0.9004 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.2554, allocations: 0 / 0.9004 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.2555, allocations: 0 / 0.9004 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.2555, allocations: 4 kB / 0.9004 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009798/0.2565, allocations: 135.8 kB / 0.9006 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.2568, allocations: 181.7 kB / 0.9007 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008122/0.2576, allocations: 90.53 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.781e-05/0.2577, allocations: 7.984 kB / 0.9008 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.2578, allocations: 42.5 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 4.107e-06/0.2578, allocations: 0 / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001384/0.2592, allocations: 145.8 kB / 0.901 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2593, allocations: 55.41 kB / 0.9011 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.308e-05/0.2594, allocations: 93.8 kB / 0.9011 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.2594, allocations: 29.7 kB / 0.9012 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.2594, allocations: 84.33 kB / 0.9013 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.121e-05/0.2595, allocations: 35.45 kB / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.2596, allocations: 0 / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2597, allocations: 322.8 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.2601, allocations: 27.97 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.2605, allocations: 35.92 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.2609, allocations: 31.97 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2609, allocations: 0 / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0009402/0.2619, allocations: 109.6 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.2619, allocations: 12 kB / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.262, allocations: 0 / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.262, allocations: 0 / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.2625, allocations: 23.97 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.2625, allocations: 4 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.2627, allocations: 7.906 kB / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.2627, allocations: 15.95 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001363/0.2629, allocations: 121.7 kB / 0.902 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.2629, allocations: 4 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.263, allocations: 11.97 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2631, allocations: 0 / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2631, allocations: 0 / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2631, allocations: 7.984 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.2634, allocations: 189.4 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.2634, allocations: 0 / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.2638, allocations: 23.98 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.2639, allocations: 0 / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.2639, allocations: 3.984 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-06/0.2639, allocations: 3.938 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.264, allocations: 4 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/0.2649, allocations: 141 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.265, allocations: 85.05 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.265, allocations: 0 / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.2652, allocations: 4 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.2653, allocations: 15.97 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.2654, allocations: 4 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.289e-05/0.2654, allocations: 79.28 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2654, allocations: 0 / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005068/0.2659, allocations: 20 kB / 0.9025 GB, free: 61.33 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000297/0.2663, allocations: 119.2 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009185/0.2672, allocations: 84.75 kB / 0.9027 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.2672, allocations: 3.938 kB / 0.9027 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.2677, allocations: 55.89 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.2679, allocations: 4 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007954/0.2687, allocations: 159.1 kB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.2689, allocations: 0.6907 MB / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003125/0.2693, allocations: 47.81 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.2694, allocations: 15.42 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of SimCode: time 2.064e-06/0.2694, allocations: 0 / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.006115/0.2755, allocations: 0.9351 MB / 0.9046 GB, free: 59.17 MB / 0.6042 GB