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.001445/0.001445, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001831/0.001831, allocations: 195.6 kB / 16.25 MB, free: 6.633 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.9756/0.9756, allocations: 135.2 MB / 425.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 60.12 kB / 0.5049 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1495, allocations: 80.94 MB / 0.5839 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002779/0.1523, allocations: 1.58 MB / 0.5855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003787/0.1527, allocations: 136.5 kB / 0.5856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.1527, allocations: 0 / 0.5856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.1528, allocations: 7.938 kB / 0.5856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.1528, allocations: 0 / 0.5856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.1531, allocations: 27.95 kB / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.084e-05/0.1532, allocations: 39.86 kB / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1534, allocations: 8 kB / 0.5857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.1534, allocations: 23.92 kB / 0.5857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.1535, allocations: 19.92 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1535, allocations: 7.938 kB / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.314e-05/0.1536, allocations: 19.97 kB / 0.5858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.1536, allocations: 8 kB / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.1537, allocations: 15.92 kB / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1538, allocations: 39.88 kB / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1538, allocations: 0 / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.11e-06/0.1538, allocations: 0 / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1539, allocations: 7.938 kB / 0.5858 GB, free: 2.875 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.0005792/0.1544, allocations: 359.7 kB / 0.5862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.1545, allocations: 11.97 kB / 0.5862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.1546, allocations: 8.844 kB / 0.5862 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1547, allocations: 160.4 kB / 0.5863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1547, allocations: 4.375 kB / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.1547, allocations: 384 / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.155, allocations: 66.22 kB / 0.5864 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.155, allocations: 192 / 0.5864 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.155, allocations: 7.938 kB / 0.5864 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.155, allocations: 4 kB / 0.5864 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.1552, allocations: 43.95 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.1558, allocations: 284.6 kB / 0.5867 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.1561, allocations: 62.53 kB / 0.5868 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1562, allocations: 28.89 kB / 0.5868 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/0.1565, allocations: 393.6 kB / 0.5872 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1566, allocations: 46.48 kB / 0.5872 GB, free: 1.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1566, allocations: 0 / 0.5872 GB, free: 1.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003779/0.1569, allocations: 93.62 kB / 0.5873 GB, free: 1.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.157, allocations: 51.41 kB / 0.5874 GB, free: 1.008 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.539e-05/0.1571, allocations: 117.8 kB / 0.5875 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1571, allocations: 29.7 kB / 0.5875 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.1572, allocations: 84.05 kB / 0.5876 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.1572, allocations: 4 kB / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.1572, allocations: 13.72 kB / 0.5876 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1573, allocations: 326.8 kB / 0.5879 GB, free: 420 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.1574, allocations: 19.98 kB / 0.588 GB, free: 400 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.1575, allocations: 19.97 kB / 0.588 GB, free: 380 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.1577, allocations: 44.77 kB / 0.588 GB, free: 332 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1577, allocations: 7.938 kB / 0.588 GB, free: 324 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002049/0.1579, allocations: 77.55 kB / 0.5881 GB, free: 240 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1579, allocations: 12 kB / 0.5881 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1579, allocations: 0 / 0.5881 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.158, allocations: 0 / 0.5881 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.016e-05/0.158, allocations: 11.98 kB / 0.5881 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1581, allocations: 3.938 kB / 0.5881 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.1581, allocations: 7.984 kB / 0.5881 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1581, allocations: 0 / 0.5881 GB, free: 204 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 7.156e-05/0.1582, allocations: 117.8 kB / 0.5882 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.1583, allocations: 4 kB / 0.5882 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.1585, allocations: 85.48 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1585, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1585, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1585, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1587, allocations: 173.5 kB / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1587, allocations: 0 / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.1588, allocations: 11.98 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1588, allocations: 4 kB / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1588, allocations: 0 / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1588, allocations: 4 kB / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1588, allocations: 0 / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.1591, allocations: 175.4 kB / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.1591, allocations: 77.53 kB / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.1592, allocations: 8 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.1592, allocations: 11.98 kB / 0.5888 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.1593, allocations: 7.984 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1593, allocations: 0 / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.1594, allocations: 87.28 kB / 0.5889 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1594, allocations: 0 / 0.5889 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002404/0.1596, allocations: 8 kB / 0.5889 GB, free: 15.34 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.0001427/0.1598, allocations: 111.2 kB / 0.589 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.16, allocations: 47.89 kB / 0.589 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.16, allocations: 0 / 0.589 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.388e-05/0.1601, allocations: 23.98 kB / 0.589 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.1604, allocations: 23.8 kB / 0.5891 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.1607, allocations: 129.4 kB / 0.5892 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.1609, allocations: 0.6807 MB / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.161, allocations: 3.859 kB / 0.5899 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.161, allocations: 15.44 kB / 0.5899 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.161, allocations: 0 / 0.5899 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.002893/0.1639, allocations: 0.6984 MB / 0.5906 GB, free: 13.55 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)