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.725/1.725, allocations: 288.4 MB / 303.6 MB, free: 8.078 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.001072/0.001072, allocations: 180.5 kB / 372.3 MB, free: 10.12 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.645/1.645, allocations: 205.4 MB / 0.631 GB, free: 9.922 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.000914/0.000914, allocations: 98.27 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 17.97 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1931, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0005881/0.1938, allocations: 315.8 kB / 0.9805 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002263/0.194, allocations: 55.84 kB / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.458e-05/0.194, allocations: 0 / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.1941, allocations: 3.938 kB / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.1941, allocations: 0 / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.1943, allocations: 15.98 kB / 0.9806 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.394e-05/0.1944, allocations: 27.97 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.1944, allocations: 3.984 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.766e-05/0.1945, allocations: 11.94 kB / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.629e-05/0.1945, allocations: 11.98 kB / 0.9806 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1945, allocations: 0 / 0.9806 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.309e-05/0.1946, allocations: 15.98 kB / 0.9806 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.1946, allocations: 15.98 kB / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.1946, allocations: 37.62 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.458e-05/0.1947, allocations: 23.97 kB / 0.9807 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1947, allocations: 4 kB / 0.9807 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1947, allocations: 0 / 0.9807 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.1947, allocations: 0 / 0.9807 GB, free: 26.68 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.0002298/0.195, allocations: 327.7 kB / 0.981 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.195, allocations: 8.031 kB / 0.981 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.1951, allocations: 38.75 kB / 0.9811 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.1951, allocations: 0.9375 kB / 0.9811 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.531e-05/0.1951, allocations: 172.3 kB / 0.9812 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1952, allocations: 8.312 kB / 0.9812 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.1952, allocations: 4.375 kB / 0.9813 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.1953, allocations: 66.17 kB / 0.9813 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1953, allocations: 3.938 kB / 0.9813 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1954, allocations: 4 kB / 0.9813 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1954, allocations: 4 kB / 0.9813 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1955, allocations: 99.86 kB / 0.9814 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.1956, allocations: 169.7 kB / 0.9816 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.661e-05/0.1957, allocations: 78.47 kB / 0.9817 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.1958, allocations: 40.84 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.196, allocations: 397.5 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.196, allocations: 34.56 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.196, allocations: 336 / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0001972/0.1962, allocations: 125.4 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.1963, allocations: 51.41 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.959e-05/0.1963, allocations: 97.86 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.1963, allocations: 25.7 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-06/0.1963, allocations: 84.14 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.1963, allocations: 23.66 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.1963, allocations: 3.938 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.1964, allocations: 318.8 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.983e-05/0.1964, allocations: 19.98 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.1965, allocations: 23.92 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.274e-05/0.1965, allocations: 56.84 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1965, allocations: 0 / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001033/0.1966, allocations: 93.59 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1967, allocations: 11.94 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1967, allocations: 0 / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1967, allocations: 0 / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/0.1968, allocations: 19.98 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1968, allocations: 0 / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.1968, allocations: 11.84 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1968, allocations: 4 kB / 0.983 GB, free: 23.98 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 9.363e-05/0.1969, allocations: 129.8 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-06/0.197, allocations: 11.94 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.1971, allocations: 122.2 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1971, allocations: 0 / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1971, allocations: 0 / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1971, allocations: 0 / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.645e-05/0.1972, allocations: 177.6 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1972, allocations: 0 / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.1973, allocations: 19.98 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1973, allocations: 3.938 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1973, allocations: 4 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1973, allocations: 0 / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1973, allocations: 3.938 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.1974, allocations: 133 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.1975, allocations: 84.98 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.1975, allocations: 0 / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.503e-05/0.1975, allocations: 4 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.1975, allocations: 11.98 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.1976, allocations: 4 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.061e-05/0.1976, allocations: 75.28 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1976, allocations: 4 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001914/0.1978, allocations: 8 kB / 0.9838 GB, free: 23.1 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.0003176/0.1981, allocations: 0.6765 MB / 0.9845 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.1982, allocations: 63.95 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1982, allocations: 0 / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.1983, allocations: 31.92 kB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1984, allocations: 11.94 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.1987, allocations: 184.2 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.244e-05/0.1988, allocations: 0.6848 MB / 0.9854 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.511e-05/0.1989, allocations: 39.92 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.1989, allocations: 19.42 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/0.1989, allocations: 4 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1532/0.3521, allocations: 1.335 MB / 0.9868 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001248/0.3523, allocations: 217.1 kB / 0.987 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.327, allocations: 0 / 0.987 GB, free: 19.89 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)