Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.851/1.851, allocations: 288.3 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 189.9 kB / 371.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 0.6306 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 88.44 kB / 0.7439 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004569, allocations: 12.88 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2764, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007431/0.2772, allocations: 318.1 kB / 0.9797 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003851/0.2776, allocations: 97.39 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.2777, allocations: 0 / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.2777, allocations: 3.984 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.2777, allocations: 0 / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.2781, allocations: 23.92 kB / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2782, allocations: 51.86 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.543e-05/0.2783, allocations: 0 / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.2783, allocations: 23.98 kB / 0.9799 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.2784, allocations: 27.95 kB / 0.98 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.2784, allocations: 0 / 0.98 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.2785, allocations: 35.97 kB / 0.98 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.2786, allocations: 19.97 kB / 0.98 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.2786, allocations: 37.7 kB / 0.98 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.2788, allocations: 39.88 kB / 0.9801 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2788, allocations: 0 / 0.9801 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2788, allocations: 0 / 0.9801 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2788, allocations: 0 / 0.9801 GB, free: 26.99 MB / 0.6198 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.0004543/0.2793, allocations: 359.6 kB / 0.9804 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.2793, allocations: 16.02 kB / 0.9804 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.2794, allocations: 7.906 kB / 0.9804 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.499e-05/0.2795, allocations: 167 kB / 0.9806 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.2797, allocations: 281 kB / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.2797, allocations: 0 / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.28, allocations: 81.62 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.28, allocations: 0 / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.28, allocations: 0 / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.28, allocations: 8 kB / 0.981 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.2803, allocations: 135.8 kB / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.2805, allocations: 177.6 kB / 0.9813 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.2808, allocations: 98.56 kB / 0.9814 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.2808, allocations: 8.219 kB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.2808, allocations: 34.5 kB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.2808, allocations: 0 / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004751/0.2813, allocations: 153.4 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.2814, allocations: 55.41 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.627e-05/0.2814, allocations: 89.86 kB / 0.9817 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.2814, allocations: 29.7 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.629e-05/0.2814, allocations: 80.33 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.2815, allocations: 31.55 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.2815, allocations: 0 / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.2816, allocations: 322.8 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2817, allocations: 31.92 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.2818, allocations: 35.97 kB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.2819, allocations: 31.97 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2819, allocations: 0 / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000275/0.2822, allocations: 121.4 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2822, allocations: 8 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2822, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2823, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2824, allocations: 19.98 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2824, allocations: 11.94 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.2825, allocations: 15.92 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2825, allocations: 0 / 0.9824 GB, free: 24.35 MB / 0.6198 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 6.5e-05/0.2826, allocations: 117.8 kB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.2826, allocations: 15.8 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.2826, allocations: 7.969 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.2827, allocations: 0 / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2827, allocations: 0 / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2827, allocations: 4 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.2828, allocations: 181.6 kB / 0.9827 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2828, allocations: 0 / 0.9827 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.2829, allocations: 27.97 kB / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.2829, allocations: 3.953 kB / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.283, allocations: 0 / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.283, allocations: 0 / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.283, allocations: 7.984 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.2833, allocations: 152.8 kB / 0.9829 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.2833, allocations: 85.05 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.2833, allocations: 3.953 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/0.2834, allocations: 11.98 kB / 0.983 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.2835, allocations: 11.92 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.2835, allocations: 7.984 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.435e-05/0.2835, allocations: 75.28 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2835, allocations: 0 / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002335/0.2837, allocations: 24 kB / 0.9831 GB, free: 23.53 MB / 0.6198 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.0001966/0.2839, allocations: 119.2 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.2842, allocations: 88.75 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2843, allocations: 3.938 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.2844, allocations: 43.97 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.892e-05/0.2845, allocations: 1.125 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.2849, allocations: 174.6 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.285, allocations: 0.6887 MB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001535/0.2851, allocations: 35.97 kB / 0.9842 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.2852, allocations: 19.42 kB / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2852, allocations: 0 / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of Templates: time 0.002895/0.2881, allocations: 0.9334 MB / 0.9851 GB, free: 21.38 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)