Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.001461/0.001461, 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.001848/0.001848, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9635/0.9635, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 64.48 kB / 0.505 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1727, allocations: 80.93 MB / 0.584 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002004/0.1747, allocations: 0.6272 MB / 0.5846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002491/0.175, allocations: 55.78 kB / 0.5847 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.359e-05/0.175, allocations: 0 / 0.5847 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.175, allocations: 0 / 0.5847 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.887e-06/0.1751, allocations: 0 / 0.5847 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1753, allocations: 19.92 kB / 0.5847 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.311e-05/0.1754, allocations: 35.95 kB / 0.5847 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.1754, allocations: 0 / 0.5847 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.718e-05/0.1755, allocations: 8 kB / 0.5847 GB, free: 4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.093e-05/0.1755, allocations: 23.91 kB / 0.5847 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1755, allocations: 0 / 0.5847 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.258e-05/0.1756, allocations: 19.98 kB / 0.5848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.1756, allocations: 8 kB / 0.5848 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.1757, allocations: 15.88 kB / 0.5848 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.864e-05/0.1758, allocations: 31.89 kB / 0.5848 GB, free: 3.902 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1758, allocations: 0 / 0.5848 GB, free: 3.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1758, allocations: 0 / 0.5848 GB, free: 3.902 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1758, allocations: 4 kB / 0.5848 GB, free: 3.898 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003247/0.1761, allocations: 339.5 kB / 0.5851 GB, free: 3.516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1762, allocations: 12.03 kB / 0.5852 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.1762, allocations: 34.75 kB / 0.5852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.1762, allocations: 4.938 kB / 0.5852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1764, allocations: 168.6 kB / 0.5854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1764, allocations: 4.375 kB / 0.5854 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1764, allocations: 8.312 kB / 0.5854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.1765, allocations: 62.17 kB / 0.5854 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1766, allocations: 11.94 kB / 0.5854 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1766, allocations: 3.984 kB / 0.5854 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1766, allocations: 0 / 0.5854 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1767, allocations: 107.9 kB / 0.5855 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.1769, allocations: 169.7 kB / 0.5857 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.177, allocations: 82.47 kB / 0.5858 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.1771, allocations: 32.84 kB / 0.5858 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003287/0.1774, allocations: 397.5 kB / 0.5862 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.1775, allocations: 38.56 kB / 0.5862 GB, free: 2.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.1775, allocations: 0 / 0.5862 GB, free: 2.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.000246/0.1777, allocations: 125.2 kB / 0.5864 GB, free: 2.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.1778, allocations: 51.41 kB / 0.5864 GB, free: 2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.415e-05/0.1778, allocations: 97.86 kB / 0.5865 GB, free: 1.895 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1778, allocations: 25.7 kB / 0.5865 GB, free: 1.863 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.1779, allocations: 80.14 kB / 0.5866 GB, free: 1.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.1779, allocations: 23.66 kB / 0.5866 GB, free: 1.758 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.1779, allocations: 37.7 kB / 0.5867 GB, free: 1.715 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1781, allocations: 318.8 kB / 0.587 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.95e-05/0.1781, allocations: 19.98 kB / 0.587 GB, free: 1.375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.38e-05/0.1782, allocations: 19.98 kB / 0.587 GB, free: 1.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.173e-05/0.1783, allocations: 60.78 kB / 0.5871 GB, free: 1.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1783, allocations: 0 / 0.5871 GB, free: 1.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001924/0.1785, allocations: 89.66 kB / 0.5871 GB, free: 1.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1785, allocations: 7.938 kB / 0.5872 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1785, allocations: 0 / 0.5872 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.1785, allocations: 4 kB / 0.5872 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.1786, allocations: 31.86 kB / 0.5872 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1786, allocations: 0 / 0.5872 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.1787, allocations: 7.906 kB / 0.5872 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.1787, allocations: 3.938 kB / 0.5872 GB, free: 1.145 MB / 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001544/0.1788, allocations: 121.8 kB / 0.5873 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.1789, allocations: 7.938 kB / 0.5873 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.1791, allocations: 135.5 kB / 0.5874 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1791, allocations: 0 / 0.5874 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1791, allocations: 4 kB / 0.5875 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1791, allocations: 0 / 0.5875 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.1792, allocations: 169.6 kB / 0.5876 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1792, allocations: 0 / 0.5876 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.1793, allocations: 16 kB / 0.5876 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1793, allocations: 3.938 kB / 0.5876 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1793, allocations: 7.984 kB / 0.5876 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1793, allocations: 8 kB / 0.5876 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1793, allocations: 0 / 0.5876 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.1796, allocations: 120.9 kB / 0.5878 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.1796, allocations: 92.97 kB / 0.5879 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1796, allocations: 0 / 0.5879 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.645e-05/0.1797, allocations: 4 kB / 0.5879 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.1797, allocations: 7.984 kB / 0.5879 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1797, allocations: 4 kB / 0.5879 GB, free: 360 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.433e-05/0.1797, allocations: 79.28 kB / 0.5879 GB, free: 280 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1797, allocations: 0 / 0.5879 GB, free: 280 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001931/0.1799, allocations: 16 kB / 0.588 GB, free: 264 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004939/0.1804, allocations: 0.664 MB / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.1806, allocations: 76.61 kB / 0.5887 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1806, allocations: 0 / 0.5887 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.216e-05/0.1807, allocations: 37.02 kB / 0.5887 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1808, allocations: 5.719 kB / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/0.1812, allocations: 200 kB / 0.5889 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1815, allocations: 0.6807 MB / 0.5896 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.266e-05/0.1816, allocations: 39.95 kB / 0.5896 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.1816, allocations: 19.42 kB / 0.5896 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1816, allocations: 0 / 0.5896 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01092/0.1926, allocations: 1.46 MB / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.1928, allocations: 200.5 kB / 0.5913 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.834, allocations: 7.938 kB / 0.5913 GB, free: 12.88 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)