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.01519/0.01519, allocations: 113.2 kB / 15.06 MB, free: 5.562 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.001922/0.001922, allocations: 183.8 kB / 15.95 MB, free: 5.523 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 1.864/1.864, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.366/2.366, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008393/0.0008395, allocations: 19.98 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6172/0.6181, allocations: 98.72 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001565/0.6197, allocations: 1.201 MB / 0.6845 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000311/0.6201, allocations: 118.7 kB / 0.6846 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.6201, allocations: 1.031 kB / 0.6846 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.6201, allocations: 0.6562 kB / 0.6846 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.6202, allocations: 5.109 kB / 0.6846 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.6204, allocations: 16.89 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.262e-05/0.6204, allocations: 19.23 kB / 0.6847 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.658e-05/0.6205, allocations: 9.938 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.918e-05/0.6206, allocations: 11.5 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.351e-05/0.6206, allocations: 11.19 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.6206, allocations: 1.188 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.058e-05/0.6207, allocations: 10.14 kB / 0.6847 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.6207, allocations: 7.422 kB / 0.6847 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.6208, allocations: 30.89 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.769e-05/0.6208, allocations: 20.14 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.656e-06/0.6209, allocations: 0 / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.441e-06/0.6209, allocations: 4 kB / 0.6848 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.505e-06/0.6209, allocations: 0 / 0.6848 GB, free: 15.71 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003748/0.6213, allocations: 343.7 kB / 0.6851 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6213, allocations: 8.25 kB / 0.6851 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.6214, allocations: 7.844 kB / 0.6851 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.524e-05/0.6214, allocations: 169 kB / 0.6853 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.6215, allocations: 1.344 kB / 0.6853 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.6215, allocations: 7.109 kB / 0.6853 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.6217, allocations: 62.58 kB / 0.6853 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.107e-06/0.6217, allocations: 0 / 0.6853 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.641e-06/0.6217, allocations: 0 / 0.6853 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-06/0.6218, allocations: 1.281 kB / 0.6853 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.622, allocations: 55.47 kB / 0.6854 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.6223, allocations: 264 kB / 0.6857 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.6227, allocations: 66.58 kB / 0.6857 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.6228, allocations: 80.89 kB / 0.6858 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.6229, allocations: 32.03 kB / 0.6858 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.257e-06/0.6229, allocations: 0 / 0.6858 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004598/0.6234, allocations: 119.5 kB / 0.6859 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.6234, allocations: 52.11 kB / 0.686 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.877e-05/0.6235, allocations: 105.2 kB / 0.6861 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.6235, allocations: 33.64 kB / 0.6861 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.6235, allocations: 82.39 kB / 0.6862 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.6236, allocations: 13.14 kB / 0.6862 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.6236, allocations: 1.375 kB / 0.6862 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.6236, allocations: 316.7 kB / 0.6865 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.6238, allocations: 21.55 kB / 0.6865 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.6239, allocations: 24.53 kB / 0.6866 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.624, allocations: 29.62 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.197e-06/0.624, allocations: 0 / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002786/0.6243, allocations: 90.77 kB / 0.6867 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6244, allocations: 9.75 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.569e-06/0.6244, allocations: 0.6094 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.6244, allocations: 0 / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.6245, allocations: 13.53 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.012e-06/0.6245, allocations: 1.531 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.6246, allocations: 12.28 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.066e-06/0.6247, allocations: 1.562 kB / 0.6867 GB, free: 13.91 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 (fac.y,rea2Int.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.242e-05/0.6247, allocations: 112.4 kB / 0.6868 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.6248, allocations: 1.125 kB / 0.6868 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.6251, allocations: 100.2 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.555e-06/0.6251, allocations: 1.703 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.151e-06/0.6251, allocations: 4 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.292e-06/0.6251, allocations: 1.406 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.6253, allocations: 162.6 kB / 0.6871 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6253, allocations: 0.75 kB / 0.6871 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.6254, allocations: 14.69 kB / 0.6871 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6255, allocations: 0 / 0.6871 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.6255, allocations: 4.75 kB / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.829e-06/0.6255, allocations: 1.344 kB / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.748e-06/0.6255, allocations: 0 / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.6258, allocations: 186.7 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.6258, allocations: 83.11 kB / 0.6874 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.6259, allocations: 4.734 kB / 0.6874 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.626, allocations: 12.33 kB / 0.6874 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.6261, allocations: 5.891 kB / 0.6874 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.572e-06/0.6261, allocations: 2.672 kB / 0.6874 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.6261, allocations: 84.39 kB / 0.6875 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.86e-07/0.6261, allocations: 0 / 0.6875 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003037/0.6264, allocations: 6.562 kB / 0.6875 GB, free: 13.2 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 (fac.y,rea2Int.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.0001311/0.6266, allocations: 106.7 kB / 0.6876 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002861/0.6269, allocations: 59.88 kB / 0.6876 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.6269, allocations: 0 / 0.6876 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.6271, allocations: 41.59 kB / 0.6877 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.6273, allocations: 15.81 kB / 0.6877 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.6276, allocations: 118.9 kB / 0.6878 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.6277, allocations: 0.6812 MB / 0.6885 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.6278, allocations: 3.188 kB / 0.6885 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.6278, allocations: 13.61 kB / 0.6885 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of SimCode: time 1.448e-06/0.6279, allocations: 0 / 0.6885 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of Templates: time 0.003173/0.631, allocations: 0.5916 MB / 0.6891 GB, free: 12.17 MB / 0.5261 GB