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.007298/0.007304, allocations: 230.5 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.001854/0.001854, allocations: 172.5 kB / 16.7 MB, free: 5.449 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.561/3.561, allocations: 389.1 MB / 406.5 MB, free: 6.875 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.563/4.563, allocations: 472.3 MB / 0.9024 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006561/0.0006564, allocations: 12 kB / 1.008 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2491, allocations: 98.7 MB / 1.105 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.832/1.081, allocations: 123.9 MB / 1.226 GB, free: 200.2 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.081, allocations: 77.62 kB / 1.226 GB, free: 200.2 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.001494/1.083, allocations: 0.5207 MB / 1.226 GB, free: 199.8 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.695e-06/1.083, allocations: 0 / 1.226 GB, free: 199.8 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.083, allocations: 0 / 1.226 GB, free: 199.8 MB / 0.7917 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.0002526/1.083, allocations: 320 kB / 1.227 GB, free: 199.4 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.083, allocations: 8.031 kB / 1.227 GB, free: 199.4 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/1.083, allocations: 1.641 kB / 1.227 GB, free: 199.4 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.853e-05/1.084, allocations: 163.1 kB / 1.227 GB, free: 199.2 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/1.084, allocations: 0 / 1.227 GB, free: 199.2 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/1.084, allocations: 4 kB / 1.227 GB, free: 199.2 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/1.084, allocations: 33.72 kB / 1.227 GB, free: 199.2 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.084, allocations: 1.625 kB / 1.227 GB, free: 199.2 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/1.084, allocations: 4 kB / 1.227 GB, free: 199.2 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.084, allocations: 0 / 1.227 GB, free: 199.2 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.362e-05/1.084, allocations: 1.5 kB / 1.227 GB, free: 199.2 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/1.084, allocations: 166.6 kB / 1.227 GB, free: 199 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.03e-05/1.084, allocations: 19.88 kB / 1.227 GB, free: 199 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/1.084, allocations: 8.922 kB / 1.227 GB, free: 198.9 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/1.084, allocations: 86.28 kB / 1.227 GB, free: 198.9 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/1.084, allocations: 35.11 kB / 1.227 GB, free: 198.8 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 2.023e-06/1.084, allocations: 0 / 1.227 GB, free: 198.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.000174/1.085, allocations: 43.47 kB / 1.227 GB, free: 198.8 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/1.085, allocations: 53 kB / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.727e-05/1.085, allocations: 90.83 kB / 1.227 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/1.085, allocations: 25.7 kB / 1.227 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/1.085, allocations: 81.23 kB / 1.227 GB, free: 198.5 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/1.085, allocations: 4.938 kB / 1.227 GB, free: 198.5 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/1.085, allocations: 0 / 1.227 GB, free: 198.5 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.345e-05/1.085, allocations: 320.4 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/1.085, allocations: 2.812 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/1.085, allocations: 8.219 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/1.085, allocations: 0 / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.085, allocations: 4 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001071/1.085, allocations: 38.69 kB / 1.228 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/1.085, allocations: 7.406 kB / 1.228 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.085, allocations: 1.969 kB / 1.228 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.085, allocations: 3.938 kB / 1.228 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/1.085, allocations: 5.406 kB / 1.228 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/1.085, allocations: 0 / 1.228 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/1.085, allocations: 0 / 1.228 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/1.085, allocations: 5.141 kB / 1.228 GB, free: 198.1 MB / 0.7917 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 7.339e-05/1.085, allocations: 114.5 kB / 1.228 GB, free: 198 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/1.086, allocations: 5.359 kB / 1.228 GB, free: 198 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/1.086, allocations: 44.78 kB / 1.228 GB, free: 198 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.086, allocations: 0 / 1.228 GB, free: 198 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.086, allocations: 0 / 1.228 GB, free: 198 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.086, allocations: 0 / 1.228 GB, free: 198 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/1.086, allocations: 151.4 kB / 1.228 GB, free: 197.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.086, allocations: 4.688 kB / 1.228 GB, free: 197.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/1.086, allocations: 7.453 kB / 1.228 GB, free: 197.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.086, allocations: 3.938 kB / 1.228 GB, free: 197.8 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/1.086, allocations: 4 kB / 1.228 GB, free: 197.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.086, allocations: 1.406 kB / 1.228 GB, free: 197.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.086, allocations: 0 / 1.228 GB, free: 197.7 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/1.086, allocations: 61.83 kB / 1.228 GB, free: 197.7 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/1.086, allocations: 84.25 kB / 1.228 GB, free: 197.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/1.086, allocations: 0 / 1.228 GB, free: 197.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/1.086, allocations: 1.25 kB / 1.228 GB, free: 197.6 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/1.086, allocations: 5.406 kB / 1.228 GB, free: 197.6 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/1.086, allocations: 0 / 1.228 GB, free: 197.6 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 2.13e-05/1.086, allocations: 78.09 kB / 1.228 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.2e-07/1.086, allocations: 0 / 1.228 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004535/1.087, allocations: 10.27 kB / 1.228 GB, free: 197.5 MB / 0.7917 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.0002256/1.087, allocations: 115.6 kB / 1.228 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001043/1.087, allocations: 13.28 kB / 1.228 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.087, allocations: 0 / 1.228 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/1.087, allocations: 12.08 kB / 1.228 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/1.087, allocations: 5.188 kB / 1.228 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/1.088, allocations: 85.41 kB / 1.228 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/1.088, allocations: 0.6733 MB / 1.229 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.784e-05/1.088, allocations: 7.141 kB / 1.229 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/1.088, allocations: 8.781 kB / 1.229 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of SimCode: time 9.82e-07/1.088, allocations: 0 / 1.229 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of Templates: time 0.003509/1.091, allocations: 310.1 kB / 1.229 GB, free: 196.4 MB / 0.7917 GB