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: translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007344/0.007344, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001455/0.001455, allocations: 195.1 kB / 16.67 MB, free: 5.93 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7972/0.7972, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.59 kB / 0.5856 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1414, allocations: 80.94 MB / 0.6647 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001463/0.1429, allocations: 0.5643 MB / 0.6652 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002285/0.1432, allocations: 62.38 kB / 0.6653 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.573e-05/0.1432, allocations: 0 / 0.6653 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.1432, allocations: 0 / 0.6653 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5e-06/0.1432, allocations: 0 / 0.6653 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.1435, allocations: 19.91 kB / 0.6653 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.066e-05/0.1436, allocations: 31.98 kB / 0.6653 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.1436, allocations: 0 / 0.6653 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.1436, allocations: 23.91 kB / 0.6654 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.213e-05/0.1437, allocations: 4 kB / 0.6654 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.1437, allocations: 0 / 0.6654 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.767e-05/0.1438, allocations: 15.98 kB / 0.6654 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.1438, allocations: 19.97 kB / 0.6654 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.1438, allocations: 15.88 kB / 0.6654 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.832e-05/0.1439, allocations: 35.89 kB / 0.6655 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1439, allocations: 0 / 0.6655 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1439, allocations: 0 / 0.6655 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.1439, allocations: 4 kB / 0.6655 GB, free: 4.953 MB / 0.4981 GB 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.0002672/0.1442, allocations: 335.5 kB / 0.6658 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1443, allocations: 17.05 kB / 0.6658 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.1443, allocations: 0.9375 kB / 0.6658 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.316e-05/0.1444, allocations: 168.3 kB / 0.666 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1444, allocations: 4.375 kB / 0.666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1444, allocations: 4.375 kB / 0.666 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.1445, allocations: 66.5 kB / 0.666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1445, allocations: 192 / 0.666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1446, allocations: 7.938 kB / 0.666 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1446, allocations: 4 kB / 0.666 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.1447, allocations: 99.88 kB / 0.6661 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.1448, allocations: 169.6 kB / 0.6663 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.145, allocations: 74.48 kB / 0.6664 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.145, allocations: 32.84 kB / 0.6664 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/0.1453, allocations: 413.8 kB / 0.6668 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1453, allocations: 42.5 kB / 0.6668 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1453, allocations: 0 / 0.6668 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002134/0.1455, allocations: 109.6 kB / 0.6669 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.1456, allocations: 51.41 kB / 0.667 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.665e-05/0.1456, allocations: 97.77 kB / 0.6671 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1456, allocations: 25.7 kB / 0.6671 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/0.1457, allocations: 80.14 kB / 0.6672 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.1457, allocations: 27.73 kB / 0.6672 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.1457, allocations: 33.7 kB / 0.6672 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.1458, allocations: 318.8 kB / 0.6675 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.605e-05/0.1459, allocations: 27.86 kB / 0.6676 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.354e-05/0.1459, allocations: 24.42 kB / 0.6676 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/0.146, allocations: 64.98 kB / 0.6677 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.146, allocations: 0 / 0.6677 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001345/0.1462, allocations: 89.58 kB / 0.6677 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1462, allocations: 11.94 kB / 0.6678 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.1462, allocations: 3.938 kB / 0.6678 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1462, allocations: 0 / 0.6678 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.1463, allocations: 27.92 kB / 0.6678 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1463, allocations: 7.922 kB / 0.6678 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.1463, allocations: 0 / 0.6678 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1464, allocations: 4 kB / 0.6678 GB, free: 2.242 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: 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 9.103e-05/0.1465, allocations: 124.7 kB / 0.6679 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.1465, allocations: 7.906 kB / 0.6679 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.1467, allocations: 129.4 kB / 0.668 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1467, allocations: 4 kB / 0.668 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1467, allocations: 0 / 0.668 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1467, allocations: 0 / 0.668 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.1468, allocations: 173.6 kB / 0.6682 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1468, allocations: 0 / 0.6682 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.1469, allocations: 23.98 kB / 0.6682 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1469, allocations: 3.938 kB / 0.6682 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1469, allocations: 3.938 kB / 0.6682 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1469, allocations: 0 / 0.6682 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1469, allocations: 0 / 0.6682 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.1471, allocations: 128.9 kB / 0.6684 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.1471, allocations: 84.98 kB / 0.6684 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1471, allocations: 8 kB / 0.6685 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.1471, allocations: 0 / 0.6685 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.1472, allocations: 7.984 kB / 0.6685 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.1472, allocations: 4 kB / 0.6685 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.378e-05/0.1472, allocations: 75.28 kB / 0.6685 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1472, allocations: 0 / 0.6685 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001869/0.1474, allocations: 16 kB / 0.6686 GB, free: 1.363 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: 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.0001406/0.1476, allocations: 116.6 kB / 0.6687 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.1477, allocations: 59.84 kB / 0.6687 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1477, allocations: 0 / 0.6687 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.1477, allocations: 39.97 kB / 0.6688 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1479, allocations: 4.766 kB / 0.6688 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.1481, allocations: 160.7 kB / 0.6689 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.1483, allocations: 0.6807 MB / 0.6696 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.726e-05/0.1484, allocations: 35.95 kB / 0.6696 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.1484, allocations: 15.44 kB / 0.6696 GB, free: 204 kB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1484, allocations: 0 / 0.6696 GB, free: 204 kB / 0.4981 GB Notification: Performance of Templates: time 0.002362/0.1508, allocations: 0.6127 MB / 0.6702 GB, free: 15.59 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)