Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.303/1.303, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009707/0.0009707, allocations: 177.4 kB / 327 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 0.578 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008279/0.000828, allocations: 89.78 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003199, allocations: 11.12 kB / 0.7971 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1868, allocations: 106.3 MB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006185/0.1875, allocations: 338 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002555/0.1878, allocations: 53.08 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.402e-05/0.1878, allocations: 0 / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.1878, allocations: 0 / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.1878, allocations: 0 / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.1881, allocations: 23.92 kB / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.085e-05/0.1882, allocations: 27.97 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.1882, allocations: 4 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.959e-05/0.1883, allocations: 7.984 kB / 0.9014 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.792e-05/0.1883, allocations: 15.98 kB / 0.9014 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1883, allocations: 0 / 0.9014 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.992e-05/0.1884, allocations: 19.98 kB / 0.9014 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.1884, allocations: 15.98 kB / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.1885, allocations: 41.56 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.106e-05/0.1886, allocations: 31.89 kB / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1886, allocations: 0 / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1886, allocations: 0 / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.1886, allocations: 0 / 0.9015 GB, free: 62.88 MB / 0.6042 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.0002277/0.1888, allocations: 333.4 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1889, allocations: 8.031 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.1889, allocations: 42.73 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.1889, allocations: 4.938 kB / 0.9018 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.062e-05/0.189, allocations: 160.7 kB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.189, allocations: 4.375 kB / 0.902 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.189, allocations: 8.375 kB / 0.902 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1892, allocations: 62.17 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1892, allocations: 3.938 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1892, allocations: 7.984 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1893, allocations: 0 / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1894, allocations: 103.8 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.1895, allocations: 185.4 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.849e-05/0.1896, allocations: 70.55 kB / 0.9024 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.1897, allocations: 28.84 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.1899, allocations: 405.5 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.1899, allocations: 30.56 kB / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1899, allocations: 0 / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0002081/0.1901, allocations: 117.9 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.1902, allocations: 63.34 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.579e-05/0.1902, allocations: 97.7 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1902, allocations: 29.7 kB / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.087e-05/0.1902, allocations: 80.14 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.1903, allocations: 27.72 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.1903, allocations: 0 / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.1903, allocations: 314.8 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.1904, allocations: 19.98 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.1904, allocations: 19.98 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/0.1905, allocations: 68.77 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1905, allocations: 0 / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001028/0.1906, allocations: 94.17 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1906, allocations: 7.938 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1906, allocations: 0 / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1906, allocations: 0 / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.1907, allocations: 23.98 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1908, allocations: 0 / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.1908, allocations: 4 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1908, allocations: 0 / 0.9038 GB, free: 60.18 MB / 0.6042 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 0.0001028/0.1909, allocations: 129.8 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.1909, allocations: 11.84 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.1911, allocations: 125.6 kB / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1911, allocations: 0 / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1911, allocations: 0 / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1911, allocations: 4 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.636e-05/0.1912, allocations: 177.5 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1912, allocations: 0 / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.1913, allocations: 27.92 kB / 0.9042 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1913, allocations: 7.922 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1913, allocations: 0 / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1914, allocations: 4 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1914, allocations: 0 / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.1915, allocations: 113.1 kB / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.1916, allocations: 85.05 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1916, allocations: 4 kB / 0.9045 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.578e-05/0.1916, allocations: 4 kB / 0.9045 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.1916, allocations: 11.92 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1916, allocations: 4 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.229e-05/0.1917, allocations: 79.28 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1917, allocations: 0 / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002345/0.1919, allocations: 16 kB / 0.9046 GB, free: 59.29 MB / 0.6042 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.0003316/0.1922, allocations: 0.6786 MB / 0.9052 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.1924, allocations: 59.84 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1924, allocations: 0 / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.068e-05/0.1924, allocations: 35.98 kB / 0.9053 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.1925, allocations: 4 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.1929, allocations: 192.3 kB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.892e-05/0.193, allocations: 0.6829 MB / 0.9062 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.356e-05/0.193, allocations: 35.81 kB / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.1931, allocations: 19.42 kB / 0.9062 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.1931, allocations: 0 / 0.9062 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.2038, allocations: 1.358 MB / 0.9075 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.204, allocations: 245.9 kB / 0.9078 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/1.698, allocations: 0 / 0.9078 GB, free: 56.02 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)