Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.646/1.646, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.0009347/0.0009347, allocations: 175 kB / 393.1 MB, free: 4.09 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.296/1.296, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007378/0.0007378, allocations: 94.89 kB / 0.7935 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 12 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5614/0.5618, allocations: 121.3 MB / 1.041 GB, free: 58.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0005784/0.5624, allocations: 329 kB / 1.041 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.5627, allocations: 127.7 kB / 1.041 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.29e-05/0.5627, allocations: 0 / 1.041 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.5627, allocations: 0 / 1.041 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.897e-06/0.5627, allocations: 4.219 kB / 1.041 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.5629, allocations: 19.95 kB / 1.041 GB, free: 58.22 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.007e-05/0.563, allocations: 28.17 kB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.563, allocations: 2.734 kB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.774e-05/0.5631, allocations: 13.67 kB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.518e-05/0.5631, allocations: 14.41 kB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.5631, allocations: 1.406 kB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6e-05/0.5632, allocations: 15.23 kB / 1.041 GB, free: 58.2 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.5632, allocations: 20.05 kB / 1.041 GB, free: 58.19 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.5633, allocations: 32.39 kB / 1.041 GB, free: 58.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.486e-05/0.5633, allocations: 34.12 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5633, allocations: 0 / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5634, allocations: 2.812 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.5634, allocations: 0 / 1.041 GB, free: 58.14 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.0001994/0.5636, allocations: 330.8 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.5636, allocations: 9.438 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.5636, allocations: 6.359 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.658e-05/0.5637, allocations: 164 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.5637, allocations: 4.344 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.5637, allocations: 7.406 kB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.5639, allocations: 72.7 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.5639, allocations: 192 / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.5639, allocations: 5.219 kB / 1.042 GB, free: 57.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5639, allocations: 1.562 kB / 1.042 GB, free: 57.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.564, allocations: 100.4 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.5642, allocations: 175.8 kB / 1.042 GB, free: 57.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.454e-05/0.5643, allocations: 71.38 kB / 1.042 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.5643, allocations: 33.38 kB / 1.042 GB, free: 57.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/0.5645, allocations: 409.4 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.5645, allocations: 35.47 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.083e-06/0.5646, allocations: 2.375 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0002031/0.5648, allocations: 116.1 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.5648, allocations: 54.19 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.008e-05/0.5648, allocations: 99.58 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.5648, allocations: 29.36 kB / 1.043 GB, free: 56.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-06/0.5648, allocations: 80.77 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.5649, allocations: 22.94 kB / 1.043 GB, free: 56.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-06/0.5649, allocations: 0 / 1.043 GB, free: 56.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.554e-05/0.5649, allocations: 316.3 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.403e-05/0.565, allocations: 22.41 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.565, allocations: 23.64 kB / 1.044 GB, free: 56.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.773e-05/0.5651, allocations: 60.62 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5651, allocations: 0 / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001073/0.5652, allocations: 89.86 kB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.5652, allocations: 10.53 kB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5652, allocations: 5.297 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.5652, allocations: 1.844 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.5653, allocations: 22.53 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5654, allocations: 1.094 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.5654, allocations: 11.12 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.5654, allocations: 2.844 kB / 1.044 GB, free: 55.97 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 9.062e-05/0.5655, allocations: 121.3 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.5655, allocations: 9.688 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.5657, allocations: 126.6 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5657, allocations: 3.844 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5657, allocations: 0 / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5657, allocations: 4.453 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.841e-05/0.5658, allocations: 176.5 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5658, allocations: 0 / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.5659, allocations: 18.94 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5659, allocations: 3.938 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.5659, allocations: 4.156 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5659, allocations: 0 / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5659, allocations: 3.125 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.566, allocations: 119.3 kB / 1.044 GB, free: 55.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.5661, allocations: 86.38 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.5661, allocations: 7.688 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.486e-05/0.5661, allocations: 4.969 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.5661, allocations: 8.656 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.5661, allocations: 7.734 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.668e-06/0.5662, allocations: 75.28 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5662, allocations: 1.438 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001776/0.5663, allocations: 12.03 kB / 1.045 GB, free: 55.3 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.0001194/0.5665, allocations: 121.2 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.5666, allocations: 66.91 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5666, allocations: 5.031 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.557e-05/0.5667, allocations: 35.3 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.5668, allocations: 10.41 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001983/0.567, allocations: 145.9 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.503e-05/0.5671, allocations: 0.6863 MB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.909e-05/0.5672, allocations: 37.91 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.5672, allocations: 15.64 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.5672, allocations: 0 / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of Templates: time 0.00216/0.5694, allocations: 0.5869 MB / 1.046 GB, free: 54.25 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)