Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00424/0.004244, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001221/0.001221, allocations: 175.3 kB / 16.7 MB, free: 5.453 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 3.944/3.944, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.101/4.101, allocations: 472.3 MB / 0.9024 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006715/0.0006718, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.186, allocations: 98.72 MB / 1.105 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8038/0.9899, allocations: 124.9 MB / 1.227 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.9903, allocations: 77.28 kB / 1.227 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004286/0.9946, allocations: 1.02 MB / 1.228 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9946, allocations: 0 / 1.228 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.9947, allocations: 2.625 kB / 1.228 GB, free: 27.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004787/0.9952, allocations: 354.9 kB / 1.228 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.9952, allocations: 15.53 kB / 1.228 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.9953, allocations: 1.719 kB / 1.228 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.9954, allocations: 177.5 kB / 1.228 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.9954, allocations: 0 / 1.228 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.9954, allocations: 6.203 kB / 1.228 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.9957, allocations: 69.64 kB / 1.228 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.9957, allocations: 0 / 1.228 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.9958, allocations: 3.281 kB / 1.228 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.9958, allocations: 4 kB / 1.228 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.9961, allocations: 50.98 kB / 1.228 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.9966, allocations: 283.2 kB / 1.229 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.9971, allocations: 63.45 kB / 1.229 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.9973, allocations: 33.73 kB / 1.229 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.9976, allocations: 402.7 kB / 1.229 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.9976, allocations: 34.48 kB / 1.229 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 4.428e-06/0.9977, allocations: 1.125 kB / 1.229 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0006315/0.9983, allocations: 112.9 kB / 1.229 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.9984, allocations: 55.86 kB / 1.229 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.9985, allocations: 108.4 kB / 1.229 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.9985, allocations: 32.83 kB / 1.229 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.9986, allocations: 88.95 kB / 1.23 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.9986, allocations: 5.438 kB / 1.23 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.9986, allocations: 4 kB / 1.23 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.9988, allocations: 312.2 kB / 1.23 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.999, allocations: 29.83 kB / 1.23 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.9991, allocations: 24.42 kB / 1.23 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.9993, allocations: 26.78 kB / 1.23 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9993, allocations: 0 / 1.23 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003793/0.9997, allocations: 91.08 kB / 1.23 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.9997, allocations: 7.438 kB / 1.23 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.9998, allocations: 0 / 1.23 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.9998, allocations: 0 / 1.23 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.9999, allocations: 20.25 kB / 1.23 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1, allocations: 7.781 kB / 1.23 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/1, allocations: 15.16 kB / 1.23 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/1, allocations: 2.844 kB / 1.23 GB, free: 25.12 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.421e-05/1, allocations: 111.2 kB / 1.23 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/1, allocations: 4 kB / 1.23 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/1.001, allocations: 97.44 kB / 1.23 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/1.001, allocations: 0 / 1.23 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.001, allocations: 3.25 kB / 1.23 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.001, allocations: 3.953 kB / 1.23 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/1.001, allocations: 166.2 kB / 1.23 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.001, allocations: 0 / 1.23 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/1.001, allocations: 16.97 kB / 1.23 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.001, allocations: 3.938 kB / 1.23 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/1.001, allocations: 0 / 1.23 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.001, allocations: 0 / 1.23 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.001, allocations: 6.594 kB / 1.23 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/1.002, allocations: 183.2 kB / 1.231 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/1.002, allocations: 77.91 kB / 1.231 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/1.002, allocations: 0.75 kB / 1.231 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/1.002, allocations: 18.27 kB / 1.231 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/1.002, allocations: 7.047 kB / 1.231 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/1.002, allocations: 1.219 kB / 1.231 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006512/1.003, allocations: 86.58 kB / 1.231 GB, free: 40.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.92e-07/1.003, allocations: 0 / 1.231 GB, free: 40.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003728/1.003, allocations: 28.64 kB / 1.231 GB, free: 40.34 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002031/1.003, allocations: 116.5 kB / 1.231 GB, free: 40.22 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004055/1.004, allocations: 62.7 kB / 1.231 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.004, allocations: 0 / 1.231 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/1.004, allocations: 30.55 kB / 1.231 GB, free: 40.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/1.004, allocations: 4 kB / 1.231 GB, free: 40.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/1.005, allocations: 129 kB / 1.231 GB, free: 40.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/1.005, allocations: 0.6862 MB / 1.232 GB, free: 39.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.259e-05/1.005, allocations: 0.6562 kB / 1.232 GB, free: 39.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/1.005, allocations: 11.95 kB / 1.232 GB, free: 39.32 MB / 0.6355 GB Notification: Performance of SimCode: time 1.383e-06/1.005, allocations: 0 / 1.232 GB, free: 39.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.003788/1.009, allocations: 0.6418 MB / 1.232 GB, free: 38.99 MB / 0.6355 GB