Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 188.7 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 75.69 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1984, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002815/0.2013, allocations: 1.544 MB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003655/0.2017, allocations: 128.5 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.2018, allocations: 0 / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.2018, allocations: 7.922 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.084e-05/0.2019, allocations: 3.938 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.2022, allocations: 39.89 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.2022, allocations: 35.86 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.2023, allocations: 16 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.2024, allocations: 11.98 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.2024, allocations: 19.91 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.2024, allocations: 4 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.312e-05/0.2025, allocations: 19.98 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.2026, allocations: 11.92 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.2026, allocations: 15.94 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.2027, allocations: 43.88 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2027, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2027, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2027, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 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.0004425/0.2032, allocations: 359.6 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2032, allocations: 8.031 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.2033, allocations: 34.75 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.2033, allocations: 12.84 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.2034, allocations: 168.3 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.2034, allocations: 4.375 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.2034, allocations: 384 / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.2036, allocations: 62.23 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2037, allocations: 3.938 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2037, allocations: 0 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2037, allocations: 0 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.2039, allocations: 47.95 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.2042, allocations: 292.6 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.2046, allocations: 62.58 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/0.2047, allocations: 24.78 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/0.2049, allocations: 401.5 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.205, allocations: 38.55 kB / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.205, allocations: 0 / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003641/0.2053, allocations: 93.58 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.2054, allocations: 51.41 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.2054, allocations: 109.8 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2055, allocations: 29.7 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.2055, allocations: 92.03 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.2055, allocations: 4 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.2056, allocations: 13.72 kB / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.2057, allocations: 318.8 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.109e-05/0.2058, allocations: 19.97 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.2059, allocations: 19.98 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.206, allocations: 52.75 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.206, allocations: 0 / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002128/0.2063, allocations: 81.5 kB / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2063, allocations: 8 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2063, allocations: 0 / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2063, allocations: 0 / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.2064, allocations: 11.98 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2064, allocations: 4 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.2065, allocations: 7.984 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.2065, allocations: 0 / 0.7878 GB, free: 8.645 MB / 0.6075 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 (falFac.y,rea2Int.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.849e-05/0.2066, allocations: 117.8 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.2066, allocations: 0 / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.2069, allocations: 89.39 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2069, allocations: 7.984 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.2069, allocations: 0 / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2069, allocations: 0 / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.207, allocations: 169.6 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.207, allocations: 0 / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.446e-05/0.2071, allocations: 15.98 kB / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2071, allocations: 0 / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2071, allocations: 0 / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2072, allocations: 0 / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2072, allocations: 4 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.2074, allocations: 179.8 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.2075, allocations: 81.09 kB / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.2075, allocations: 7.984 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.2076, allocations: 4 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.2076, allocations: 7.984 kB / 0.7885 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.2076, allocations: 3.938 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.2077, allocations: 99.56 kB / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2077, allocations: 0 / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002371/0.2079, allocations: 11.91 kB / 0.7886 GB, free: 7.754 MB / 0.6075 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.0005382/0.2085, allocations: 0.7046 MB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.2087, allocations: 55.89 kB / 0.7893 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2087, allocations: 0 / 0.7893 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/0.2088, allocations: 27.97 kB / 0.7893 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.2091, allocations: 2.656 kB / 0.7893 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.2105, allocations: 1.299 MB / 0.7906 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.2107, allocations: 0.6807 MB / 0.7913 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.2107, allocations: 7.984 kB / 0.7913 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.2108, allocations: 15.44 kB / 0.7913 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.2108, allocations: 0 / 0.7913 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.2265, allocations: 1.671 MB / 0.7929 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.608, allocations: 14.25 kB / 0.7929 GB, free: 3.23 MB / 0.6075 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)