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.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.237/1.237, allocations: 255.9 MB / 271.2 MB, free: 8.941 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.0008855/0.0008855, allocations: 182.6 kB / 330.8 MB, free: 0.5117 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.334/1.334, allocations: 225.7 MB / 0.6016 GB, free: 1.676 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.0007204/0.0007203, allocations: 102 kB / 0.709 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002827, allocations: 16 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1521, allocations: 109.2 MB / 0.9327 GB, free: 6.312 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001276/0.1534, allocations: 1.253 MB / 0.934 GB, free: 5.047 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.000332/0.1538, allocations: 209.6 kB / 0.9342 GB, free: 4.82 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.1538, allocations: 0 / 0.9342 GB, free: 4.82 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.1538, allocations: 0 / 0.9342 GB, free: 4.82 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.053e-05/0.1539, allocations: 3.938 kB / 0.9342 GB, free: 4.816 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1541, allocations: 27.97 kB / 0.9342 GB, free: 4.789 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 5.148e-05/0.1541, allocations: 35.84 kB / 0.9342 GB, free: 4.754 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.1542, allocations: 15.94 kB / 0.9342 GB, free: 4.738 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.407e-05/0.1543, allocations: 15.98 kB / 0.9343 GB, free: 4.723 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.463e-05/0.1543, allocations: 15.92 kB / 0.9343 GB, free: 4.707 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.1543, allocations: 4 kB / 0.9343 GB, free: 4.703 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.358e-05/0.1544, allocations: 11.98 kB / 0.9343 GB, free: 4.691 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.1544, allocations: 11.92 kB / 0.9343 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.1544, allocations: 37.64 kB / 0.9343 GB, free: 4.637 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 8.301e-05/0.1545, allocations: 35.86 kB / 0.9344 GB, free: 4.602 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1545, allocations: 4 kB / 0.9344 GB, free: 4.598 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1545, allocations: 0 / 0.9344 GB, free: 4.598 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.1545, allocations: 0 / 0.9344 GB, free: 4.598 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003331/0.1549, allocations: 355.7 kB / 0.9347 GB, free: 4.199 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1549, allocations: 15.97 kB / 0.9347 GB, free: 4.184 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.1549, allocations: 0.9375 kB / 0.9347 GB, free: 4.184 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.291e-05/0.155, allocations: 168.3 kB / 0.9349 GB, free: 3.98 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.155, allocations: 384 / 0.9349 GB, free: 3.98 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.1551, allocations: 12.38 kB / 0.9349 GB, free: 3.969 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1552, allocations: 74.16 kB / 0.935 GB, free: 3.891 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.1552, allocations: 192 / 0.935 GB, free: 3.891 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.1553, allocations: 7.938 kB / 0.935 GB, free: 3.883 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1553, allocations: 0 / 0.935 GB, free: 3.883 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.1554, allocations: 51.95 kB / 0.935 GB, free: 3.832 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.1557, allocations: 288.6 kB / 0.9353 GB, free: 3.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.156, allocations: 58.53 kB / 0.9354 GB, free: 3.434 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.1561, allocations: 32.91 kB / 0.9354 GB, free: 3.398 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.1563, allocations: 405.5 kB / 0.9358 GB, free: 2.91 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.121e-05/0.1563, allocations: 30.56 kB / 0.9358 GB, free: 2.871 MB / 0.573 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1563, allocations: 0 / 0.9358 GB, free: 2.871 MB / 0.573 GB Notification: Performance of matching and sorting (n=3): time 0.0003283/0.1566, allocations: 121.5 kB / 0.9359 GB, free: 2.746 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.515e-05/0.1567, allocations: 55.39 kB / 0.936 GB, free: 2.68 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.432e-05/0.1567, allocations: 105.9 kB / 0.9361 GB, free: 2.566 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.1567, allocations: 29.69 kB / 0.9361 GB, free: 2.531 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.252e-05/0.1567, allocations: 88.14 kB / 0.9362 GB, free: 2.441 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.1568, allocations: 7.969 kB / 0.9362 GB, free: 2.434 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.1568, allocations: 4 kB / 0.9362 GB, free: 2.43 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.736e-05/0.1568, allocations: 318.8 kB / 0.9365 GB, free: 2.109 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-05/0.1569, allocations: 23.97 kB / 0.9365 GB, free: 2.086 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-05/0.157, allocations: 27.98 kB / 0.9366 GB, free: 2.059 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1571, allocations: 60.75 kB / 0.9366 GB, free: 1.996 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1571, allocations: 0 / 0.9366 GB, free: 1.996 MB / 0.573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001795/0.1573, allocations: 85.66 kB / 0.9367 GB, free: 1.906 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.1573, allocations: 7.938 kB / 0.9367 GB, free: 1.898 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1574, allocations: 0 / 0.9367 GB, free: 1.898 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.1574, allocations: 0 / 0.9367 GB, free: 1.898 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.1574, allocations: 15.98 kB / 0.9367 GB, free: 1.883 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1575, allocations: 0 / 0.9367 GB, free: 1.883 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.1575, allocations: 15.98 kB / 0.9367 GB, free: 1.867 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1575, allocations: 0 / 0.9367 GB, free: 1.867 MB / 0.573 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 (rea2Int.y,falFac.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.1576, allocations: 110.4 kB / 0.9368 GB, free: 1.75 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.1576, allocations: 11.91 kB / 0.9369 GB, free: 1.738 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.1578, allocations: 97.8 kB / 0.9369 GB, free: 1.637 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1578, allocations: 3.938 kB / 0.9369 GB, free: 1.633 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1578, allocations: 0 / 0.9369 GB, free: 1.633 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1578, allocations: 3.984 kB / 0.937 GB, free: 1.629 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.158, allocations: 169.6 kB / 0.9371 GB, free: 1.414 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.158, allocations: 0 / 0.9371 GB, free: 1.414 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.158, allocations: 15.98 kB / 0.9371 GB, free: 1.398 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.158, allocations: 0 / 0.9371 GB, free: 1.398 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1581, allocations: 4 kB / 0.9371 GB, free: 1.395 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1581, allocations: 0 / 0.9371 GB, free: 1.395 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1581, allocations: 3.984 kB / 0.9371 GB, free: 1.391 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.1583, allocations: 183.4 kB / 0.9373 GB, free: 1.195 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.1583, allocations: 89 kB / 0.9374 GB, free: 1.09 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.1583, allocations: 0 / 0.9374 GB, free: 1.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.1584, allocations: 12 kB / 0.9374 GB, free: 1.078 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.1584, allocations: 8.406 kB / 0.9374 GB, free: 1.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1584, allocations: 0 / 0.9374 GB, free: 1.07 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.238e-05/0.1585, allocations: 87.27 kB / 0.9375 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1585, allocations: 0 / 0.9375 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001855/0.1587, allocations: 8 kB / 0.9375 GB, free: 0.9766 MB / 0.573 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 (rea2Int.y,falFac.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 (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.000103/0.1588, allocations: 115.8 kB / 0.9376 GB, free: 0.8516 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001957/0.159, allocations: 55.95 kB / 0.9377 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.159, allocations: 0 / 0.9377 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/0.1591, allocations: 39.91 kB / 0.9377 GB, free: 0.7578 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.1593, allocations: 11.78 kB / 0.9377 GB, free: 0.7461 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.1595, allocations: 132.7 kB / 0.9378 GB, free: 0.5938 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.1596, allocations: 0.6809 MB / 0.9385 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.1597, allocations: 8 kB / 0.9385 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.1597, allocations: 15.42 kB / 0.9385 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.1597, allocations: 0 / 0.9385 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of Templates: time 0.002304/0.162, allocations: 0.6669 MB / 0.9392 GB, free: 15.2 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)