Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000946/0.000946, allocations: 97.86 kB / 16.29 MB, free: 5.945 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.0009086/0.0009086, allocations: 180.4 kB / 17.22 MB, free: 5.574 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.207/1.207, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.587/1.587, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001297/0.001297, allocations: 71.91 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1912, allocations: 114.5 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001543/0.1928, allocations: 0.5864 MB / 0.7847 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002212/0.193, allocations: 55.84 kB / 0.7847 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.193, allocations: 0 / 0.7847 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.1931, allocations: 3.938 kB / 0.7847 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.088e-06/0.1931, allocations: 0 / 0.7847 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.1933, allocations: 19.98 kB / 0.7847 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.396e-05/0.1934, allocations: 31.95 kB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.1934, allocations: 0 / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.239e-05/0.1935, allocations: 12 kB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.564e-05/0.1935, allocations: 19.97 kB / 0.7848 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1935, allocations: 4 kB / 0.7848 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.921e-05/0.1936, allocations: 19.92 kB / 0.7848 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.1936, allocations: 4 kB / 0.7848 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.1937, allocations: 15.88 kB / 0.7848 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.428e-05/0.1937, allocations: 39.88 kB / 0.7849 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.1938, allocations: 0 / 0.7849 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1938, allocations: 0 / 0.7849 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1938, allocations: 4 kB / 0.7849 GB, free: 3.008 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.0002808/0.1941, allocations: 335.8 kB / 0.7852 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1941, allocations: 8.031 kB / 0.7852 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.1941, allocations: 12.84 kB / 0.7852 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.602e-05/0.1942, allocations: 168.3 kB / 0.7854 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1942, allocations: 4.359 kB / 0.7854 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.1942, allocations: 4.375 kB / 0.7854 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1944, allocations: 62.17 kB / 0.7854 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1944, allocations: 4.188 kB / 0.7854 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1944, allocations: 7.938 kB / 0.7855 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1944, allocations: 0 / 0.7855 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1945, allocations: 111.8 kB / 0.7856 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.1947, allocations: 169.7 kB / 0.7857 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1948, allocations: 78.47 kB / 0.7858 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.1948, allocations: 28.84 kB / 0.7858 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.1951, allocations: 401.5 kB / 0.7862 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1952, allocations: 30.56 kB / 0.7862 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1952, allocations: 0 / 0.7862 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0002158/0.1954, allocations: 129.7 kB / 0.7864 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.1954, allocations: 55.41 kB / 0.7864 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.575e-05/0.1955, allocations: 93.86 kB / 0.7865 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.1955, allocations: 25.7 kB / 0.7865 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.1955, allocations: 84.14 kB / 0.7866 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1956, allocations: 19.66 kB / 0.7866 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1956, allocations: 33.7 kB / 0.7867 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.1957, allocations: 318.8 kB / 0.787 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.1957, allocations: 23.98 kB / 0.787 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.1958, allocations: 19.98 kB / 0.787 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.161e-05/0.1959, allocations: 60.72 kB / 0.7871 GB, free: 464 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1959, allocations: 0 / 0.7871 GB, free: 464 kB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001226/0.196, allocations: 93.66 kB / 0.7872 GB, free: 364 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.196, allocations: 4 kB / 0.7872 GB, free: 360 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.196, allocations: 3.938 kB / 0.7872 GB, free: 356 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.196, allocations: 0 / 0.7872 GB, free: 356 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.438e-05/0.1961, allocations: 16 kB / 0.7872 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1961, allocations: 0 / 0.7872 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.1962, allocations: 19.89 kB / 0.7872 GB, free: 320 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1962, allocations: 0 / 0.7872 GB, free: 320 kB / 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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 0.0001049/0.1963, allocations: 125.8 kB / 0.7873 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.1963, allocations: 7.984 kB / 0.7873 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.1965, allocations: 130.1 kB / 0.7874 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1965, allocations: 4 kB / 0.7874 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1965, allocations: 0 / 0.7874 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1965, allocations: 4 kB / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.312/0.5085, allocations: 170.9 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5086, allocations: 1.344 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.5087, allocations: 16.92 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.5087, allocations: 5.688 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.5087, allocations: 4.969 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.5087, allocations: 0 / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5087, allocations: 2.578 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.5089, allocations: 123.1 kB / 0.7878 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.5089, allocations: 87.94 kB / 0.7878 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.509, allocations: 1 kB / 0.7878 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.531e-05/0.509, allocations: 5.969 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.509, allocations: 9.594 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.509, allocations: 6.188 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.51e-05/0.5091, allocations: 75.28 kB / 0.7879 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5091, allocations: 0 / 0.7879 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002092/0.5093, allocations: 15.41 kB / 0.788 GB, free: 48.21 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],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.0001749/0.5095, allocations: 111.9 kB / 0.7881 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.5096, allocations: 59.59 kB / 0.7881 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5096, allocations: 6.5 kB / 0.7881 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.102e-05/0.5097, allocations: 37.7 kB / 0.7882 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.5098, allocations: 7.375 kB / 0.7882 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002149/0.51, allocations: 140.7 kB / 0.7883 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.847e-05/0.5101, allocations: 0.6831 MB / 0.789 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.323e-05/0.5102, allocations: 43.02 kB / 0.789 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.5102, allocations: 20.66 kB / 0.789 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.5102, allocations: 0 / 0.789 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of Templates: time 0.002199/0.5124, allocations: 0.5996 MB / 0.7896 GB, free: 47.33 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)