Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001474/0.001474, 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.001875/0.001875, allocations: 195.9 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9658/0.9658, allocations: 135.1 MB / 425.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002048, allocations: 64.75 kB / 0.5048 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1926, allocations: 80.93 MB / 0.5839 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.00336/0.1961, allocations: 1.586 MB / 0.5854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003801/0.1965, allocations: 136.4 kB / 0.5856 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.1965, allocations: 4 kB / 0.5856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.417e-05/0.1966, allocations: 3.984 kB / 0.5856 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.1967, allocations: 3.938 kB / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.1969, allocations: 23.97 kB / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.197, allocations: 35.86 kB / 0.5856 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.1971, allocations: 15.98 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.343e-05/0.1972, allocations: 15.94 kB / 0.5857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.329e-05/0.1972, allocations: 23.91 kB / 0.5857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1972, allocations: 4 kB / 0.5857 GB, free: 3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.37e-05/0.1973, allocations: 19.98 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.1973, allocations: 11.98 kB / 0.5857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.1974, allocations: 11.94 kB / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.1975, allocations: 39.81 kB / 0.5858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1975, allocations: 8 kB / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1975, allocations: 0 / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1975, allocations: 0 / 0.5858 GB, free: 2.91 MB / 494.1 MB 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.0004968/0.198, allocations: 359.6 kB / 0.5861 GB, free: 2.508 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1981, allocations: 12.03 kB / 0.5861 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.1981, allocations: 4.844 kB / 0.5861 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1982, allocations: 164.4 kB / 0.5863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1983, allocations: 384 / 0.5863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1983, allocations: 4.375 kB / 0.5863 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.1985, allocations: 74.16 kB / 0.5864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1985, allocations: 192 / 0.5864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1985, allocations: 3.938 kB / 0.5864 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1985, allocations: 0 / 0.5864 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.1987, allocations: 43.95 kB / 0.5864 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.1992, allocations: 292.7 kB / 0.5867 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.1995, allocations: 54.48 kB / 0.5867 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1997, allocations: 28.89 kB / 0.5868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.2, allocations: 397.5 kB / 0.5871 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2, allocations: 38.56 kB / 0.5872 GB, free: 1.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.775e-06/0.2, allocations: 3.984 kB / 0.5872 GB, free: 1.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004124/0.2004, allocations: 97.56 kB / 0.5873 GB, free: 1.102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.2005, allocations: 51.41 kB / 0.5873 GB, free: 1.039 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.2006, allocations: 109.8 kB / 0.5874 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.2006, allocations: 25.7 kB / 0.5875 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.2007, allocations: 84.14 kB / 0.5875 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.2007, allocations: 11.91 kB / 0.5875 GB, free: 0.793 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.2007, allocations: 17.7 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2008, allocations: 318.8 kB / 0.5879 GB, free: 460 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.591e-05/0.2009, allocations: 19.97 kB / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.41e-05/0.201, allocations: 19.98 kB / 0.5879 GB, free: 420 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.2012, allocations: 48.81 kB / 0.588 GB, free: 368 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2012, allocations: 0 / 0.588 GB, free: 368 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002438/0.2015, allocations: 85.44 kB / 0.588 GB, free: 276 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2015, allocations: 6.188 kB / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.2015, allocations: 0 / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2015, allocations: 4 kB / 0.588 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.2016, allocations: 11.98 kB / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2016, allocations: 0 / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/0.2017, allocations: 11.98 kB / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.2017, allocations: 0 / 0.5881 GB, free: 244 kB / 494.1 MB 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.695e-05/0.2018, allocations: 117.8 kB / 0.5882 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.2018, allocations: 3.938 kB / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.2021, allocations: 85.48 kB / 0.5883 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2021, allocations: 0 / 0.5883 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2022, allocations: 0 / 0.5883 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2022, allocations: 4 kB / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.2024, allocations: 177.5 kB / 0.5884 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2024, allocations: 0 / 0.5884 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.2025, allocations: 8 kB / 0.5884 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.2025, allocations: 3.984 kB / 0.5885 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2025, allocations: 4 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2025, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2025, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.2028, allocations: 175.5 kB / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.2028, allocations: 77.53 kB / 0.5887 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.2029, allocations: 3.984 kB / 0.5887 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.203, allocations: 4 kB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.203, allocations: 11.98 kB / 0.5887 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.203, allocations: 3.938 kB / 0.5887 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.891e-05/0.2031, allocations: 87.27 kB / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2031, allocations: 0 / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002362/0.2033, allocations: 16 kB / 0.5888 GB, free: 15.37 MB / 0.4981 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.0001788/0.2035, allocations: 103.2 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.2038, allocations: 43.95 kB / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2038, allocations: 0 / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.2039, allocations: 27.97 kB / 0.589 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.2042, allocations: 15.88 kB / 0.589 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.2046, allocations: 141.2 kB / 0.5891 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.2049, allocations: 0.6807 MB / 0.5898 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.014e-05/0.2049, allocations: 7.984 kB / 0.5898 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.205, allocations: 11.44 kB / 0.5898 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.205, allocations: 0 / 0.5898 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.00323/0.2082, allocations: 0.6885 MB / 0.5905 GB, free: 13.59 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)