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.0009033/0.0009032, allocations: 99.19 kB / 16.02 MB, free: 76 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.001125/0.001125, allocations: 182.5 kB / 16.92 MB, free: 6.895 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.336/1.336, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9067/0.9067, allocations: 135.3 MB / 427.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003172, allocations: 8.188 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.147, allocations: 82.32 MB / 0.5886 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001599/0.1487, allocations: 1.249 MB / 0.5898 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003587/0.149, allocations: 128.5 kB / 0.59 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.1491, allocations: 4 kB / 0.59 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.1491, allocations: 0 / 0.59 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.846e-05/0.1491, allocations: 0 / 0.59 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.1494, allocations: 23.91 kB / 0.59 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.086e-05/0.1494, allocations: 35.86 kB / 0.59 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.255e-05/0.1495, allocations: 15.98 kB / 0.59 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.1496, allocations: 12 kB / 0.59 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.1496, allocations: 19.91 kB / 0.5901 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.1496, allocations: 3.938 kB / 0.5901 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.1497, allocations: 19.98 kB / 0.5901 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.1497, allocations: 7.984 kB / 0.5901 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.1498, allocations: 33.64 kB / 0.5901 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.731e-05/0.1499, allocations: 27.94 kB / 0.5902 GB, free: 1.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1499, allocations: 8 kB / 0.5902 GB, free: 1.039 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1499, allocations: 0 / 0.5902 GB, free: 1.039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.1499, allocations: 0 / 0.5902 GB, free: 1.039 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.0004185/0.1503, allocations: 359.6 kB / 0.5905 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1503, allocations: 8.031 kB / 0.5905 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.1504, allocations: 0.9375 kB / 0.5905 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1505, allocations: 168.3 kB / 0.5907 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.1505, allocations: 4.375 kB / 0.5907 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.1505, allocations: 4.375 kB / 0.5907 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.1508, allocations: 70.16 kB / 0.5908 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1508, allocations: 4.188 kB / 0.5908 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1508, allocations: 3.938 kB / 0.5908 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1508, allocations: 0 / 0.5908 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.151, allocations: 55.95 kB / 0.5908 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.1514, allocations: 280.7 kB / 0.5911 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.1517, allocations: 70.47 kB / 0.5911 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.1519, allocations: 28.91 kB / 0.5912 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/0.1522, allocations: 401.5 kB / 0.5916 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.1522, allocations: 42.5 kB / 0.5916 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.1522, allocations: 4 kB / 0.5916 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000413/0.1526, allocations: 109.6 kB / 0.5917 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.1527, allocations: 55.34 kB / 0.5918 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.677e-05/0.1528, allocations: 121.9 kB / 0.5919 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1528, allocations: 25.7 kB / 0.5919 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.1528, allocations: 80.14 kB / 0.592 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.1529, allocations: 11.91 kB / 0.592 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.1529, allocations: 9.719 kB / 0.592 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.153, allocations: 314.8 kB / 0.5923 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.1531, allocations: 31.97 kB / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.811e-05/0.1532, allocations: 23.98 kB / 0.5924 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.1534, allocations: 56.81 kB / 0.5924 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1534, allocations: 4 kB / 0.5924 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002369/0.1537, allocations: 89.5 kB / 0.5925 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1537, allocations: 6.656 kB / 0.5925 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1537, allocations: 3.938 kB / 0.5925 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1537, allocations: 3.984 kB / 0.5925 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.1538, allocations: 20 kB / 0.5925 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1538, allocations: 0 / 0.5925 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.1539, allocations: 7.984 kB / 0.5925 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1539, allocations: 4 kB / 0.5925 GB, free: 14.29 MB / 0.4981 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.171e-05/0.154, allocations: 109.8 kB / 0.5926 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.154, allocations: 4 kB / 0.5926 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.1543, allocations: 101.5 kB / 0.5927 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1543, allocations: 0 / 0.5927 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1543, allocations: 0 / 0.5927 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1543, allocations: 0 / 0.5927 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.1545, allocations: 173.5 kB / 0.5929 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1545, allocations: 0 / 0.5929 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/0.1546, allocations: 19.98 kB / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1546, allocations: 0 / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1546, allocations: 0 / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1546, allocations: 0 / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1546, allocations: 0 / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.1549, allocations: 191.3 kB / 0.5931 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.155, allocations: 77.11 kB / 0.5932 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.155, allocations: 0 / 0.5932 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.226e-05/0.1551, allocations: 11.98 kB / 0.5932 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.1552, allocations: 4 kB / 0.5932 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1552, allocations: 4.422 kB / 0.5932 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.1552, allocations: 95.56 kB / 0.5933 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1552, allocations: 3.938 kB / 0.5933 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002351/0.1555, allocations: 8 kB / 0.5933 GB, free: 13.4 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.0001567/0.1556, allocations: 103.2 kB / 0.5934 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1559, allocations: 63.94 kB / 0.5935 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1559, allocations: 0 / 0.5935 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.156, allocations: 31.97 kB / 0.5935 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1563, allocations: 11.88 kB / 0.5935 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.1566, allocations: 166.2 kB / 0.5937 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.1569, allocations: 0.6809 MB / 0.5943 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.1569, allocations: 15.42 kB / 0.5943 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1569, allocations: 0 / 0.5943 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.002183/0.1591, allocations: 0.783 MB / 0.5951 GB, free: 11.48 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)