Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.639/1.639, allocations: 288.4 MB / 303.3 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009087/0.0009086, allocations: 176.5 kB / 372 MB, free: 10.21 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 0.6307 GB, free: 9.848 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006932/0.0006931, allocations: 78.38 kB / 0.744 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004001, allocations: 13 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2077, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006382/0.2084, allocations: 315.8 kB / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002447/0.2087, allocations: 51.89 kB / 0.98 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.2087, allocations: 0 / 0.98 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.2087, allocations: 0 / 0.98 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-06/0.2087, allocations: 0 / 0.98 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.209, allocations: 19.92 kB / 0.98 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.825e-05/0.2091, allocations: 31.95 kB / 0.9801 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.2092, allocations: 4 kB / 0.9801 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.964e-05/0.2092, allocations: 8 kB / 0.9801 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.348e-05/0.2092, allocations: 15.97 kB / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.2092, allocations: 0 / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.2093, allocations: 15.98 kB / 0.9801 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.2094, allocations: 12 kB / 0.9801 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.2094, allocations: 29.64 kB / 0.9801 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.469e-05/0.2095, allocations: 19.95 kB / 0.9802 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2095, allocations: 0 / 0.9802 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2095, allocations: 4 kB / 0.9802 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.2095, allocations: 4 kB / 0.9802 GB, free: 26.98 MB / 0.6198 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.0002409/0.2098, allocations: 335.5 kB / 0.9805 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2098, allocations: 12.02 kB / 0.9805 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.068e-05/0.2098, allocations: 30.56 kB / 0.9805 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.2099, allocations: 8 kB / 0.9805 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.964e-05/0.2099, allocations: 171 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.21, allocations: 4 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.21, allocations: 4 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.2101, allocations: 65.55 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2101, allocations: 4 kB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2102, allocations: 4 kB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2102, allocations: 0 / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.2103, allocations: 103.9 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.2104, allocations: 169.6 kB / 0.981 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.652e-05/0.2105, allocations: 74.53 kB / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/0.2106, allocations: 32.78 kB / 0.9811 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.2108, allocations: 401.5 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.2109, allocations: 38.56 kB / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.2109, allocations: 0 / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002275/0.2111, allocations: 117.8 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.2111, allocations: 55.41 kB / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.169e-05/0.2112, allocations: 89.86 kB / 0.9818 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.2112, allocations: 25.7 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.269e-05/0.2112, allocations: 84.33 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.2112, allocations: 27.64 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.2112, allocations: 8 kB / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.2113, allocations: 314.8 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/0.2113, allocations: 23.92 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/0.2114, allocations: 24.36 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.2114, allocations: 31.92 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2114, allocations: 0 / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001085/0.2115, allocations: 85.62 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2116, allocations: 9.875 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2116, allocations: 0 / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2116, allocations: 0 / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/0.2117, allocations: 23.98 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2117, allocations: 3.984 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.2117, allocations: 11.84 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.2117, allocations: 4 kB / 0.9825 GB, free: 24.32 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.2119, allocations: 125.8 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.2119, allocations: 7.953 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.2121, allocations: 125.6 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2121, allocations: 0 / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2121, allocations: 0 / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2121, allocations: 3.938 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.507e-05/0.2122, allocations: 173.7 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2122, allocations: 0 / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.897e-05/0.2123, allocations: 23.92 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2123, allocations: 7.953 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.2123, allocations: 4 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2123, allocations: 0 / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2123, allocations: 4 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.2124, allocations: 121.3 kB / 0.983 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.2124, allocations: 85.05 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.2125, allocations: 3.953 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.2125, allocations: 4 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.2125, allocations: 7.984 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.2125, allocations: 7.938 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.171e-05/0.2126, allocations: 79.28 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2126, allocations: 0 / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001863/0.2127, allocations: 16 kB / 0.9832 GB, free: 23.43 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003659/0.2131, allocations: 0.667 MB / 0.9839 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.2133, allocations: 60.56 kB / 0.9839 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2133, allocations: 0 / 0.9839 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.2133, allocations: 36.14 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.2135, allocations: 12.17 kB / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.2139, allocations: 188.2 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.214, allocations: 0.6809 MB / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.345e-05/0.2141, allocations: 35.95 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.2141, allocations: 19.42 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2141, allocations: 0 / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.225, allocations: 1.366 MB / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.2252, allocations: 205.9 kB / 0.9864 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.851, allocations: 4.062 kB / 0.9864 GB, free: 20.22 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)