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.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009496/0.0095, allocations: 108.5 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.001206/0.001206, allocations: 177.3 kB / 15.95 MB, free: 5.52 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.307/2.307, allocations: 194.5 MB / 211.3 MB, free: 11.09 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.32/2.32, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 12 kB / 0.5869 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5638/0.5643, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.00167/0.566, allocations: 1.226 MB / 0.6845 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003155/0.5664, allocations: 129.8 kB / 0.6847 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.5664, allocations: 0 / 0.6847 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.5665, allocations: 0.9844 kB / 0.6847 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.5665, allocations: 5.594 kB / 0.6847 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.5667, allocations: 24.33 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.762e-05/0.5668, allocations: 21.91 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.84e-05/0.5669, allocations: 11.77 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.836e-05/0.5669, allocations: 10.47 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.284e-05/0.567, allocations: 17.58 kB / 0.6847 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.567, allocations: 5.438 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.574e-05/0.5671, allocations: 9.234 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.5671, allocations: 11.34 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.5672, allocations: 28.39 kB / 0.6848 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.619e-05/0.5673, allocations: 28.17 kB / 0.6848 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.5673, allocations: 0 / 0.6848 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.295e-06/0.5673, allocations: 0 / 0.6848 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.105e-06/0.5673, allocations: 0 / 0.6848 GB, free: 15.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004187/0.5677, allocations: 350.6 kB / 0.6852 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.5678, allocations: 9.312 kB / 0.6852 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.5678, allocations: 6.281 kB / 0.6852 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.332e-05/0.5679, allocations: 173.7 kB / 0.6853 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.5679, allocations: 1.469 kB / 0.6853 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.568, allocations: 6.969 kB / 0.6853 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.5682, allocations: 70.81 kB / 0.6854 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.979e-06/0.5682, allocations: 0 / 0.6854 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.5682, allocations: 0 / 0.6854 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.438e-06/0.5683, allocations: 5.125 kB / 0.6854 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.5685, allocations: 57.42 kB / 0.6855 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.5689, allocations: 284.5 kB / 0.6857 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.5693, allocations: 67.55 kB / 0.6858 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.5695, allocations: 397.6 kB / 0.6862 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.5695, allocations: 35.59 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.25e-06/0.5695, allocations: 0 / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004734/0.57, allocations: 111.1 kB / 0.6863 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.5701, allocations: 61.16 kB / 0.6864 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.5701, allocations: 107.1 kB / 0.6865 GB, free: 14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.5702, allocations: 26.78 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.5702, allocations: 90.06 kB / 0.6866 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.5702, allocations: 9.156 kB / 0.6866 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-06/0.5703, allocations: 1.312 kB / 0.6866 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.347e-05/0.5703, allocations: 321.2 kB / 0.6869 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.5704, allocations: 24.75 kB / 0.6869 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.5706, allocations: 26 kB / 0.687 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.5707, allocations: 24.2 kB / 0.687 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.286e-06/0.5707, allocations: 1.062 kB / 0.687 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002944/0.571, allocations: 91.11 kB / 0.6871 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.571, allocations: 7.344 kB / 0.6871 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.447e-06/0.5711, allocations: 0 / 0.6871 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5711, allocations: 1.031 kB / 0.6871 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.5712, allocations: 18.48 kB / 0.6871 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.5712, allocations: 3.953 kB / 0.6871 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.5713, allocations: 9.5 kB / 0.6871 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.754e-06/0.5713, allocations: 1.469 kB / 0.6871 GB, free: 13.48 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 (rea2Int.y,falFac.y) * 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 6.616e-05/0.5714, allocations: 113.3 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.5715, allocations: 5.062 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.5718, allocations: 97.39 kB / 0.6873 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.003e-06/0.5718, allocations: 1.703 kB / 0.6873 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.457e-06/0.5718, allocations: 0 / 0.6873 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.781e-06/0.5718, allocations: 4.562 kB / 0.6873 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.572, allocations: 165.7 kB / 0.6875 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.683e-06/0.572, allocations: 0.6094 kB / 0.6875 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.5721, allocations: 17.77 kB / 0.6875 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.799e-06/0.5722, allocations: 0.6562 kB / 0.6875 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5722, allocations: 5.125 kB / 0.6875 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.894e-06/0.5722, allocations: 0.6094 kB / 0.6875 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-06/0.5722, allocations: 1.031 kB / 0.6875 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.5725, allocations: 186.7 kB / 0.6877 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.5726, allocations: 83.58 kB / 0.6878 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.5726, allocations: 10.08 kB / 0.6878 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.5727, allocations: 8.531 kB / 0.6878 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.5728, allocations: 9.031 kB / 0.6878 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.819e-06/0.5728, allocations: 1.516 kB / 0.6878 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.5729, allocations: 92 kB / 0.6879 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.74e-07/0.5729, allocations: 0 / 0.6879 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003186/0.5732, allocations: 8.516 kB / 0.6879 GB, free: 12.75 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 (rea2Int.y,falFac.y) * 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.0001429/0.5734, allocations: 116.2 kB / 0.688 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.5737, allocations: 58.73 kB / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.507e-06/0.5737, allocations: 1.188 kB / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.5738, allocations: 30.25 kB / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.5741, allocations: 6.062 kB / 0.6881 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.5744, allocations: 134.7 kB / 0.6882 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.5745, allocations: 0.6819 MB / 0.6889 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.447e-05/0.5746, allocations: 4.938 kB / 0.6889 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.5746, allocations: 10.34 kB / 0.6889 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/0.5746, allocations: 0 / 0.6889 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.003331/0.578, allocations: 0.6338 MB / 0.6895 GB, free: 11.73 MB / 0.5261 GB