Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 2.104/2.104, allocations: 297.4 MB / 312.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 186 kB / 382.3 MB, free: 14.85 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 225.7 MB / 0.6617 GB, free: 7.223 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008444/0.0008442, allocations: 95.02 kB / 0.7789 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 12 kB / 0.9058 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.539/0.5394, allocations: 119.2 MB / 1.022 GB, free: 57.83 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.000712/0.5401, allocations: 323.9 kB / 1.023 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002831/0.5404, allocations: 130.2 kB / 1.023 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.5405, allocations: 0.5938 kB / 1.023 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.5405, allocations: 0 / 1.023 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-06/0.5405, allocations: 6.25 kB / 1.023 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.5407, allocations: 11.67 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.5408, allocations: 25.03 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.5409, allocations: 9.062 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.199e-05/0.5409, allocations: 14.06 kB / 1.023 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.871e-05/0.5409, allocations: 13.62 kB / 1.023 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.541, allocations: 1.75 kB / 1.023 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.541, allocations: 11.73 kB / 1.023 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.5411, allocations: 19.39 kB / 1.023 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.5411, allocations: 38.11 kB / 1.023 GB, free: 57.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.837e-05/0.5412, allocations: 41.78 kB / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5412, allocations: 0 / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5412, allocations: 0 / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.5412, allocations: 1.375 kB / 1.023 GB, free: 57.5 MB / 0.698 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.0002368/0.5415, allocations: 319.4 kB / 1.023 GB, free: 57.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.5415, allocations: 9.625 kB / 1.023 GB, free: 57.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.5416, allocations: 8.219 kB / 1.023 GB, free: 57.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.015e-05/0.5416, allocations: 166.5 kB / 1.023 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5416, allocations: 4.719 kB / 1.023 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.5417, allocations: 3.125 kB / 1.023 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.5418, allocations: 70.62 kB / 1.023 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5418, allocations: 2.5 kB / 1.023 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.5418, allocations: 11.41 kB / 1.023 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5418, allocations: 1.375 kB / 1.023 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.542, allocations: 99.95 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.5422, allocations: 171.8 kB / 1.024 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.5423, allocations: 66.83 kB / 1.024 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.5423, allocations: 32.27 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.5426, allocations: 403.8 kB / 1.024 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.5426, allocations: 38.83 kB / 1.024 GB, free: 56.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.5426, allocations: 1.375 kB / 1.024 GB, free: 56.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0002226/0.5428, allocations: 117.1 kB / 1.024 GB, free: 56.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.5429, allocations: 57.11 kB / 1.024 GB, free: 56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.334e-05/0.5429, allocations: 95.23 kB / 1.025 GB, free: 55.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.5429, allocations: 25.7 kB / 1.025 GB, free: 55.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.245e-05/0.5429, allocations: 82.55 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.543, allocations: 21.17 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.543, allocations: 4.656 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.543, allocations: 317 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.5431, allocations: 24.95 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.5431, allocations: 23.75 kB / 1.025 GB, free: 55.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.5432, allocations: 65.02 kB / 1.025 GB, free: 55.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5432, allocations: 0 / 1.025 GB, free: 55.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000114/0.5433, allocations: 88.34 kB / 1.025 GB, free: 55.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.5433, allocations: 6.656 kB / 1.025 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5433, allocations: 6.281 kB / 1.025 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5434, allocations: 1.375 kB / 1.025 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.593e-05/0.5435, allocations: 19.25 kB / 1.025 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.5435, allocations: 3.938 kB / 1.025 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.5435, allocations: 13.22 kB / 1.025 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.5435, allocations: 4.125 kB / 1.025 GB, free: 55.34 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.5436, allocations: 125.3 kB / 1.025 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.5437, allocations: 2.75 kB / 1.025 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.5438, allocations: 129.2 kB / 1.025 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5439, allocations: 1.938 kB / 1.025 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5439, allocations: 0 / 1.025 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.5439, allocations: 5.141 kB / 1.025 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.326e-05/0.544, allocations: 174.6 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.544, allocations: 4.516 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.544, allocations: 20.91 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.5441, allocations: 3.938 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.5441, allocations: 8.828 kB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5441, allocations: 1.75 kB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5441, allocations: 0.625 kB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.5442, allocations: 118.2 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.5442, allocations: 86.39 kB / 1.026 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.5443, allocations: 3.875 kB / 1.026 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.648e-05/0.5443, allocations: 4.797 kB / 1.026 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.5443, allocations: 15.62 kB / 1.026 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-06/0.5443, allocations: 5.328 kB / 1.026 GB, free: 54.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.279e-05/0.5443, allocations: 75.28 kB / 1.026 GB, free: 54.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5444, allocations: 1.125 kB / 1.026 GB, free: 54.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001793/0.5445, allocations: 14.59 kB / 1.026 GB, free: 54.68 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001602/0.5447, allocations: 119.8 kB / 1.026 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.5448, allocations: 62.62 kB / 1.026 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5448, allocations: 3.938 kB / 1.026 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.5449, allocations: 34.91 kB / 1.026 GB, free: 54.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.545, allocations: 10.59 kB / 1.026 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002219/0.5453, allocations: 144.9 kB / 1.026 GB, free: 54.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.5454, allocations: 0.6928 MB / 1.027 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.123e-05/0.5455, allocations: 33.7 kB / 1.027 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.5455, allocations: 17.25 kB / 1.027 GB, free: 53.72 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/0.5455, allocations: 0 / 1.027 GB, free: 53.72 MB / 0.698 GB Notification: Performance of Templates: time 0.00257/0.5481, allocations: 0.5851 MB / 1.028 GB, free: 53.64 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)