Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001175/0.001175, allocations: 112.5 kB / 16.42 MB, free: 6.512 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.001164/0.001164, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.32/1.32, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7927/0.7927, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.81 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002346/0.129, allocations: 1.529 MB / 0.6618 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.1293, allocations: 136.4 kB / 0.662 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.1293, allocations: 7.875 kB / 0.662 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.1294, allocations: 0 / 0.662 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.152e-05/0.1294, allocations: 3.938 kB / 0.662 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1297, allocations: 35.91 kB / 0.662 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.248e-05/0.1298, allocations: 35.92 kB / 0.662 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.884e-05/0.1299, allocations: 19.97 kB / 0.6621 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.686e-05/0.1299, allocations: 11.94 kB / 0.6621 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.13, allocations: 19.92 kB / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.13, allocations: 0 / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.513e-05/0.1301, allocations: 19.98 kB / 0.6621 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.1301, allocations: 7.984 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.1301, allocations: 23.86 kB / 0.6621 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1302, allocations: 51.75 kB / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1303, allocations: 0 / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1303, allocations: 0 / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.1303, allocations: 0 / 0.6622 GB, free: 8.352 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004316/0.1307, allocations: 351.4 kB / 0.6625 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1307, allocations: 8.031 kB / 0.6625 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.1308, allocations: 8.891 kB / 0.6625 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1309, allocations: 172.2 kB / 0.6627 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1309, allocations: 8.359 kB / 0.6627 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.1309, allocations: 4.375 kB / 0.6627 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1311, allocations: 58.23 kB / 0.6628 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1312, allocations: 192 / 0.6628 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1312, allocations: 7.938 kB / 0.6628 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1312, allocations: 0 / 0.6628 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.1314, allocations: 43.95 kB / 0.6628 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.1318, allocations: 284.7 kB / 0.6631 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.1321, allocations: 58.53 kB / 0.6632 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1322, allocations: 24.91 kB / 0.6632 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.1324, allocations: 405.5 kB / 0.6636 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1325, allocations: 34.56 kB / 0.6636 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.575e-06/0.1325, allocations: 0 / 0.6636 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003841/0.1329, allocations: 97.5 kB / 0.6637 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.1329, allocations: 55.41 kB / 0.6637 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.133, allocations: 113.8 kB / 0.6639 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.133, allocations: 25.7 kB / 0.6639 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.133, allocations: 92.09 kB / 0.664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.1331, allocations: 11.94 kB / 0.664 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.1331, allocations: 13.72 kB / 0.664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1332, allocations: 314.8 kB / 0.6643 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.812e-05/0.1333, allocations: 23.97 kB / 0.6643 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.559e-05/0.1334, allocations: 15.98 kB / 0.6643 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.1336, allocations: 52.75 kB / 0.6644 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1336, allocations: 0 / 0.6644 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002292/0.1338, allocations: 77.59 kB / 0.6645 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1339, allocations: 4 kB / 0.6645 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.1339, allocations: 0 / 0.6645 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1339, allocations: 4 kB / 0.6645 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.134, allocations: 11.98 kB / 0.6645 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.134, allocations: 4 kB / 0.6645 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.1341, allocations: 11.98 kB / 0.6645 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1341, allocations: 0 / 0.6645 GB, free: 5.684 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 6.95e-05/0.1341, allocations: 117.7 kB / 0.6646 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1342, allocations: 11.89 kB / 0.6646 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.1345, allocations: 81.48 kB / 0.6647 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1345, allocations: 4 kB / 0.6647 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1345, allocations: 3.984 kB / 0.6647 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.1345, allocations: 81.11 kB / 0.6648 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.1345, allocations: 0 / 0.6648 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.1346, allocations: 8 kB / 0.6648 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.1347, allocations: 11.92 kB / 0.6648 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000296/0.135, allocations: 153 kB / 0.6649 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003105/0.1353, allocations: 255.1 kB / 0.6652 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000107/0.1354, allocations: 36 kB / 0.6652 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.1355, allocations: 83.27 kB / 0.6653 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of Backend: time 1.644e-06/0.1355, allocations: 0 / 0.6653 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004361/0.1359, allocations: 112 kB / 0.6654 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0004187/0.1363, allocations: 0.5648 MB / 0.666 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of Templates: time 0.002962/0.1393, allocations: 0.8589 MB / 0.6668 GB, free: 3.207 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)