Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001672, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005165/0.0005165, allocations: 15.25 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2964, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0008082/0.2973, allocations: 319.5 kB / 0.7876 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003485/0.2977, allocations: 91.73 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.2977, allocations: 0 / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.2977, allocations: 0 / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.2978, allocations: 0 / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.2981, allocations: 31.95 kB / 0.7877 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.2982, allocations: 59.92 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.2982, allocations: 3.984 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.314e-05/0.2983, allocations: 23.92 kB / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.2983, allocations: 27.95 kB / 0.7878 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.2983, allocations: 4 kB / 0.7878 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.2985, allocations: 39.97 kB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.2985, allocations: 19.97 kB / 0.7879 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.2985, allocations: 29.7 kB / 0.7879 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.565e-05/0.2986, allocations: 47.86 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2986, allocations: 0 / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2987, allocations: 0 / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.2987, allocations: 4 kB / 0.788 GB, free: 11.21 MB / 0.6075 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.000438/0.2991, allocations: 355.7 kB / 0.7883 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2992, allocations: 12.03 kB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.2992, allocations: 11.84 kB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.576e-05/0.2993, allocations: 167 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/0.2996, allocations: 285 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.2996, allocations: 4 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.2998, allocations: 77.64 kB / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.2998, allocations: 0 / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2999, allocations: 0 / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2999, allocations: 0 / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.3002, allocations: 147.7 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.3004, allocations: 177.5 kB / 0.7892 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.3007, allocations: 94.53 kB / 0.7892 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3009, allocations: 40.83 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3009, allocations: 3.984 kB / 0.7893 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3009, allocations: 38.56 kB / 0.7893 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.3009, allocations: 4 kB / 0.7893 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0005555/0.3015, allocations: 145.8 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3016, allocations: 55.34 kB / 0.7895 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.476e-05/0.3016, allocations: 89.86 kB / 0.7896 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3016, allocations: 29.7 kB / 0.7896 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.3017, allocations: 84.33 kB / 0.7897 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.3017, allocations: 31.55 kB / 0.7897 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.3018, allocations: 0 / 0.7897 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3019, allocations: 318.8 kB / 0.79 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.302, allocations: 31.97 kB / 0.7901 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3022, allocations: 35.97 kB / 0.7901 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3023, allocations: 31.97 kB / 0.7901 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3023, allocations: 0 / 0.7901 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003223/0.3027, allocations: 122 kB / 0.7903 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3027, allocations: 4 kB / 0.7903 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3027, allocations: 4 kB / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3027, allocations: 0 / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.3029, allocations: 19.98 kB / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3029, allocations: 4 kB / 0.7903 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.303, allocations: 15.92 kB / 0.7903 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.303, allocations: 4 kB / 0.7903 GB, free: 8.535 MB / 0.6075 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 8.673e-05/0.3031, allocations: 118.5 kB / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.3031, allocations: 11.86 kB / 0.7904 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.3032, allocations: 7.969 kB / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3032, allocations: 0 / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3032, allocations: 0 / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3032, allocations: 7.938 kB / 0.7904 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.3033, allocations: 177.6 kB / 0.7906 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3034, allocations: 0 / 0.7906 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.3035, allocations: 27.97 kB / 0.7906 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.401e-05/0.3036, allocations: 7.953 kB / 0.7906 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3036, allocations: 0 / 0.7906 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3036, allocations: 0 / 0.7906 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3036, allocations: 7.938 kB / 0.7907 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.304, allocations: 153 kB / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.304, allocations: 85.05 kB / 0.7909 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.304, allocations: 3.953 kB / 0.7909 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.447e-05/0.3041, allocations: 11.92 kB / 0.7909 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.3042, allocations: 11.98 kB / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3042, allocations: 7.984 kB / 0.7909 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.819e-05/0.3042, allocations: 75.28 kB / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3042, allocations: 0 / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002273/0.3045, allocations: 20 kB / 0.791 GB, free: 7.715 MB / 0.6075 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.0002287/0.3047, allocations: 123.2 kB / 0.7911 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.305, allocations: 87.81 kB / 0.7912 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3051, allocations: 0 / 0.7912 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3052, allocations: 43.97 kB / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.3054, allocations: 4 kB / 0.7913 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.3058, allocations: 166.7 kB / 0.7914 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.3062, allocations: 0.6848 MB / 0.7921 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.3064, allocations: 43.89 kB / 0.7921 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.3064, allocations: 15.42 kB / 0.7921 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of SimCode: time 1.432e-06/0.3064, allocations: 0 / 0.7921 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of Templates: time 0.003518/0.31, allocations: 0.9485 MB / 0.7931 GB, free: 5.551 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: