Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.236/1.236, allocations: 255.9 MB / 271.2 MB, free: 8.938 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.0008803/0.0008803, allocations: 185.3 kB / 330.8 MB, free: 0.4922 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 1.322/1.322, allocations: 225.7 MB / 0.6016 GB, free: 15.93 MB / 442.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.0006982/0.0006983, allocations: 103.5 kB / 0.709 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.000306, allocations: 10.16 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1538, allocations: 109.2 MB / 0.9328 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.000532/0.1544, allocations: 322 kB / 0.9331 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002402/0.1546, allocations: 133 kB / 0.9332 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.365e-05/0.1546, allocations: 0 / 0.9332 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.1547, allocations: 0 / 0.9332 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.757e-06/0.1547, allocations: 0 / 0.9332 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.1549, allocations: 15.97 kB / 0.9332 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.722e-05/0.155, allocations: 23.98 kB / 0.9332 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.275e-05/0.155, allocations: 4 kB / 0.9332 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.582e-05/0.155, allocations: 15.97 kB / 0.9332 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.278e-05/0.155, allocations: 8 kB / 0.9333 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1551, allocations: 0 / 0.9333 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-05/0.1551, allocations: 19.98 kB / 0.9333 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.1552, allocations: 23.91 kB / 0.9333 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.1552, allocations: 33.64 kB / 0.9333 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.141e-05/0.1553, allocations: 31.89 kB / 0.9334 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1553, allocations: 0 / 0.9334 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1553, allocations: 0 / 0.9334 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.1553, allocations: 4 kB / 0.9334 GB, free: 23.48 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.0001896/0.1555, allocations: 327.6 kB / 0.9337 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.1555, allocations: 15.92 kB / 0.9337 GB, free: 23.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.1556, allocations: 4.844 kB / 0.9337 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.743e-05/0.1556, allocations: 180.5 kB / 0.9339 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1556, allocations: 4.375 kB / 0.9339 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1556, allocations: 4.375 kB / 0.9339 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1558, allocations: 58.23 kB / 0.9339 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1558, allocations: 192 / 0.9339 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1558, allocations: 3.938 kB / 0.9339 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1558, allocations: 4 kB / 0.9339 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1559, allocations: 107.7 kB / 0.934 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.156, allocations: 165.7 kB / 0.9342 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.36e-05/0.1561, allocations: 82.52 kB / 0.9343 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.1562, allocations: 32.84 kB / 0.9343 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.1564, allocations: 401.5 kB / 0.9347 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.1564, allocations: 38.56 kB / 0.9347 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1564, allocations: 0 / 0.9347 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0001925/0.1566, allocations: 121.8 kB / 0.9348 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.559e-05/0.1567, allocations: 51.41 kB / 0.9349 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.154e-05/0.1567, allocations: 105.8 kB / 0.935 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.1567, allocations: 25.7 kB / 0.935 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.267e-06/0.1567, allocations: 80.14 kB / 0.9351 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1567, allocations: 19.75 kB / 0.9351 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.1567, allocations: 0 / 0.9351 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.1568, allocations: 318.8 kB / 0.9354 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.1568, allocations: 19.98 kB / 0.9354 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.1569, allocations: 19.98 kB / 0.9355 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.974e-05/0.1569, allocations: 52.84 kB / 0.9355 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1569, allocations: 4 kB / 0.9355 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001041/0.157, allocations: 106.1 kB / 0.9356 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1571, allocations: 7.906 kB / 0.9356 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1571, allocations: 3.938 kB / 0.9356 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1571, allocations: 0 / 0.9356 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.717e-05/0.1572, allocations: 19.98 kB / 0.9356 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1572, allocations: 0 / 0.9356 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.1572, allocations: 4 kB / 0.9356 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.1572, allocations: 4 kB / 0.9357 GB, free: 20.83 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.61e-05/0.1573, allocations: 131 kB / 0.9358 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.1573, allocations: 7.906 kB / 0.9358 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.1575, allocations: 129.5 kB / 0.9359 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1575, allocations: 3.938 kB / 0.9359 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1575, allocations: 4 kB / 0.9359 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1575, allocations: 4 kB / 0.9359 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.104e-05/0.1576, allocations: 173.6 kB / 0.9361 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1576, allocations: 4 kB / 0.9361 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.1577, allocations: 16 kB / 0.9361 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1577, allocations: 7.922 kB / 0.9361 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1577, allocations: 0 / 0.9361 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1577, allocations: 3.938 kB / 0.9361 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1577, allocations: 4 kB / 0.9361 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1578, allocations: 121 kB / 0.9362 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.1579, allocations: 84.95 kB / 0.9363 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1579, allocations: 4 kB / 0.9363 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/0.1579, allocations: 4 kB / 0.9363 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.1579, allocations: 7.984 kB / 0.9363 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1579, allocations: 4 kB / 0.9363 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.102e-05/0.1579, allocations: 79.28 kB / 0.9364 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.6e-07/0.1579, allocations: 0 / 0.9364 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001711/0.1581, allocations: 8 kB / 0.9364 GB, free: 19.94 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 (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.0001316/0.1583, allocations: 137.1 kB / 0.9365 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.1584, allocations: 55.97 kB / 0.9366 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1584, allocations: 0 / 0.9366 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.1584, allocations: 35.92 kB / 0.9366 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.1585, allocations: 11.88 kB / 0.9366 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001817/0.1587, allocations: 150.7 kB / 0.9368 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.581e-05/0.1588, allocations: 0.6888 MB / 0.9375 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.126e-05/0.1589, allocations: 35.72 kB / 0.9375 GB, free: 18.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.1589, allocations: 15.44 kB / 0.9375 GB, free: 18.76 MB / 0.5886 GB Notification: Performance of SimCode: time 2.91e-07/0.1589, allocations: 0 / 0.9375 GB, free: 18.76 MB / 0.5886 GB Notification: Performance of Templates: time 0.001993/0.1609, allocations: 0.5932 MB / 0.9381 GB, free: 18.17 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)