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.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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006651/0.006657, allocations: 231.7 kB / 15.82 MB, free: 6.301 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.001964/0.001964, allocations: 177.9 kB / 16.71 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 4.012/4.012, 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.313/4.313, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004944, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1935, allocations: 98.72 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8683/1.062, allocations: 124.8 MB / 1.226 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.062, allocations: 78.7 kB / 1.227 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003643/1.066, allocations: 0.9044 MB / 1.227 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.574e-06/1.066, allocations: 0 / 1.227 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.834e-06/1.066, allocations: 0 / 1.227 GB, free: 27.58 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004345/1.066, allocations: 350.9 kB / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.066, allocations: 8.031 kB / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/1.066, allocations: 1.719 kB / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.641e-05/1.067, allocations: 173.1 kB / 1.228 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/1.067, allocations: 7.891 kB / 1.228 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/1.067, allocations: 4.562 kB / 1.228 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/1.067, allocations: 55.8 kB / 1.228 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/1.067, allocations: 4 kB / 1.228 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.067, allocations: 0 / 1.228 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.067, allocations: 0 / 1.228 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/1.067, allocations: 61.48 kB / 1.228 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/1.068, allocations: 290.3 kB / 1.228 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/1.068, allocations: 57.69 kB / 1.228 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/1.068, allocations: 35.19 kB / 1.228 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/1.069, allocations: 86.45 kB / 1.229 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/1.069, allocations: 34.5 kB / 1.229 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.864e-06/1.069, allocations: 3.188 kB / 1.229 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005956/1.069, allocations: 107.9 kB / 1.229 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/1.069, allocations: 55.36 kB / 1.229 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/1.069, allocations: 101.3 kB / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/1.069, allocations: 25.7 kB / 1.229 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/1.07, allocations: 93.58 kB / 1.229 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/1.07, allocations: 3.906 kB / 1.229 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/1.07, allocations: 0 / 1.229 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.07, allocations: 319.8 kB / 1.229 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/1.07, allocations: 22 kB / 1.229 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/1.07, allocations: 24.53 kB / 1.229 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/1.07, allocations: 32.95 kB / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.07, allocations: 0 / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003628/1.071, allocations: 83.64 kB / 1.229 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.071, allocations: 4 kB / 1.229 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.071, allocations: 4.844 kB / 1.229 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.071, allocations: 2.25 kB / 1.229 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/1.071, allocations: 14.72 kB / 1.229 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.071, allocations: 0 / 1.229 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/1.071, allocations: 16.73 kB / 1.229 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/1.071, allocations: 0 / 1.229 GB, free: 25.58 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 (fac.y,fac.u) * 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.357e-05/1.071, allocations: 115.8 kB / 1.23 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/1.071, allocations: 6.688 kB / 1.23 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/1.072, allocations: 95.72 kB / 1.23 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.072, allocations: 0 / 1.23 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.072, allocations: 0 / 1.23 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.072, allocations: 0.5625 kB / 1.23 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/1.072, allocations: 164.7 kB / 1.23 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.072, allocations: 0 / 1.23 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/1.072, allocations: 15.73 kB / 1.23 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/1.072, allocations: 0 / 1.23 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/1.072, allocations: 4.516 kB / 1.23 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.072, allocations: 5.281 kB / 1.23 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.072, allocations: 0 / 1.23 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/1.072, allocations: 188.4 kB / 1.23 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/1.072, allocations: 80.19 kB / 1.23 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/1.072, allocations: 4 kB / 1.23 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.073, allocations: 10.03 kB / 1.23 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/1.073, allocations: 10.8 kB / 1.23 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/1.073, allocations: 0 / 1.23 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006223/1.073, allocations: 83.31 kB / 1.23 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/1.073, allocations: 0 / 1.23 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003633/1.074, allocations: 19.02 kB / 1.23 GB, free: 40.8 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.y,fac.u) * 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.0001795/1.074, allocations: 115.7 kB / 1.23 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000413/1.074, allocations: 54.28 kB / 1.23 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.074, allocations: 0 / 1.23 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/1.075, allocations: 34.14 kB / 1.23 GB, free: 40.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/1.075, allocations: 11.48 kB / 1.23 GB, free: 40.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/1.075, allocations: 114.2 kB / 1.231 GB, free: 40.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/1.076, allocations: 0.6856 MB / 1.231 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.255e-05/1.076, allocations: 4.25 kB / 1.231 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/1.076, allocations: 11.95 kB / 1.231 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/1.076, allocations: 0 / 1.231 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.003706/1.08, allocations: 0.6044 MB / 1.232 GB, free: 39.5 MB / 0.6355 GB