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: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001026/0.001026, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.194/1.194, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.593/1.593, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001265/0.001265, allocations: 68.56 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1936, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003035/0.1967, allocations: 1.597 MB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000354/0.197, allocations: 133.5 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.1971, allocations: 0 / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.1972, allocations: 3.938 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.1972, allocations: 8 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.1975, allocations: 27.97 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.1976, allocations: 35.86 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.297e-05/0.1977, allocations: 11.98 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.1977, allocations: 11.98 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.1978, allocations: 27.91 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1978, allocations: 4 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.979e-05/0.1979, allocations: 19.98 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.1979, allocations: 7.938 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.1979, allocations: 15.92 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.198, allocations: 43.88 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.198, allocations: 0 / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.198, allocations: 0 / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.198, allocations: 0 / 0.7847 GB, free: 11.94 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.0004176/0.1985, allocations: 359.6 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1985, allocations: 8.031 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.1985, allocations: 12.84 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1987, allocations: 164.3 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1987, allocations: 4.375 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1987, allocations: 4.375 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.1989, allocations: 66.16 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1989, allocations: 192 / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.199, allocations: 7.938 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.199, allocations: 0 / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.1992, allocations: 51.89 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.1995, allocations: 284.7 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.1998, allocations: 54.53 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.531e-05/0.1999, allocations: 28.91 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.2002, allocations: 401.5 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.2002, allocations: 38.5 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.2002, allocations: 0 / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000345/0.2006, allocations: 89.62 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.2006, allocations: 55.41 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.2007, allocations: 113.8 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.2007, allocations: 29.7 kB / 0.7864 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.2008, allocations: 84.14 kB / 0.7865 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.2008, allocations: 3.906 kB / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2008, allocations: 17.72 kB / 0.7865 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.2009, allocations: 322.8 kB / 0.7868 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/0.201, allocations: 15.98 kB / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-05/0.2011, allocations: 23.97 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.2012, allocations: 44.77 kB / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2013, allocations: 4 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000204/0.2015, allocations: 81.86 kB / 0.787 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2015, allocations: 8 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2015, allocations: 0 / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2015, allocations: 4 kB / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.2016, allocations: 11.98 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2016, allocations: 0 / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.2017, allocations: 8 kB / 0.787 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.2017, allocations: 3.938 kB / 0.787 GB, free: 9.266 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 7.882e-05/0.2018, allocations: 125.7 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.2018, allocations: 0 / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.2021, allocations: 85.55 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2021, allocations: 0 / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2021, allocations: 0 / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2021, allocations: 0 / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.2022, allocations: 173.5 kB / 0.7874 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2023, allocations: 0 / 0.7874 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.39e-05/0.2023, allocations: 11.98 kB / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2023, allocations: 0 / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2024, allocations: 0 / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2024, allocations: 7.938 kB / 0.7874 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2024, allocations: 4 kB / 0.7874 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.2027, allocations: 179.4 kB / 0.7876 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.2027, allocations: 77.11 kB / 0.7877 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2027, allocations: 0 / 0.7877 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.2028, allocations: 7.984 kB / 0.7877 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.2029, allocations: 8 kB / 0.7877 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.2029, allocations: 7.984 kB / 0.7877 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.2029, allocations: 83.28 kB / 0.7878 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.2029, allocations: 0 / 0.7878 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002294/0.2032, allocations: 19.94 kB / 0.7878 GB, free: 8.383 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.0001634/0.2033, allocations: 103.2 kB / 0.7879 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.2036, allocations: 47.89 kB / 0.7879 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2036, allocations: 4 kB / 0.7879 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.242e-05/0.2037, allocations: 19.98 kB / 0.788 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.204, allocations: 11.94 kB / 0.788 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.2043, allocations: 129.4 kB / 0.7881 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.2045, allocations: 0.6807 MB / 0.7888 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.406e-05/0.2046, allocations: 8 kB / 0.7888 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.2046, allocations: 7.438 kB / 0.7888 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2046, allocations: 0 / 0.7888 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of Templates: time 0.002618/0.2072, allocations: 0.6952 MB / 0.7895 GB, free: 6.625 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (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 & ./Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)