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.0009922/0.0009924, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 198 kB / 16.64 MB, free: 6.449 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.254/1.254, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.626/1.626, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001322/0.001322, allocations: 67.7 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1953, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002398/0.1978, allocations: 1.529 MB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003073/0.1981, allocations: 132.5 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.1981, allocations: 0 / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.1982, allocations: 7.922 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.734e-05/0.1982, allocations: 3.938 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.1984, allocations: 27.92 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.1985, allocations: 47.83 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.745e-05/0.1986, allocations: 8 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.646e-05/0.1986, allocations: 23.92 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.1987, allocations: 15.92 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1987, allocations: 4 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.44e-05/0.1988, allocations: 19.98 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.1988, allocations: 11.92 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.1988, allocations: 15.92 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.599e-05/0.1989, allocations: 55.81 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1989, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1989, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.1989, allocations: 0 / 0.786 GB, free: 10.79 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.0004065/0.1994, allocations: 347.4 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.1994, allocations: 12.03 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.1994, allocations: 4.844 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.1995, allocations: 168.3 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1996, allocations: 8.375 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1996, allocations: 4.375 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1997, allocations: 62.22 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1998, allocations: 192 / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1998, allocations: 3.938 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1998, allocations: 4 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.2, allocations: 43.95 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.2003, allocations: 292.6 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.2006, allocations: 54.55 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.2007, allocations: 28.89 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.2009, allocations: 397.5 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.201, allocations: 34.56 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.201, allocations: 0 / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003506/0.2013, allocations: 101.5 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.2014, allocations: 51.41 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.264e-05/0.2014, allocations: 110.1 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2015, allocations: 25.7 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.2015, allocations: 92.14 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.2015, allocations: 11.91 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.2016, allocations: 21.7 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.2017, allocations: 314.8 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.818e-05/0.2017, allocations: 23.97 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.768e-05/0.2018, allocations: 15.98 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.202, allocations: 48.81 kB / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.202, allocations: 0 / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002003/0.2022, allocations: 81.5 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.2022, allocations: 4 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2022, allocations: 0 / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.2023, allocations: 0 / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.2023, allocations: 11.98 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2024, allocations: 4.062 kB / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.2024, allocations: 11.98 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.2024, allocations: 11.94 kB / 0.7883 GB, free: 8.117 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.306e-05/0.2025, allocations: 109.8 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.2025, allocations: 4 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.2028, allocations: 85.48 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2028, allocations: 0 / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2028, allocations: 4 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2028, allocations: 4 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.203, allocations: 169.5 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.203, allocations: 3.984 kB / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.2031, allocations: 8 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2031, allocations: 0 / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.2031, allocations: 3.984 kB / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2031, allocations: 0 / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2031, allocations: 0 / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.2033, allocations: 179.4 kB / 0.7888 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.2034, allocations: 77.11 kB / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.2034, allocations: 7.984 kB / 0.7889 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.2035, allocations: 4.422 kB / 0.7889 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.2035, allocations: 7.984 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.2035, allocations: 11.94 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.2036, allocations: 83.28 kB / 0.789 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2036, allocations: 4 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002192/0.2038, allocations: 15.92 kB / 0.789 GB, free: 7.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.0001204/0.2039, allocations: 103.2 kB / 0.7891 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.2042, allocations: 47.95 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2042, allocations: 0 / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.2043, allocations: 31.91 kB / 0.7892 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.2045, allocations: 11.69 kB / 0.7892 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.2048, allocations: 125.4 kB / 0.7893 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.205, allocations: 0.6807 MB / 0.79 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.205, allocations: 4 kB / 0.79 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.2051, allocations: 11.42 kB / 0.79 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2051, allocations: 4 kB / 0.79 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of Templates: time 0.002562/0.2076, allocations: 0.7533 MB / 0.7907 GB, free: 5.426 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)