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.001134/0.001134, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001145/0.001145, allocations: 191.4 kB / 16.25 MB, free: 6.633 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.137/1.137, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.475/1.475, allocations: 292.3 MB / 0.5486 GB, free: 13.65 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.001304/0.001304, allocations: 73.81 kB / 0.6711 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1874, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003361/0.1908, allocations: 1.597 MB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004427/0.1913, allocations: 137.5 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.1914, allocations: 0 / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.481e-05/0.1915, allocations: 3.938 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.1915, allocations: 0 / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1919, allocations: 23.92 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.842e-05/0.192, allocations: 39.92 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1921, allocations: 19.97 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.1921, allocations: 15.94 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.1922, allocations: 23.91 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1922, allocations: 4 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.1e-05/0.1923, allocations: 8 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.1923, allocations: 15.92 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.1924, allocations: 19.92 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.1925, allocations: 39.88 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1925, allocations: 0 / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1925, allocations: 0 / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1925, allocations: 4 kB / 0.7849 GB, free: 11.84 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.0004814/0.193, allocations: 351.7 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1931, allocations: 12.03 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/0.1931, allocations: 34.73 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.1932, allocations: 8.781 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1933, allocations: 164.4 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.1933, allocations: 4.375 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1934, allocations: 4.375 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.1936, allocations: 74.14 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1936, allocations: 3.938 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1936, allocations: 0 / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1937, allocations: 4 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.1939, allocations: 43.95 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.1944, allocations: 284.7 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.1947, allocations: 62.47 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.068e-05/0.1948, allocations: 28.84 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/0.1951, allocations: 401.5 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1952, allocations: 30.56 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.1952, allocations: 4 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003631/0.1956, allocations: 93.62 kB / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.1956, allocations: 55.41 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/0.1957, allocations: 109.8 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1957, allocations: 25.7 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.1958, allocations: 92.05 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.1958, allocations: 4 kB / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.1959, allocations: 17.72 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.196, allocations: 318.8 kB / 0.787 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.785e-05/0.1961, allocations: 19.98 kB / 0.787 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.903e-05/0.1962, allocations: 23.97 kB / 0.787 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1963, allocations: 40.83 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1964, allocations: 4 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002086/0.1966, allocations: 77.83 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1966, allocations: 4 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1966, allocations: 0 / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1966, allocations: 7.938 kB / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.1967, allocations: 8.031 kB / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1967, allocations: 4.312 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/0.1968, allocations: 15.92 kB / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1968, allocations: 4 kB / 0.7872 GB, free: 9.125 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 8.863e-05/0.1969, allocations: 113.8 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.1969, allocations: 4 kB / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.1972, allocations: 89.44 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1972, allocations: 4 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1972, allocations: 0 / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1972, allocations: 4 kB / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.1974, allocations: 165.7 kB / 0.7876 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1974, allocations: 0 / 0.7876 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.306e-05/0.1975, allocations: 15.92 kB / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1975, allocations: 0 / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1975, allocations: 4 kB / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1975, allocations: 0 / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1975, allocations: 0 / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.1978, allocations: 175.4 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.1978, allocations: 85.05 kB / 0.7878 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1979, allocations: 0 / 0.7878 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.1979, allocations: 7.984 kB / 0.7878 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.198, allocations: 4 kB / 0.7878 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.198, allocations: 15.92 kB / 0.7879 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.771e-05/0.1981, allocations: 87.27 kB / 0.7879 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1981, allocations: 0 / 0.7879 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002311/0.1983, allocations: 15.91 kB / 0.788 GB, free: 8.242 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.0005859/0.1989, allocations: 0.7124 MB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.1991, allocations: 47.95 kB / 0.7887 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1992, allocations: 0 / 0.7887 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.1993, allocations: 27.91 kB / 0.7887 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.1996, allocations: 11.94 kB / 0.7887 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.201, allocations: 1.284 MB / 0.79 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.2013, allocations: 0.6807 MB / 0.7907 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.2014, allocations: 8.031 kB / 0.7907 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.2014, allocations: 11.44 kB / 0.7907 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2014, allocations: 3.938 kB / 0.7907 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8914/1.093, allocations: 1.519 MB / 0.7922 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/1.093, allocations: 207 kB / 0.7924 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/3.159, allocations: 0 / 0.7924 GB, free: 3.648 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)