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.FallingFactorial.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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01061/0.01061, allocations: 221.6 kB / 15.17 MB, free: 5.93 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.001135/0.001136, allocations: 179.3 kB / 16.06 MB, free: 5.828 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.999/3.999, allocations: 389.1 MB / 405.9 MB, free: 11.81 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.145/4.145, allocations: 472.3 MB / 0.9018 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005184/0.0005187, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1333, allocations: 98.73 MB / 1.104 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0005632/0.1339, allocations: 317.4 kB / 1.104 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001992/0.1341, allocations: 53.31 kB / 1.104 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.1341, allocations: 0 / 1.104 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.1342, allocations: 0 / 1.104 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.323e-06/0.1342, allocations: 0 / 1.104 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.1344, allocations: 11.98 kB / 1.104 GB, free: 41.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.517e-05/0.1345, allocations: 31.95 kB / 1.104 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.171e-05/0.1345, allocations: 0.5625 kB / 1.104 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.865e-05/0.1346, allocations: 11.94 kB / 1.104 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.964e-05/0.1346, allocations: 23.09 kB / 1.104 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.1346, allocations: 3.938 kB / 1.104 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.1347, allocations: 8 kB / 1.104 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.1347, allocations: 11.98 kB / 1.104 GB, free: 41.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.1348, allocations: 29.7 kB / 1.105 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.905e-05/0.1348, allocations: 19.95 kB / 1.105 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.116e-06/0.1348, allocations: 0 / 1.105 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.406e-06/0.1348, allocations: 0 / 1.105 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.505e-06/0.1349, allocations: 0.5 kB / 1.105 GB, free: 41.53 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002165/0.1351, allocations: 332.1 kB / 1.105 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1351, allocations: 12.03 kB / 1.105 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.1352, allocations: 7.453 kB / 1.105 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.514e-05/0.1352, allocations: 163.3 kB / 1.105 GB, free: 40.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1353, allocations: 8 kB / 1.105 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1353, allocations: 4 kB / 1.105 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1354, allocations: 63.67 kB / 1.105 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.164e-06/0.1354, allocations: 0 / 1.105 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1355, allocations: 0 / 1.105 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.1355, allocations: 3.953 kB / 1.105 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.1356, allocations: 114.9 kB / 1.105 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.1358, allocations: 165.7 kB / 1.105 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1359, allocations: 70.55 kB / 1.105 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.136, allocations: 32.84 kB / 1.105 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.1362, allocations: 405.5 kB / 1.106 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.1362, allocations: 33.5 kB / 1.106 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.999e-06/0.1362, allocations: 0 / 1.106 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0002412/0.1365, allocations: 117.8 kB / 1.106 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.1365, allocations: 51.41 kB / 1.106 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.602e-05/0.1366, allocations: 101.8 kB / 1.106 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1366, allocations: 29.7 kB / 1.106 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.452e-05/0.1366, allocations: 83.83 kB / 1.106 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.1366, allocations: 31.58 kB / 1.106 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.1367, allocations: 4 kB / 1.106 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.8e-05/0.1367, allocations: 310.8 kB / 1.107 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.1368, allocations: 19.98 kB / 1.107 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.1368, allocations: 19.98 kB / 1.107 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.072e-05/0.1369, allocations: 27.98 kB / 1.107 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-06/0.1369, allocations: 0 / 1.107 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001567/0.1371, allocations: 98.91 kB / 1.107 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1371, allocations: 4 kB / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.154e-06/0.1371, allocations: 3.438 kB / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1371, allocations: 0 / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1373, allocations: 16 kB / 1.107 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.016e-06/0.1373, allocations: 0 / 1.107 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.1373, allocations: 15.89 kB / 1.107 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1373, allocations: 3.953 kB / 1.107 GB, free: 38.93 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001093/0.1374, allocations: 117.8 kB / 1.107 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.1375, allocations: 8.734 kB / 1.107 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.1377, allocations: 136.1 kB / 1.107 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.422e-06/0.1377, allocations: 1.078 kB / 1.107 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.461e-06/0.1377, allocations: 0 / 1.107 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.249e-06/0.1377, allocations: 0 / 1.107 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.1379, allocations: 181.5 kB / 1.107 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-06/0.1379, allocations: 3.312 kB / 1.107 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/0.138, allocations: 16 kB / 1.107 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.362e-06/0.138, allocations: 0 / 1.107 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.138, allocations: 3.984 kB / 1.107 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.371e-06/0.138, allocations: 0 / 1.107 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.688e-06/0.138, allocations: 0 / 1.107 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1382, allocations: 125.4 kB / 1.107 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.872e-05/0.1382, allocations: 86.19 kB / 1.107 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.1382, allocations: 0 / 1.107 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.411e-05/0.1383, allocations: 4 kB / 1.107 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.1383, allocations: 20.31 kB / 1.107 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.128e-06/0.1383, allocations: 0 / 1.107 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.436e-05/0.1384, allocations: 75.28 kB / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.09e-07/0.1384, allocations: 0 / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002767/0.1387, allocations: 20 kB / 1.108 GB, free: 38.06 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001736/0.1389, allocations: 110.6 kB / 1.108 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.139, allocations: 67.89 kB / 1.108 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.473e-06/0.139, allocations: 0 / 1.108 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.899e-05/0.1391, allocations: 31.92 kB / 1.108 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.1393, allocations: 15.89 kB / 1.108 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.1395, allocations: 149.8 kB / 1.108 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.1397, allocations: 0.6848 MB / 1.109 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.687e-05/0.1398, allocations: 35.94 kB / 1.109 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.1398, allocations: 11.44 kB / 1.109 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.251e-06/0.1398, allocations: 0 / 1.109 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.002849/0.1427, allocations: 0.5732 MB / 1.109 GB, free: 36.37 MB / 0.6042 GB