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.009809/0.009809, allocations: 107.3 kB / 15.06 MB, free: 5.559 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.001093/0.001093, allocations: 182.9 kB / 15.95 MB, free: 5.523 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.09/2.09, allocations: 194.6 MB / 211.3 MB, free: 11.3 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.134/2.134, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004737, allocations: 16 kB / 0.587 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.589/0.5895, allocations: 98.7 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.0008493/0.5904, allocations: 315.4 kB / 0.6836 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002621/0.5907, allocations: 38.34 kB / 0.6837 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.088e-05/0.5908, allocations: 1.094 kB / 0.6837 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.5908, allocations: 0 / 0.6837 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.166e-06/0.5908, allocations: 0 / 0.6837 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.591, allocations: 17.53 kB / 0.6837 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.304e-05/0.5911, allocations: 1.156 kB / 0.6837 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.5912, allocations: 3.156 kB / 0.6837 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.5912, allocations: 5.234 kB / 0.6837 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.198e-05/0.5913, allocations: 5.984 kB / 0.6837 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.5913, allocations: 0 / 0.6837 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.5914, allocations: 9.703 kB / 0.6837 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.5914, allocations: 2.234 kB / 0.6837 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.5915, allocations: 25.7 kB / 0.6837 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.223e-05/0.5915, allocations: 4.25 kB / 0.6838 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.688e-06/0.5916, allocations: 0 / 0.6838 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.691e-06/0.5916, allocations: 0 / 0.6838 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.5916, allocations: 1.25 kB / 0.6838 GB, free: 16.53 MB / 0.5261 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.0002832/0.5919, allocations: 307.9 kB / 0.684 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.592, allocations: 13.22 kB / 0.6841 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.592, allocations: 5.25 kB / 0.6841 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.98e-05/0.5921, allocations: 171.9 kB / 0.6842 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.5921, allocations: 1.25 kB / 0.6842 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.5922, allocations: 5.969 kB / 0.6842 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.5923, allocations: 29.84 kB / 0.6843 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.079e-06/0.5923, allocations: 0 / 0.6843 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.5923, allocations: 1.156 kB / 0.6843 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-06/0.5924, allocations: 0 / 0.6843 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.54e-05/0.5924, allocations: 9.422 kB / 0.6843 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.5926, allocations: 153.5 kB / 0.6844 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.933e-05/0.5927, allocations: 28.7 kB / 0.6844 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.5928, allocations: 80.75 kB / 0.6845 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.5929, allocations: 40.42 kB / 0.6846 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.726e-06/0.5929, allocations: 0 / 0.6846 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001787/0.5931, allocations: 39.8 kB / 0.6846 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.5931, allocations: 53.14 kB / 0.6847 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.036e-05/0.5932, allocations: 94.56 kB / 0.6847 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.5932, allocations: 27.08 kB / 0.6848 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/0.5932, allocations: 80.14 kB / 0.6848 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.5933, allocations: 5.125 kB / 0.6848 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-06/0.5933, allocations: 0 / 0.6848 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.5934, allocations: 315.4 kB / 0.6852 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.5934, allocations: 2.984 kB / 0.6852 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.776e-05/0.5935, allocations: 7.391 kB / 0.6852 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.5935, allocations: 10.36 kB / 0.6852 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.967e-06/0.5935, allocations: 0 / 0.6852 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001225/0.5937, allocations: 35.77 kB / 0.6852 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5937, allocations: 6.375 kB / 0.6852 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5937, allocations: 0 / 0.6852 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5938, allocations: 0 / 0.6852 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.5939, allocations: 4.594 kB / 0.6852 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.5939, allocations: 0 / 0.6852 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/0.5939, allocations: 5.375 kB / 0.6852 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.003e-06/0.594, allocations: 0 / 0.6852 GB, free: 14.88 MB / 0.5261 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.506e-05/0.594, allocations: 117.4 kB / 0.6853 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.5941, allocations: 3.938 kB / 0.6853 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.5942, allocations: 44.05 kB / 0.6854 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.372e-06/0.5942, allocations: 1.312 kB / 0.6854 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.278e-06/0.5943, allocations: 0 / 0.6854 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.5943, allocations: 0 / 0.6854 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.28e-05/0.5944, allocations: 154.4 kB / 0.6855 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-06/0.5944, allocations: 3.953 kB / 0.6855 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/0.5945, allocations: 4.391 kB / 0.6855 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.572e-06/0.5945, allocations: 0 / 0.6855 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.346e-06/0.5945, allocations: 1.859 kB / 0.6855 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.347e-06/0.5945, allocations: 0.7969 kB / 0.6855 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.5945, allocations: 0 / 0.6855 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.5947, allocations: 65.03 kB / 0.6856 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.5947, allocations: 92.8 kB / 0.6857 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.5948, allocations: 0 / 0.6857 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.813e-05/0.5948, allocations: 4 kB / 0.6857 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.5948, allocations: 4.062 kB / 0.6857 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.107e-06/0.5949, allocations: 7.938 kB / 0.6857 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.051e-05/0.5949, allocations: 76.53 kB / 0.6858 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.27e-07/0.5949, allocations: 0 / 0.6858 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004766/0.5954, allocations: 3.844 kB / 0.6858 GB, free: 14.26 MB / 0.5261 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.0002131/0.5956, allocations: 109.4 kB / 0.6859 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.5958, allocations: 6.797 kB / 0.6859 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5958, allocations: 0 / 0.6859 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.581e-05/0.5959, allocations: 9.109 kB / 0.6859 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.596, allocations: 5.938 kB / 0.6859 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.5963, allocations: 81.09 kB / 0.686 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.5964, allocations: 0.6756 MB / 0.6866 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.5965, allocations: 5.281 kB / 0.6866 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.5965, allocations: 9.453 kB / 0.6867 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.551e-06/0.5965, allocations: 1.125 kB / 0.6867 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.00368/0.6002, allocations: 300.6 kB / 0.6869 GB, free: 13.3 MB / 0.5261 GB