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.006648/0.006654, allocations: 236.1 kB / 15.8 MB, free: 6.316 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.001846/0.001846, allocations: 179.4 kB / 16.68 MB, free: 5.473 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 4.182/4.182, allocations: 389.1 MB / 406.5 MB, free: 11.88 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.9024 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004984, allocations: 16 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2016, allocations: 98.71 MB / 1.105 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.00168/0.2034, allocations: 1.216 MB / 1.106 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003311/0.2037, allocations: 120.5 kB / 1.106 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.2038, allocations: 0 / 1.106 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.2038, allocations: 0 / 1.106 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.2038, allocations: 7.406 kB / 1.106 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.2041, allocations: 19.92 kB / 1.106 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.2042, allocations: 27.91 kB / 1.106 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.2043, allocations: 4 kB / 1.106 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.2043, allocations: 11.98 kB / 1.106 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.2044, allocations: 11.94 kB / 1.106 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2044, allocations: 4 kB / 1.106 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-05/0.2045, allocations: 7.984 kB / 1.106 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.2045, allocations: 3.5 kB / 1.106 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.2045, allocations: 37.64 kB / 1.106 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.74e-05/0.2046, allocations: 19.94 kB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2046, allocations: 0 / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.063e-06/0.2046, allocations: 0 / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.2046, allocations: 0 / 1.106 GB, free: 40.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000452/0.2051, allocations: 348.3 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.2051, allocations: 8.031 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.2052, allocations: 6.609 kB / 1.106 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.519e-05/0.2053, allocations: 167 kB / 1.107 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.2053, allocations: 4 kB / 1.107 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.2053, allocations: 4 kB / 1.107 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.2056, allocations: 59.88 kB / 1.107 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2056, allocations: 4 kB / 1.107 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2056, allocations: 0 / 1.107 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2056, allocations: 3.953 kB / 1.107 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.206, allocations: 59.67 kB / 1.107 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.2063, allocations: 264.9 kB / 1.107 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.2068, allocations: 61.39 kB / 1.107 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.207, allocations: 32.89 kB / 1.107 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.2071, allocations: 85.58 kB / 1.107 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.2072, allocations: 38.45 kB / 1.107 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.2072, allocations: 0 / 1.107 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005502/0.2077, allocations: 112.9 kB / 1.107 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.2078, allocations: 51.41 kB / 1.107 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.2078, allocations: 101.8 kB / 1.107 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.2079, allocations: 25.7 kB / 1.107 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.2079, allocations: 87.8 kB / 1.108 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.2079, allocations: 3.906 kB / 1.108 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.2079, allocations: 3.938 kB / 1.108 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.208, allocations: 314.8 kB / 1.108 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2082, allocations: 27.97 kB / 1.108 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.2083, allocations: 28.8 kB / 1.108 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.2085, allocations: 23.98 kB / 1.108 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2085, allocations: 0 / 1.108 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003381/0.2089, allocations: 92.73 kB / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2089, allocations: 4 kB / 1.108 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2089, allocations: 7.984 kB / 1.108 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2089, allocations: 3.953 kB / 1.108 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2091, allocations: 13.02 kB / 1.108 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2091, allocations: 0 / 1.108 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-05/0.2092, allocations: 14.94 kB / 1.108 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.2092, allocations: 3.984 kB / 1.108 GB, free: 38.43 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: 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.687e-05/0.2093, allocations: 117.8 kB / 1.108 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.2093, allocations: 0 / 1.108 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.2097, allocations: 97.91 kB / 1.108 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2097, allocations: 3.953 kB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2097, allocations: 0 / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.2098, allocations: 77.11 kB / 1.108 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.2098, allocations: 0 / 1.108 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.2099, allocations: 12.55 kB / 1.108 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.21, allocations: 14.92 kB / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004104/0.2104, allocations: 168.5 kB / 1.108 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003754/0.2108, allocations: 266.5 kB / 1.109 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001594/0.211, allocations: 27.98 kB / 1.109 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.776e-05/0.211, allocations: 81.84 kB / 1.109 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of Backend: time 6.82e-07/0.211, allocations: 4 kB / 1.109 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005561/0.2116, allocations: 112.7 kB / 1.109 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004555/0.2121, allocations: 0.5561 MB / 1.11 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.00343/0.2155, allocations: 0.6888 MB / 1.11 GB, free: 36.16 MB / 0.6042 GB