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.Factorial.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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01424/0.01424, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001707/0.001707, allocations: 184.1 kB / 15.94 MB, free: 5.926 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.238/2.238, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.469/2.469, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004706, allocations: 12 kB / 0.587 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5398, allocations: 98.71 MB / 0.6834 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.7217, allocations: 123.9 MB / 0.8043 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.722, allocations: 75.94 kB / 0.8044 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00141/0.7235, allocations: 0.5201 MB / 0.8049 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7235, allocations: 0 / 0.8049 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.394e-06/0.7235, allocations: 4 kB / 0.8049 GB, free: 1.688 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002893/0.7238, allocations: 315.3 kB / 0.8052 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.7239, allocations: 8.031 kB / 0.8052 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.7239, allocations: 0 / 0.8052 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.724, allocations: 171 kB / 0.8054 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.7241, allocations: 4 kB / 0.8054 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.7241, allocations: 0 / 0.8054 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.812e-05/0.7242, allocations: 29.7 kB / 0.8054 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.484e-06/0.7242, allocations: 7.984 kB / 0.8054 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.581e-06/0.7242, allocations: 0 / 0.8054 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.7242, allocations: 0 / 0.8054 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.667e-05/0.7243, allocations: 11.92 kB / 0.8054 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.7245, allocations: 149.6 kB / 0.8056 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.893e-05/0.7245, allocations: 22.67 kB / 0.8056 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.7247, allocations: 85.03 kB / 0.8057 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.7247, allocations: 38.56 kB / 0.8057 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.084e-06/0.7247, allocations: 4 kB / 0.8057 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001364/0.7249, allocations: 37.64 kB / 0.8058 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.7249, allocations: 55.39 kB / 0.8058 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.022e-05/0.725, allocations: 85 kB / 0.8059 GB, free: 492 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.725, allocations: 29.7 kB / 0.8059 GB, free: 456 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.7251, allocations: 84.08 kB / 0.806 GB, free: 368 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.7251, allocations: 0 / 0.806 GB, free: 368 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-06/0.7251, allocations: 128 / 0.806 GB, free: 368 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7253, allocations: 318.8 kB / 0.8063 GB, free: 40 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.7253, allocations: 0 / 0.8063 GB, free: 40 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.7253, allocations: 4 kB / 0.8063 GB, free: 36 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.7254, allocations: 4 kB / 0.8063 GB, free: 32 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.412e-06/0.7254, allocations: 3.953 kB / 0.8063 GB, free: 28 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000126/0.7255, allocations: 41.62 kB / 0.8064 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.7255, allocations: 4 kB / 0.8064 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.79e-06/0.7256, allocations: 7.984 kB / 0.8064 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.7256, allocations: 4.094 kB / 0.8064 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.7256, allocations: 0 / 0.8064 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.812e-06/0.7257, allocations: 4 kB / 0.8064 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.7257, allocations: 0 / 0.8064 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.251e-06/0.7257, allocations: 4 kB / 0.8064 GB, free: 15.96 MB / 0.6355 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.043e-05/0.7258, allocations: 113.8 kB / 0.8065 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.7258, allocations: 11.86 kB / 0.8065 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.7259, allocations: 36.83 kB / 0.8065 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.726, allocations: 4.031 kB / 0.8065 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.921e-06/0.726, allocations: 4 kB / 0.8065 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.804e-06/0.726, allocations: 3.984 kB / 0.8065 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.7261, allocations: 145.6 kB / 0.8067 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.401e-06/0.7261, allocations: 0 / 0.8067 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.7262, allocations: 11.89 kB / 0.8067 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.7262, allocations: 0 / 0.8067 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-06/0.7262, allocations: 0 / 0.8067 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.874e-06/0.7262, allocations: 3.984 kB / 0.8067 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.502e-06/0.7262, allocations: 4 kB / 0.8067 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.791e-05/0.7263, allocations: 61.14 kB / 0.8068 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.7264, allocations: 77.11 kB / 0.8068 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.7264, allocations: 7.938 kB / 0.8068 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.568e-05/0.7265, allocations: 0 / 0.8068 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.7265, allocations: 4 kB / 0.8068 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-06/0.7265, allocations: 0 / 0.8068 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.882e-05/0.7266, allocations: 75.28 kB / 0.8069 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.27e-07/0.7266, allocations: 0 / 0.8069 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002569/0.7268, allocations: 13.3 kB / 0.8069 GB, free: 15.29 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001751/0.727, allocations: 119.2 kB / 0.807 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.6e-05/0.7271, allocations: 4 kB / 0.8071 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7271, allocations: 0 / 0.8071 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.7271, allocations: 4 kB / 0.8071 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.7273, allocations: 7.938 kB / 0.8071 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001922/0.7275, allocations: 91.44 kB / 0.8071 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.7278, allocations: 0.6731 MB / 0.8078 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.7278, allocations: 3.984 kB / 0.8078 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.7279, allocations: 11.44 kB / 0.8078 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of SimCode: time 1.306e-06/0.7279, allocations: 0 / 0.8078 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.002435/0.7303, allocations: 297.8 kB / 0.8081 GB, free: 14.03 MB / 0.6355 GB