Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.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 1.801/1.801, allocations: 297.4 MB / 312.6 MB, free: 2.938 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.001318/0.001318, allocations: 189.2 kB / 382.3 MB, free: 14.83 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.288/1.288, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.0007669/0.0007672, allocations: 91.05 kB / 0.7789 GB, free: 46.73 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 16 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5885/0.5888, allocations: 119.2 MB / 1.022 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001616/0.5905, allocations: 1.252 MB / 1.023 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003632/0.5909, allocations: 203.4 kB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.5909, allocations: 0 / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.591, allocations: 5.594 kB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.591, allocations: 4.844 kB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.5912, allocations: 23.42 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.943e-05/0.5913, allocations: 39.69 kB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.5914, allocations: 13.75 kB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.584e-05/0.5914, allocations: 10.97 kB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.899e-05/0.5915, allocations: 20.94 kB / 1.024 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.5915, allocations: 7.719 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-05/0.5916, allocations: 13.66 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.5916, allocations: 9.094 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.5916, allocations: 37.72 kB / 1.024 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.736e-05/0.5917, allocations: 42.02 kB / 1.024 GB, free: 56.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5917, allocations: 0 / 1.024 GB, free: 56.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5917, allocations: 1.188 kB / 1.024 GB, free: 56.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.5917, allocations: 1.406 kB / 1.024 GB, free: 56.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003637/0.5921, allocations: 350.7 kB / 1.024 GB, free: 56.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5921, allocations: 15.22 kB / 1.024 GB, free: 56.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.5922, allocations: 7.5 kB / 1.024 GB, free: 56.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.986e-05/0.5923, allocations: 171.8 kB / 1.024 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.5923, allocations: 2.656 kB / 1.024 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.5923, allocations: 4.281 kB / 1.024 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.5925, allocations: 67.08 kB / 1.024 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5925, allocations: 192 / 1.024 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5925, allocations: 5.578 kB / 1.024 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5925, allocations: 6 kB / 1.024 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.5927, allocations: 58.41 kB / 1.025 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.5931, allocations: 274.5 kB / 1.025 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.5934, allocations: 71.5 kB / 1.025 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.5935, allocations: 32.62 kB / 1.025 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.5937, allocations: 399 kB / 1.025 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.5937, allocations: 33.06 kB / 1.025 GB, free: 55.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.5938, allocations: 2.031 kB / 1.025 GB, free: 55.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0004219/0.5942, allocations: 114.6 kB / 1.025 GB, free: 55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.5942, allocations: 55.08 kB / 1.025 GB, free: 54.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.5943, allocations: 108.8 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.5943, allocations: 29.7 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.5943, allocations: 84.55 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.5943, allocations: 14.34 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.5944, allocations: 1.062 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.5944, allocations: 318.3 kB / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.677e-05/0.5945, allocations: 26.52 kB / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.5946, allocations: 28.62 kB / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.5948, allocations: 53.88 kB / 1.026 GB, free: 54.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5948, allocations: 1.312 kB / 1.026 GB, free: 54.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002192/0.595, allocations: 90.06 kB / 1.026 GB, free: 54.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.595, allocations: 10.08 kB / 1.026 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.595, allocations: 0 / 1.026 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5951, allocations: 1.031 kB / 1.026 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.5952, allocations: 17.16 kB / 1.026 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5952, allocations: 8.953 kB / 1.026 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.5952, allocations: 12.47 kB / 1.026 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5953, allocations: 5.75 kB / 1.026 GB, free: 54.3 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: 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 6.247e-05/0.5953, allocations: 119 kB / 1.026 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.5953, allocations: 3.281 kB / 1.026 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.5956, allocations: 96.3 kB / 1.026 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5956, allocations: 0 / 1.026 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5956, allocations: 0.75 kB / 1.026 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.5956, allocations: 0 / 1.026 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.5958, allocations: 172.6 kB / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5958, allocations: 0 / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.944e-05/0.5959, allocations: 14.12 kB / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5959, allocations: 4.734 kB / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.5959, allocations: 0 / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.5959, allocations: 2.234 kB / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5959, allocations: 4 kB / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.5961, allocations: 188.5 kB / 1.027 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.5962, allocations: 78.09 kB / 1.027 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.5962, allocations: 5.562 kB / 1.027 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.5963, allocations: 8.188 kB / 1.027 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.5963, allocations: 6.047 kB / 1.027 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.5963, allocations: 1.094 kB / 1.027 GB, free: 53.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.871e-05/0.5964, allocations: 87.62 kB / 1.027 GB, free: 53.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5964, allocations: 1.188 kB / 1.027 GB, free: 53.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002083/0.5966, allocations: 14.47 kB / 1.027 GB, free: 53.6 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: 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.0001333/0.5967, allocations: 110.7 kB / 1.027 GB, free: 53.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.597, allocations: 56.03 kB / 1.027 GB, free: 53.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.597, allocations: 0 / 1.027 GB, free: 53.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.5971, allocations: 33.83 kB / 1.027 GB, free: 53.49 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.5974, allocations: 15.97 kB / 1.027 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.5976, allocations: 128.6 kB / 1.027 GB, free: 53.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.617e-05/0.5977, allocations: 0.6807 MB / 1.028 GB, free: 52.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.5978, allocations: 8.438 kB / 1.028 GB, free: 52.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.5978, allocations: 13.53 kB / 1.028 GB, free: 52.66 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/0.5978, allocations: 0 / 1.028 GB, free: 52.66 MB / 0.698 GB Notification: Performance of Templates: time 0.002465/0.6003, allocations: 0.6643 MB / 1.029 GB, free: 52.6 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)