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.004227/0.004227, allocations: 234.3 kB / 15.8 MB, free: 6.285 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.001292/0.001292, allocations: 179.4 kB / 16.68 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 4.065/4.065, allocations: 389.1 MB / 406.5 MB, free: 11.75 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.248/4.248, allocations: 472.3 MB / 0.9024 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004721, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1744, allocations: 98.74 MB / 1.105 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.0007151/0.1752, allocations: 309.4 kB / 1.105 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002258/0.1754, allocations: 49.34 kB / 1.105 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.1754, allocations: 0 / 1.105 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.1755, allocations: 0 / 1.105 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.1755, allocations: 4 kB / 1.105 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.1757, allocations: 4 kB / 1.105 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.102e-05/0.1757, allocations: 4.719 kB / 1.105 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.1758, allocations: 0 / 1.105 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.1758, allocations: 2.438 kB / 1.105 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.955e-05/0.1759, allocations: 11.98 kB / 1.105 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1759, allocations: 0 / 1.105 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.71e-05/0.176, allocations: 11.92 kB / 1.105 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-06/0.176, allocations: 3.938 kB / 1.105 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.176, allocations: 25.7 kB / 1.105 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.689e-05/0.1761, allocations: 4 kB / 1.105 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1761, allocations: 1.594 kB / 1.105 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1761, allocations: 0 / 1.105 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1761, allocations: 0 / 1.105 GB, free: 41.59 MB / 0.6042 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.0002314/0.1764, allocations: 318.8 kB / 1.105 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1764, allocations: 8.031 kB / 1.105 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.1764, allocations: 3.953 kB / 1.105 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.286e-05/0.1765, allocations: 159.1 kB / 1.105 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1765, allocations: 0 / 1.105 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.1766, allocations: 0 / 1.105 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.1767, allocations: 33.69 kB / 1.106 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1767, allocations: 0 / 1.106 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1767, allocations: 0.9062 kB / 1.106 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1767, allocations: 3.953 kB / 1.106 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.722e-05/0.1768, allocations: 15.38 kB / 1.106 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.1769, allocations: 149.7 kB / 1.106 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.679e-05/0.1769, allocations: 22.61 kB / 1.106 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.177, allocations: 8.922 kB / 1.106 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.1771, allocations: 81.09 kB / 1.106 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1772, allocations: 38.81 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.1772, allocations: 3.938 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.1773, allocations: 45.55 kB / 1.106 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.1774, allocations: 51.41 kB / 1.106 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.553e-05/0.1774, allocations: 93.84 kB / 1.106 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.1774, allocations: 25.7 kB / 1.106 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.679e-05/0.1774, allocations: 83.33 kB / 1.106 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.1775, allocations: 3.938 kB / 1.106 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.1775, allocations: 4 kB / 1.106 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.1775, allocations: 318.8 kB / 1.106 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.1776, allocations: 0 / 1.106 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.1776, allocations: 4 kB / 1.106 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/0.1776, allocations: 0 / 1.106 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1776, allocations: 3.25 kB / 1.106 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.944e-05/0.1777, allocations: 45.62 kB / 1.106 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1777, allocations: 8 kB / 1.106 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1777, allocations: 0 / 1.106 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1778, allocations: 0 / 1.106 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.1779, allocations: 4 kB / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.1779, allocations: 0 / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.1779, allocations: 0 / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.1779, allocations: 0.7812 kB / 1.107 GB, free: 39.86 MB / 0.6042 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 5.533e-05/0.178, allocations: 112.9 kB / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.178, allocations: 4 kB / 1.107 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.955e-05/0.1781, allocations: 40.81 kB / 1.107 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1781, allocations: 0 / 1.107 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1781, allocations: 4 kB / 1.107 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.1782, allocations: 81.94 kB / 1.107 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1782, allocations: 0 / 1.107 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.595e-05/0.1782, allocations: 11.33 kB / 1.107 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1783, allocations: 0 / 1.107 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.803e-05/0.1784, allocations: 117 kB / 1.107 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.953e-05/0.1785, allocations: 210.8 kB / 1.107 GB, free: 39.24 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.838e-05/0.1785, allocations: 19.14 kB / 1.107 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.637e-05/0.1785, allocations: 75.28 kB / 1.107 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of Backend: time 7.71e-07/0.1786, allocations: 0 / 1.107 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.179, allocations: 86.69 kB / 1.107 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002486/0.1792, allocations: 0.5311 MB / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.002647/0.1819, allocations: 347.6 kB / 1.108 GB, free: 38.16 MB / 0.6042 GB