Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_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.0009908/0.0009908, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 193.5 kB / 16.25 MB, free: 6.629 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.203/1.203, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.564/1.564, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.00129/0.00129, allocations: 70.55 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1831, allocations: 114.6 MB / 0.783 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001636/0.1848, allocations: 0.651 MB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000225/0.185, allocations: 47.8 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.316e-05/0.185, allocations: 4 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.1851, allocations: 0 / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-06/0.1851, allocations: 0 / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.1853, allocations: 19.97 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.1854, allocations: 31.97 kB / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.1854, allocations: 0 / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.1855, allocations: 11.98 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.328e-05/0.1855, allocations: 11.98 kB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.1855, allocations: 0 / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.982e-05/0.1856, allocations: 15.98 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.1856, allocations: 19.92 kB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.1856, allocations: 11.94 kB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.815e-05/0.1857, allocations: 35.89 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1857, allocations: 0 / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1857, allocations: 3.938 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.1857, allocations: 0 / 0.7838 GB, free: 12.88 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003433/0.1861, allocations: 343.7 kB / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1861, allocations: 12.03 kB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.1862, allocations: 34.75 kB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.1862, allocations: 4.938 kB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.801e-05/0.1863, allocations: 160.4 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1863, allocations: 8.359 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1863, allocations: 4.375 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.1864, allocations: 70.11 kB / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1865, allocations: 3.938 kB / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1865, allocations: 4 kB / 0.7844 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1865, allocations: 3.938 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.1866, allocations: 103.9 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.1868, allocations: 165.7 kB / 0.7847 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1869, allocations: 82.53 kB / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.1869, allocations: 28.84 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/0.1872, allocations: 405.5 kB / 0.7852 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1872, allocations: 34.56 kB / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.275e-06/0.1872, allocations: 3.938 kB / 0.7852 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0002484/0.1875, allocations: 129.7 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.1875, allocations: 51.41 kB / 0.7854 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.153e-05/0.1876, allocations: 93.86 kB / 0.7855 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1876, allocations: 33.7 kB / 0.7855 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.1876, allocations: 80.14 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.1877, allocations: 19.66 kB / 0.7856 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.1877, allocations: 33.7 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1878, allocations: 318.8 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-05/0.1879, allocations: 19.98 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.1879, allocations: 19.98 kB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.569e-05/0.188, allocations: 60.72 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.188, allocations: 4 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001288/0.1881, allocations: 94.31 kB / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.1881, allocations: 7.938 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1882, allocations: 0 / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.1882, allocations: 0 / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.1883, allocations: 16 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1883, allocations: 0 / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.1883, allocations: 11.89 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1883, allocations: 4 kB / 0.7862 GB, free: 10.13 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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.0001018/0.1884, allocations: 133.1 kB / 0.7863 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.1884, allocations: 15.91 kB / 0.7863 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.1886, allocations: 125.5 kB / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1886, allocations: 4 kB / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1886, allocations: 0 / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1887, allocations: 0 / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.1888, allocations: 173.6 kB / 0.7866 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1888, allocations: 4 kB / 0.7866 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.501e-05/0.1889, allocations: 19.94 kB / 0.7866 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1889, allocations: 3.938 kB / 0.7866 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1889, allocations: 7.984 kB / 0.7867 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1889, allocations: 0 / 0.7867 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1889, allocations: 0 / 0.7867 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.189, allocations: 117 kB / 0.7868 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1891, allocations: 96.97 kB / 0.7869 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.1891, allocations: 4 kB / 0.7869 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.4e-05/0.1891, allocations: 0 / 0.7869 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.1891, allocations: 7.984 kB / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.1892, allocations: 8 kB / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.991e-05/0.1892, allocations: 75.28 kB / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.303e-06/0.1892, allocations: 0 / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000186/0.1894, allocations: 23.88 kB / 0.787 GB, free: 9.227 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: 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.0004272/0.1898, allocations: 0.667 MB / 0.7876 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.19, allocations: 71.89 kB / 0.7877 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.19, allocations: 0 / 0.7877 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.747e-05/0.19, allocations: 35.92 kB / 0.7877 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.1901, allocations: 8 kB / 0.7877 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.1905, allocations: 194.5 kB / 0.7879 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.1908, allocations: 0.6807 MB / 0.7886 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.766e-05/0.1909, allocations: 39.88 kB / 0.7886 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.1909, allocations: 23.44 kB / 0.7886 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1909, allocations: 0 / 0.7886 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2853/0.4762, allocations: 1.456 MB / 0.7901 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.4765, allocations: 211.6 kB / 0.7903 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.084, allocations: 0 / 0.7903 GB, free: 5.828 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)