Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009005/0.009005, allocations: 107.8 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001111/0.001111, allocations: 186.5 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.077/2.077, allocations: 194.6 MB / 211.3 MB, free: 11.3 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.196/2.196, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008884/0.0008888, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5856/0.5865, allocations: 98.72 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006056/0.5872, allocations: 309.9 kB / 0.6836 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000219/0.5874, allocations: 59.73 kB / 0.6837 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.411e-05/0.5874, allocations: 1.125 kB / 0.6837 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.5875, allocations: 0 / 0.6837 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-06/0.5875, allocations: 0 / 0.6837 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.5877, allocations: 19.64 kB / 0.6837 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.548e-05/0.5878, allocations: 19.58 kB / 0.6837 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.5878, allocations: 2.031 kB / 0.6837 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.177e-05/0.5879, allocations: 11.23 kB / 0.6837 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.5879, allocations: 14.45 kB / 0.6838 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.5879, allocations: 2.312 kB / 0.6838 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.724e-05/0.588, allocations: 14.19 kB / 0.6838 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.588, allocations: 10.7 kB / 0.6838 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.5881, allocations: 32.2 kB / 0.6838 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.689e-05/0.5881, allocations: 16.06 kB / 0.6838 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.443e-06/0.5882, allocations: 0 / 0.6838 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5882, allocations: 4 kB / 0.6838 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.106e-06/0.5882, allocations: 1.188 kB / 0.6838 GB, free: 16.53 MB / 0.5261 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.0002332/0.5884, allocations: 323.9 kB / 0.6841 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.5885, allocations: 8.219 kB / 0.6842 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.5885, allocations: 6.531 kB / 0.6842 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.613e-05/0.5886, allocations: 169.3 kB / 0.6843 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.5886, allocations: 2.031 kB / 0.6843 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.5886, allocations: 4.062 kB / 0.6843 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.5888, allocations: 68.56 kB / 0.6844 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.107e-06/0.5888, allocations: 0 / 0.6844 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.5888, allocations: 5.312 kB / 0.6844 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.623e-06/0.5888, allocations: 5.312 kB / 0.6844 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.589, allocations: 100.5 kB / 0.6845 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.5892, allocations: 180 kB / 0.6847 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.5893, allocations: 75.77 kB / 0.6847 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.5896, allocations: 402.9 kB / 0.6851 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.5896, allocations: 36.67 kB / 0.6852 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.5897, allocations: 0 / 0.6852 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0002883/0.5899, allocations: 112.6 kB / 0.6853 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.59, allocations: 58.31 kB / 0.6853 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.892e-05/0.59, allocations: 99.84 kB / 0.6854 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.59, allocations: 26.41 kB / 0.6854 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.424e-05/0.5901, allocations: 82.27 kB / 0.6855 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.5901, allocations: 19.31 kB / 0.6855 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-06/0.5901, allocations: 0 / 0.6855 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.363e-05/0.5902, allocations: 323.1 kB / 0.6859 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.107e-05/0.5903, allocations: 18.69 kB / 0.6859 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.008e-05/0.5903, allocations: 20.86 kB / 0.6859 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.822e-05/0.5904, allocations: 30.36 kB / 0.6859 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-06/0.5904, allocations: 1.406 kB / 0.6859 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000175/0.5906, allocations: 97.03 kB / 0.686 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.5906, allocations: 5.312 kB / 0.686 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.768e-06/0.5906, allocations: 0.6094 kB / 0.686 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5907, allocations: 1.281 kB / 0.686 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.5908, allocations: 25.61 kB / 0.686 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.585e-06/0.5908, allocations: 0.6562 kB / 0.686 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.5908, allocations: 1.406 kB / 0.686 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.5909, allocations: 3.828 kB / 0.686 GB, free: 14.38 MB / 0.5261 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 (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 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.0001213/0.591, allocations: 124.4 kB / 0.6862 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.591, allocations: 6.109 kB / 0.6862 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.5913, allocations: 134.7 kB / 0.6863 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.812e-06/0.5913, allocations: 1.438 kB / 0.6863 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.277e-06/0.5913, allocations: 1.562 kB / 0.6863 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.326e-06/0.5913, allocations: 1.312 kB / 0.6863 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.5914, allocations: 177.8 kB / 0.6865 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-06/0.5915, allocations: 3.953 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.5916, allocations: 17.39 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.089e-06/0.5916, allocations: 1.281 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.5916, allocations: 2.328 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.082e-06/0.5916, allocations: 0.6562 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.528e-06/0.5916, allocations: 9.531 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.5918, allocations: 120 kB / 0.6866 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.5918, allocations: 90.41 kB / 0.6867 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.5919, allocations: 5.797 kB / 0.6867 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.278e-05/0.5919, allocations: 1.219 kB / 0.6867 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.592, allocations: 7.297 kB / 0.6867 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.592, allocations: 4.078 kB / 0.6867 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.637e-05/0.592, allocations: 79.94 kB / 0.6868 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.07e-07/0.592, allocations: 0 / 0.6868 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002726/0.5923, allocations: 19.09 kB / 0.6868 GB, free: 13.68 MB / 0.5261 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 (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.0001685/0.5925, allocations: 114.4 kB / 0.6869 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.5927, allocations: 58.42 kB / 0.687 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.66e-06/0.5927, allocations: 0 / 0.687 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.61e-05/0.5928, allocations: 40.56 kB / 0.687 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001076/0.5929, allocations: 5 kB / 0.687 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.5932, allocations: 146.5 kB / 0.6872 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.5933, allocations: 0.6919 MB / 0.6878 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001/0.5934, allocations: 34.34 kB / 0.6879 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.5935, allocations: 17.44 kB / 0.6879 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.303e-06/0.5935, allocations: 4 kB / 0.6879 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of Templates: time 0.003036/0.5965, allocations: 0.559 MB / 0.6884 GB, free: 12.64 MB / 0.5261 GB