Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.253/2.253, allocations: 254.9 MB / 269.9 MB, free: 9.637 MB / 218.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.001347/0.001347, allocations: 188.1 kB / 329.5 MB, free: 1.172 MB / 250.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 2.819/2.819, allocations: 225.6 MB / 0.6001 GB, free: 2.25 MB / 426.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.0009458/0.0009458, allocations: 95.23 kB / 0.7074 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004843, allocations: 13.19 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2122, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007597/0.213, allocations: 314.1 kB / 0.9311 GB, free: 24.83 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003086/0.2134, allocations: 51.91 kB / 0.9311 GB, free: 24.78 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.2134, allocations: 0 / 0.9311 GB, free: 24.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.2135, allocations: 0 / 0.9311 GB, free: 24.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.107e-06/0.2135, allocations: 3.938 kB / 0.9311 GB, free: 24.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.2138, allocations: 19.91 kB / 0.9311 GB, free: 24.76 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2139, allocations: 23.98 kB / 0.9312 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.783e-05/0.214, allocations: 7.984 kB / 0.9312 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.214, allocations: 8 kB / 0.9312 GB, free: 24.72 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.2141, allocations: 15.97 kB / 0.9312 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.2141, allocations: 0 / 0.9312 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-05/0.2142, allocations: 16 kB / 0.9312 GB, free: 24.69 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.2143, allocations: 11.97 kB / 0.9312 GB, free: 24.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.2143, allocations: 33.64 kB / 0.9313 GB, free: 24.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.817e-05/0.2144, allocations: 19.97 kB / 0.9313 GB, free: 24.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2144, allocations: 4 kB / 0.9313 GB, free: 24.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2144, allocations: 0 / 0.9313 GB, free: 24.61 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2145, allocations: 0 / 0.9313 GB, free: 24.61 MB / 0.5886 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.0002933/0.2148, allocations: 331.5 kB / 0.9316 GB, free: 24.24 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2148, allocations: 8.031 kB / 0.9316 GB, free: 24.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.2149, allocations: 4.938 kB / 0.9316 GB, free: 24.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.498e-05/0.2149, allocations: 164.6 kB / 0.9318 GB, free: 24.03 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.215, allocations: 384 / 0.9318 GB, free: 24.03 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.215, allocations: 4.375 kB / 0.9318 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.2152, allocations: 74.09 kB / 0.9318 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2152, allocations: 4.125 kB / 0.9318 GB, free: 23.94 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2152, allocations: 7.938 kB / 0.9318 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2152, allocations: 4 kB / 0.9319 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.2154, allocations: 95.88 kB / 0.9319 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.2156, allocations: 177.6 kB / 0.9321 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.2158, allocations: 66.55 kB / 0.9322 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.2159, allocations: 28.84 kB / 0.9322 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004012/0.2163, allocations: 409.5 kB / 0.9326 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.2163, allocations: 38.48 kB / 0.9326 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 3.166e-06/0.2164, allocations: 4 kB / 0.9326 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003378/0.2167, allocations: 117.9 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.2167, allocations: 55.41 kB / 0.9328 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.341e-05/0.2168, allocations: 93.77 kB / 0.9329 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2168, allocations: 29.7 kB / 0.9329 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.838e-05/0.2168, allocations: 88.12 kB / 0.933 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.2169, allocations: 19.75 kB / 0.933 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.2169, allocations: 0 / 0.933 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.217, allocations: 318.8 kB / 0.9333 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.217, allocations: 19.92 kB / 0.9333 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.369e-05/0.2171, allocations: 23.98 kB / 0.9334 GB, free: 22.17 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.518e-05/0.2172, allocations: 27.92 kB / 0.9334 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2172, allocations: 0 / 0.9334 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002035/0.2174, allocations: 93.52 kB / 0.9335 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2175, allocations: 4 kB / 0.9335 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2175, allocations: 7.922 kB / 0.9335 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2175, allocations: 4 kB / 0.9335 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.2177, allocations: 16 kB / 0.9335 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2177, allocations: 8 kB / 0.9335 GB, free: 22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.2177, allocations: 0 / 0.9335 GB, free: 22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2178, allocations: 7.984 kB / 0.9335 GB, free: 22 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.2179, allocations: 123.3 kB / 0.9336 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.218, allocations: 3.906 kB / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.2183, allocations: 134.2 kB / 0.9338 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2183, allocations: 8 kB / 0.9338 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2183, allocations: 0 / 0.9338 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2184, allocations: 0 / 0.9338 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.2185, allocations: 169.6 kB / 0.9339 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2185, allocations: 3.984 kB / 0.934 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.2187, allocations: 23.94 kB / 0.934 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2187, allocations: 3.938 kB / 0.934 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2187, allocations: 4 kB / 0.934 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.2187, allocations: 7.984 kB / 0.934 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.2187, allocations: 0 / 0.934 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.2189, allocations: 121.1 kB / 0.9341 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.219, allocations: 84.95 kB / 0.9342 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.219, allocations: 7.984 kB / 0.9342 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.219, allocations: 4 kB / 0.9342 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.2191, allocations: 4 kB / 0.9342 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.2191, allocations: 7.984 kB / 0.9342 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.792e-05/0.2191, allocations: 75.28 kB / 0.9343 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3e-07/0.2191, allocations: 0 / 0.9343 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002562/0.2194, allocations: 20 kB / 0.9343 GB, free: 21.11 MB / 0.5886 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 (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.0002093/0.2196, allocations: 123.1 kB / 0.9344 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.2198, allocations: 63.89 kB / 0.9345 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2198, allocations: 0 / 0.9345 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.2199, allocations: 31.92 kB / 0.9345 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.2201, allocations: 11.94 kB / 0.9345 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.2204, allocations: 150.7 kB / 0.9347 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.2205, allocations: 0.6848 MB / 0.9353 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.2207, allocations: 39.92 kB / 0.9354 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.2207, allocations: 15.44 kB / 0.9354 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.2207, allocations: 0 / 0.9354 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of Templates: time 0.0033/0.224, allocations: 0.5626 MB / 0.9359 GB, free: 19.37 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)