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.001258/0.001258, allocations: 108 kB / 15.61 MB, free: 152 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.001014/0.001014, allocations: 195 kB / 16.53 MB, free: 6.664 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.269/1.269, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.616/1.616, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001364/0.001364, allocations: 70.2 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2024, allocations: 114.6 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.00246/0.2049, allocations: 1.525 MB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003065/0.2053, allocations: 136.4 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.2053, allocations: 0 / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.2053, allocations: 0 / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.2054, allocations: 3.938 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.2056, allocations: 31.89 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.2057, allocations: 39.86 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.2058, allocations: 19.98 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.336e-05/0.2058, allocations: 8 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.626e-05/0.2058, allocations: 19.91 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.2059, allocations: 4 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.224e-05/0.2059, allocations: 19.98 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.206, allocations: 11.92 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.206, allocations: 15.94 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.76e-05/0.2061, allocations: 47.86 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2061, allocations: 0 / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2061, allocations: 4 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2061, allocations: 0 / 0.7852 GB, free: 11.56 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.0003863/0.2065, allocations: 355.7 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.2065, allocations: 11.97 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.2066, allocations: 4.844 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.219e-05/0.2067, allocations: 172.3 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.2067, allocations: 4.312 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.2067, allocations: 4.375 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.2069, allocations: 66.22 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.2069, allocations: 192 / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2069, allocations: 3.938 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.2069, allocations: 4 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.2071, allocations: 43.95 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.2074, allocations: 292.6 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.2077, allocations: 58.53 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.2078, allocations: 24.91 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/0.208, allocations: 397.5 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.2081, allocations: 34.56 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2081, allocations: 4 kB / 0.7866 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003417/0.2084, allocations: 93.56 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.2084, allocations: 55.41 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.2085, allocations: 109.8 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2085, allocations: 25.7 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.2086, allocations: 84.14 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.2086, allocations: 11.89 kB / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.2086, allocations: 17.72 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.2087, allocations: 318.8 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.2088, allocations: 19.97 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.689e-05/0.2089, allocations: 15.98 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.2091, allocations: 48.81 kB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2091, allocations: 4 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002026/0.2093, allocations: 81.5 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.2093, allocations: 4 kB / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2093, allocations: 0 / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.2093, allocations: 0 / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.2094, allocations: 11.98 kB / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.2094, allocations: 3.938 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.715e-05/0.2095, allocations: 7.984 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.2095, allocations: 8 kB / 0.7875 GB, free: 8.887 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 6.522e-05/0.2096, allocations: 114.8 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.2096, allocations: 4 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.2098, allocations: 85.47 kB / 0.7877 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2098, allocations: 4 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2099, allocations: 0 / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2099, allocations: 3.984 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.21, allocations: 181.5 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.21, allocations: 0 / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.2101, allocations: 11.98 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2101, allocations: 3.938 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.2101, allocations: 0 / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2101, allocations: 0 / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2101, allocations: 0 / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.2104, allocations: 175.4 kB / 0.7881 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.2104, allocations: 85.09 kB / 0.7881 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.2104, allocations: 0 / 0.7881 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.2105, allocations: 8 kB / 0.7881 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.2105, allocations: 3.984 kB / 0.7881 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.2106, allocations: 4 kB / 0.7881 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.2106, allocations: 87.27 kB / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2106, allocations: 0 / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002135/0.2108, allocations: 15.94 kB / 0.7882 GB, free: 8.008 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.0001275/0.211, allocations: 103.2 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.2112, allocations: 43.95 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2112, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/0.2113, allocations: 31.91 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.2115, allocations: 8.719 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.2118, allocations: 125.4 kB / 0.7885 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.212, allocations: 0.6846 MB / 0.7892 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.2121, allocations: 4 kB / 0.7892 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.2121, allocations: 15.44 kB / 0.7892 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of SimCode: time 1.342e-06/0.2121, allocations: 4 kB / 0.7892 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of Templates: time 0.002655/0.2148, allocations: 0.7705 MB / 0.79 GB, free: 6.168 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)