Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.353/4.353, allocations: 433.4 MB / 440.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.223e-05/4.245e-05, allocations: 8 kB / 0.5325 GB, free: 1.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5311, allocations: 98.72 MB / 0.6289 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.7382, allocations: 123.1 MB / 0.7492 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.7385, allocations: 79.95 kB / 0.7493 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002522/0.7411, allocations: 0.8164 MB / 0.7501 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.336e-06/0.7411, allocations: 4 kB / 0.7501 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.28e-06/0.7411, allocations: 0 / 0.7501 GB, free: 3.398 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003402/0.7415, allocations: 334.4 kB / 0.7504 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.7415, allocations: 12.03 kB / 0.7504 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.7416, allocations: 0 / 0.7504 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.7417, allocations: 171 kB / 0.7506 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.923e-06/0.7417, allocations: 4 kB / 0.7506 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.7418, allocations: 4 kB / 0.7506 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002121/0.742, allocations: 95.88 kB / 0.7507 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.7421, allocations: 65.55 kB / 0.7507 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.793e-06/0.7421, allocations: 0 / 0.7507 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.7422, allocations: 0 / 0.7507 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.601e-06/0.7422, allocations: 4 kB / 0.7507 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.7424, allocations: 146.1 kB / 0.7509 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.7425, allocations: 70.55 kB / 0.7509 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.7426, allocations: 20.86 kB / 0.7509 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003881/0.743, allocations: 405.5 kB / 0.7513 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.743, allocations: 34.56 kB / 0.7514 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.283e-06/0.743, allocations: 0 / 0.7514 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004028/0.7435, allocations: 89.88 kB / 0.7515 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.7435, allocations: 51.41 kB / 0.7515 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.7436, allocations: 100.9 kB / 0.7516 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.7436, allocations: 25.7 kB / 0.7516 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.7437, allocations: 80.33 kB / 0.7517 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.7437, allocations: 19.75 kB / 0.7517 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-06/0.7437, allocations: 0 / 0.7517 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.7439, allocations: 314.8 kB / 0.752 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.545e-05/0.744, allocations: 19.98 kB / 0.752 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.179e-05/0.744, allocations: 16 kB / 0.7521 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.7442, allocations: 27.97 kB / 0.7521 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.537e-06/0.7443, allocations: 0 / 0.7521 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003475/0.7446, allocations: 101.8 kB / 0.7522 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.7446, allocations: 4 kB / 0.7522 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.386e-06/0.7447, allocations: 3.938 kB / 0.7522 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7447, allocations: 4 kB / 0.7522 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.7448, allocations: 19.98 kB / 0.7522 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.7448, allocations: 4 kB / 0.7522 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/0.7449, allocations: 0 / 0.7522 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.7449, allocations: 4 kB / 0.7522 GB, free: 0.8984 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: 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 () * 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.0001091/0.745, allocations: 105 kB / 0.7523 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.7451, allocations: 7.859 kB / 0.7523 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.7455, allocations: 135.3 kB / 0.7524 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.734e-06/0.7455, allocations: 7.938 kB / 0.7525 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.074e-06/0.7455, allocations: 0 / 0.7525 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-06/0.7455, allocations: 0 / 0.7525 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.7457, allocations: 146.2 kB / 0.7526 GB, free: 468 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.772e-06/0.7457, allocations: 3.984 kB / 0.7526 GB, free: 464 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.7458, allocations: 16 kB / 0.7526 GB, free: 448 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.832e-06/0.7459, allocations: 0 / 0.7526 GB, free: 448 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.7459, allocations: 3.953 kB / 0.7526 GB, free: 444 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.394e-06/0.7459, allocations: 3.984 kB / 0.7526 GB, free: 440 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.619e-06/0.7459, allocations: 4 kB / 0.7526 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.7463, allocations: 125.3 kB / 0.7527 GB, free: 292 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.7463, allocations: 81.02 kB / 0.7528 GB, free: 192 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.7464, allocations: 4 kB / 0.7528 GB, free: 188 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.718e-05/0.7464, allocations: 3.953 kB / 0.7528 GB, free: 184 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.7465, allocations: 11.98 kB / 0.7528 GB, free: 172 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.593e-06/0.7465, allocations: 0 / 0.7528 GB, free: 172 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.7465, allocations: 79.28 kB / 0.7529 GB, free: 92 kB / 0.6198 GB Notification: Performance of sort global known variables: time 7.53e-07/0.7465, allocations: 4 kB / 0.7529 GB, free: 88 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002857/0.7468, allocations: 15.88 kB / 0.7529 GB, free: 72 kB / 0.6198 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 () * 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.0002388/0.7471, allocations: 115.2 kB / 0.753 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.7473, allocations: 59.92 kB / 0.7531 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.587e-06/0.7473, allocations: 0 / 0.7531 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.607e-05/0.7473, allocations: 27.98 kB / 0.7531 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.7475, allocations: 4 kB / 0.7531 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.7477, allocations: 106 kB / 0.7532 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.7481, allocations: 0.6885 MB / 0.7539 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.7482, allocations: 39.72 kB / 0.7539 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.7483, allocations: 15.42 kB / 0.754 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of SimCode: time 1.376e-06/0.7483, allocations: 0 / 0.754 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.002956/0.7513, allocations: 0.5501 MB / 0.7545 GB, free: 14.42 MB / 0.6355 GB