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.001653/0.001653, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001983/0.001984, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.894/1.894, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001401/0.001401, allocations: 72.47 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2771, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002023/0.2791, allocations: 0.5898 MB / 0.7854 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003998/0.2796, allocations: 99.66 kB / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.2796, allocations: 0 / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.2796, allocations: 0 / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.2797, allocations: 0 / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.28, allocations: 43.88 kB / 0.7855 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.2802, allocations: 63.92 kB / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.2803, allocations: 4 kB / 0.7856 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.323e-05/0.2803, allocations: 23.92 kB / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.2804, allocations: 27.89 kB / 0.7856 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2804, allocations: 8 kB / 0.7856 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.2805, allocations: 47.95 kB / 0.7857 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.2806, allocations: 19.92 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.2806, allocations: 23.91 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.2808, allocations: 71.83 kB / 0.7858 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2808, allocations: 0 / 0.7858 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2808, allocations: 0 / 0.7858 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2808, allocations: 0 / 0.7858 GB, free: 2.125 MB / 0.6544 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.0005469/0.2814, allocations: 371.5 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2814, allocations: 16.03 kB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.2815, allocations: 8.844 kB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2816, allocations: 164.3 kB / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.2819, allocations: 277.6 kB / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.2819, allocations: 4.375 kB / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.2822, allocations: 90.06 kB / 0.7867 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2822, allocations: 3.938 kB / 0.7867 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2822, allocations: 0 / 0.7867 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2822, allocations: 4 kB / 0.7867 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.2826, allocations: 135.8 kB / 0.7868 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.2828, allocations: 177.6 kB / 0.787 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.2831, allocations: 90.53 kB / 0.7871 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.2832, allocations: 44.83 kB / 0.7871 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.2832, allocations: 3.984 kB / 0.7871 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.2833, allocations: 42.5 kB / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.2833, allocations: 0 / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.000525/0.2838, allocations: 157.7 kB / 0.7873 GB, free: 344 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.2839, allocations: 55.41 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.448e-05/0.2839, allocations: 89.86 kB / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.2839, allocations: 29.7 kB / 0.7875 GB, free: 140 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.284, allocations: 80.14 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.284, allocations: 31.55 kB / 0.7876 GB, free: 24 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4738/0.7578, allocations: 25.7 kB / 0.7876 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.7579, allocations: 318.8 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.7581, allocations: 27.94 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.7583, allocations: 35.2 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.7585, allocations: 80.8 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.7585, allocations: 3.969 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003411/0.7589, allocations: 112.6 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7589, allocations: 9.75 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.7589, allocations: 0 / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.7589, allocations: 2.625 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.7591, allocations: 23.75 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.7591, allocations: 0 / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.7592, allocations: 13.3 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.7592, allocations: 8.188 kB / 0.7882 GB, free: 48.35 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.02e-05/0.7593, allocations: 117.8 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.7593, allocations: 5.844 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.7594, allocations: 13.09 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7594, allocations: 3.281 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7594, allocations: 3.938 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7594, allocations: 0 / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.998e-05/0.7595, allocations: 176.9 kB / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7595, allocations: 0 / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.7596, allocations: 27.25 kB / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.7596, allocations: 0 / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.7596, allocations: 6.359 kB / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7596, allocations: 3.562 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7597, allocations: 5.344 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.76, allocations: 146.1 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.76, allocations: 81.17 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.76, allocations: 3.938 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.7601, allocations: 3.312 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.7601, allocations: 20.33 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.7601, allocations: 9.609 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.404e-05/0.7602, allocations: 77 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7602, allocations: 0 / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000223/0.7604, allocations: 16.66 kB / 0.7889 GB, free: 47.8 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001817/0.7606, allocations: 128.4 kB / 0.789 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000312/0.7609, allocations: 86.94 kB / 0.7891 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.7609, allocations: 0.9375 kB / 0.7891 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.761, allocations: 46.84 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.7612, allocations: 6.562 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.7616, allocations: 197 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.7617, allocations: 0.6812 MB / 0.79 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.7617, allocations: 21.73 kB / 0.79 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.7618, allocations: 0 / 0.79 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.002549/0.7643, allocations: 1.313 MB / 0.7913 GB, free: 46.86 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (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)