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.009507/0.009507, allocations: 111.9 kB / 15.06 MB, free: 5.965 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.001194/0.001194, allocations: 183.1 kB / 15.94 MB, free: 5.93 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.214/2.214, allocations: 194.6 MB / 211.3 MB, free: 11.14 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.387/2.387, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.000467, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5369/0.5374, allocations: 98.72 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.7231, allocations: 124.8 MB / 0.8052 GB, free: 1.535 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.7234, allocations: 79.94 kB / 0.8053 GB, free: 1.457 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 0.003337/0.7268, allocations: 0.9077 MB / 0.8061 GB, free: 0.5469 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.21e-06/0.7268, allocations: 0 / 0.8061 GB, free: 0.5469 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 7.331e-06/0.7268, allocations: 0 / 0.8061 GB, free: 0.5469 MB / 0.6199 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.0004547/0.7273, allocations: 351.2 kB / 0.8065 GB, free: 160 kB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.7273, allocations: 12.03 kB / 0.8065 GB, free: 148 kB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.7274, allocations: 7.906 kB / 0.8065 GB, free: 140 kB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.7276, allocations: 167 kB / 0.8067 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.7276, allocations: 4 kB / 0.8067 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.7276, allocations: 4 kB / 0.8067 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.7278, allocations: 61.61 kB / 0.8067 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.7279, allocations: 0 / 0.8067 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.7279, allocations: 7.938 kB / 0.8067 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-06/0.7279, allocations: 0 / 0.8067 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.7281, allocations: 51.95 kB / 0.8068 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.7287, allocations: 284.9 kB / 0.807 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.7291, allocations: 62.58 kB / 0.8071 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.7292, allocations: 85.16 kB / 0.8072 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.7293, allocations: 34.56 kB / 0.8072 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.33e-06/0.7293, allocations: 0 / 0.8072 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004911/0.7298, allocations: 113.6 kB / 0.8073 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.7298, allocations: 55.34 kB / 0.8074 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/0.7299, allocations: 96.95 kB / 0.8075 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.73, allocations: 25.7 kB / 0.8075 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.7301, allocations: 92.03 kB / 0.8076 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.7301, allocations: 3.906 kB / 0.8076 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-06/0.7301, allocations: 0 / 0.8076 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.7303, allocations: 314.8 kB / 0.8079 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.7304, allocations: 27.98 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.7305, allocations: 23.97 kB / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.7307, allocations: 23.98 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-06/0.7307, allocations: 4 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002947/0.731, allocations: 86.11 kB / 0.8081 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.731, allocations: 4 kB / 0.8081 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.462e-06/0.731, allocations: 0 / 0.8081 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.731, allocations: 4 kB / 0.8081 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.7312, allocations: 23.86 kB / 0.8081 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.647e-06/0.7312, allocations: 0 / 0.8081 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-05/0.7313, allocations: 11.98 kB / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.7313, allocations: 7.938 kB / 0.8081 GB, free: 14.31 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.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 0.0001083/0.7314, allocations: 117.8 kB / 0.8082 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.7315, allocations: 0 / 0.8082 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.7318, allocations: 93.14 kB / 0.8083 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.355e-06/0.7319, allocations: 0 / 0.8083 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.971e-06/0.7319, allocations: 0 / 0.8083 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.442e-06/0.7319, allocations: 0 / 0.8083 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.7321, allocations: 169.6 kB / 0.8085 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-06/0.7321, allocations: 0 / 0.8085 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.7323, allocations: 19.98 kB / 0.8085 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.173e-06/0.7323, allocations: 3.938 kB / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.7323, allocations: 4 kB / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.341e-06/0.7323, allocations: 0 / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7323, allocations: 0 / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.7327, allocations: 183.4 kB / 0.8087 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.7327, allocations: 81.09 kB / 0.8087 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.7328, allocations: 4 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.7329, allocations: 4 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.733, allocations: 11.98 kB / 0.8088 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.733, allocations: 0 / 0.8088 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.785e-05/0.7331, allocations: 87.27 kB / 0.8088 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-07/0.7331, allocations: 0 / 0.8088 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003268/0.7334, allocations: 11.94 kB / 0.8089 GB, free: 13.43 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.0001852/0.7336, allocations: 115.2 kB / 0.809 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.7339, allocations: 59.89 kB / 0.809 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.7339, allocations: 0 / 0.809 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.7341, allocations: 31.97 kB / 0.8091 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.7343, allocations: 3.953 kB / 0.8091 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.7347, allocations: 122.4 kB / 0.8092 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.735, allocations: 0.677 MB / 0.8098 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.608e-05/0.7351, allocations: 7.984 kB / 0.8098 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.7351, allocations: 11.44 kB / 0.8099 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.339e-06/0.7351, allocations: 0 / 0.8099 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.003195/0.7383, allocations: 0.5882 MB / 0.8104 GB, free: 11.76 MB / 0.6355 GB