Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadModel(Buildings): time 4.247/4.247, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.526e-05/4.551e-05, allocations: 4.734 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2124, allocations: 98.72 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.4062, allocations: 124.8 MB / 0.7566 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4065, allocations: 71.95 kB / 0.7567 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003992/0.4105, allocations: 1.024 MB / 0.7577 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.018e-06/0.4105, allocations: 0 / 0.7577 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.182e-06/0.4105, allocations: 0 / 0.7577 GB, free: 3.824 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004599/0.411, allocations: 346.4 kB / 0.758 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4111, allocations: 16.03 kB / 0.758 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.4111, allocations: 0 / 0.758 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.4113, allocations: 174.9 kB / 0.7582 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.4113, allocations: 4 kB / 0.7582 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.4113, allocations: 4 kB / 0.7582 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.4115, allocations: 45.69 kB / 0.7582 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4115, allocations: 7.938 kB / 0.7582 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.4115, allocations: 0 / 0.7582 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.625e-06/0.4115, allocations: 4 kB / 0.7583 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.892e-05/0.4116, allocations: 19.98 kB / 0.7583 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.4121, allocations: 280.9 kB / 0.7585 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.4124, allocations: 42.5 kB / 0.7586 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.4125, allocations: 16.92 kB / 0.7586 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000374/0.4129, allocations: 405.6 kB / 0.759 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.4129, allocations: 42.56 kB / 0.759 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.536e-06/0.4129, allocations: 0 / 0.759 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002165/0.4131, allocations: 57.53 kB / 0.7591 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.4132, allocations: 51.41 kB / 0.7591 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.4133, allocations: 101 kB / 0.7592 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.4134, allocations: 25.7 kB / 0.7592 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.4134, allocations: 92.06 kB / 0.7593 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.4135, allocations: 7.844 kB / 0.7593 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-06/0.4135, allocations: 4 kB / 0.7593 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4136, allocations: 318.8 kB / 0.7596 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.409e-05/0.4137, allocations: 8 kB / 0.7597 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.4137, allocations: 4 kB / 0.7597 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.4138, allocations: 11.98 kB / 0.7597 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.477e-06/0.4138, allocations: 0 / 0.7597 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001382/0.4139, allocations: 49.69 kB / 0.7597 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.414, allocations: 6.188 kB / 0.7597 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.117e-06/0.414, allocations: 0 / 0.7597 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.414, allocations: 8 kB / 0.7597 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.4142, allocations: 11.98 kB / 0.7597 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.4142, allocations: 3.953 kB / 0.7597 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.86e-05/0.4143, allocations: 15.91 kB / 0.7598 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.4143, allocations: 3.984 kB / 0.7598 GB, free: 1.379 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 (falFac.y,falFac.k) * Number of discrete 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 9.196e-05/0.4144, allocations: 108.9 kB / 0.7599 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.4145, allocations: 0 / 0.7599 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.4146, allocations: 61.66 kB / 0.7599 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.4147, allocations: 4 kB / 0.7599 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.586e-06/0.4147, allocations: 3.984 kB / 0.7599 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.632e-06/0.4147, allocations: 3.953 kB / 0.7599 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.415, allocations: 165.7 kB / 0.7601 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.801e-06/0.415, allocations: 0 / 0.7601 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.4151, allocations: 11.98 kB / 0.7601 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.313e-06/0.4151, allocations: 4 kB / 0.7601 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4151, allocations: 4 kB / 0.7601 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4152, allocations: 0 / 0.7601 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4152, allocations: 0 / 0.7601 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.4154, allocations: 155.3 kB / 0.7603 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.4155, allocations: 81.05 kB / 0.7603 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.4155, allocations: 0 / 0.7603 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.4156, allocations: 11.98 kB / 0.7604 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.4157, allocations: 15.98 kB / 0.7604 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.4157, allocations: 0 / 0.7604 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.008e-05/0.4158, allocations: 91.53 kB / 0.7605 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.41e-07/0.4158, allocations: 0 / 0.7605 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003399/0.4162, allocations: 12 kB / 0.7605 GB, free: 0.5625 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 (falFac.y,falFac.k) * Number of discrete 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.0002072/0.4164, allocations: 115.5 kB / 0.7606 GB, free: 448 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.4165, allocations: 29.8 kB / 0.7606 GB, free: 420 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.532e-06/0.4166, allocations: 0 / 0.7606 GB, free: 420 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.022e-05/0.4166, allocations: 19.98 kB / 0.7606 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.4169, allocations: 9.672 kB / 0.7606 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.4172, allocations: 64.92 kB / 0.7607 GB, free: 304 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.4175, allocations: 0.6848 MB / 0.7614 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.382e-05/0.4176, allocations: 12.2 kB / 0.7614 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.4176, allocations: 11.44 kB / 0.7614 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.874e-06/0.4177, allocations: 4 kB / 0.7614 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of Templates: time 0.003476/0.4211, allocations: 0.6334 MB / 0.762 GB, free: 14.93 MB / 0.6511 GB