Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001028/0.001028, allocations: 112.1 kB / 16.42 MB, free: 6.516 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.001172/0.001172, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.769/0.769, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 68.39 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1311, allocations: 80.22 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001575/0.1327, allocations: 0.5699 MB / 0.6609 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002598/0.133, allocations: 62.31 kB / 0.661 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.907e-05/0.1331, allocations: 3.938 kB / 0.661 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.1331, allocations: 0 / 0.661 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-06/0.1331, allocations: 0 / 0.661 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.1334, allocations: 19.92 kB / 0.661 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.1335, allocations: 31.97 kB / 0.6611 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.1335, allocations: 0 / 0.6611 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.381e-05/0.1335, allocations: 11.92 kB / 0.6611 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.761e-05/0.1336, allocations: 19.98 kB / 0.6611 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1336, allocations: 0 / 0.6611 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.856e-05/0.1337, allocations: 15.98 kB / 0.6611 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.1337, allocations: 15.98 kB / 0.6611 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.1338, allocations: 7.938 kB / 0.6611 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.701e-05/0.1339, allocations: 39.88 kB / 0.6612 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1339, allocations: 0 / 0.6612 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1339, allocations: 0 / 0.6612 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.1339, allocations: 0 / 0.6612 GB, free: 9.43 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.0003222/0.1342, allocations: 331.6 kB / 0.6615 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1343, allocations: 19.97 kB / 0.6615 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1343, allocations: 8.844 kB / 0.6615 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/0.1344, allocations: 168.3 kB / 0.6617 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1344, allocations: 4.375 kB / 0.6617 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1344, allocations: 8.375 kB / 0.6617 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.1346, allocations: 62.56 kB / 0.6617 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1346, allocations: 192 / 0.6617 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1346, allocations: 3.938 kB / 0.6617 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1346, allocations: 0 / 0.6617 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1347, allocations: 103.9 kB / 0.6618 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.1349, allocations: 169.7 kB / 0.662 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.135, allocations: 78.47 kB / 0.6621 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.1351, allocations: 28.84 kB / 0.6621 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003204/0.1354, allocations: 405.8 kB / 0.6625 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1354, allocations: 34.5 kB / 0.6625 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.1355, allocations: 0 / 0.6625 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002433/0.1357, allocations: 123.5 kB / 0.6626 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.1357, allocations: 59.39 kB / 0.6627 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.642e-05/0.1358, allocations: 93.77 kB / 0.6628 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1358, allocations: 29.7 kB / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.509e-05/0.1358, allocations: 80.14 kB / 0.6629 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.1359, allocations: 23.66 kB / 0.6629 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.1359, allocations: 37.64 kB / 0.663 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.136, allocations: 314.8 kB / 0.6633 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.1361, allocations: 27.92 kB / 0.6633 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.1361, allocations: 19.98 kB / 0.6633 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.349e-05/0.1362, allocations: 63.56 kB / 0.6634 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1362, allocations: 0 / 0.6634 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000143/0.1364, allocations: 89.61 kB / 0.6634 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1364, allocations: 15.92 kB / 0.6635 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1364, allocations: 0 / 0.6635 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1364, allocations: 3.938 kB / 0.6635 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.689e-05/0.1365, allocations: 16 kB / 0.6635 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1365, allocations: 0 / 0.6635 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.1366, allocations: 8 kB / 0.6635 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1366, allocations: 7.984 kB / 0.6635 GB, free: 6.727 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 0.0001098/0.1367, allocations: 118.7 kB / 0.6636 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.1367, allocations: 3.906 kB / 0.6636 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.1369, allocations: 133.4 kB / 0.6637 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.137, allocations: 0 / 0.6637 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.137, allocations: 0 / 0.6637 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.137, allocations: 81.02 kB / 0.6638 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.137, allocations: 8 kB / 0.6638 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.1371, allocations: 4 kB / 0.6638 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.1371, allocations: 7.984 kB / 0.6638 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001625/0.1373, allocations: 176.9 kB / 0.664 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001959/0.1375, allocations: 277.2 kB / 0.6643 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.96e-05/0.1375, allocations: 27.97 kB / 0.6643 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.386e-05/0.1375, allocations: 79.28 kB / 0.6644 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of Backend: time 3.51e-07/0.1376, allocations: 0 / 0.6644 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004084/0.138, allocations: 126.3 kB / 0.6645 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of SimCode: time 0.000342/0.1383, allocations: 0.5759 MB / 0.6651 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of Templates: time 0.002785/0.1411, allocations: 0.8237 MB / 0.6659 GB, free: 4.191 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)