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.001564/0.001564, allocations: 113.8 kB / 16.42 MB, free: 6.48 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.001853/0.001853, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7707/0.7707, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 70.98 kB / 0.582 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1322, allocations: 80.21 MB / 0.6603 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002548/0.1347, allocations: 1.526 MB / 0.6618 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003658/0.1351, allocations: 140.4 kB / 0.662 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.1352, allocations: 0 / 0.662 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.1352, allocations: 3.938 kB / 0.662 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.845e-05/0.1353, allocations: 7.938 kB / 0.662 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1356, allocations: 35.91 kB / 0.662 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.1356, allocations: 27.92 kB / 0.662 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.1358, allocations: 23.97 kB / 0.6621 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.1358, allocations: 11.94 kB / 0.6621 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.1358, allocations: 19.92 kB / 0.6621 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1359, allocations: 4 kB / 0.6621 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-05/0.1359, allocations: 15.98 kB / 0.6621 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.136, allocations: 11.97 kB / 0.6621 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.136, allocations: 19.88 kB / 0.6621 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.1361, allocations: 47.81 kB / 0.6622 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1361, allocations: 0 / 0.6622 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1362, allocations: 3.938 kB / 0.6622 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1362, allocations: 4 kB / 0.6622 GB, free: 8.465 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.0004601/0.1366, allocations: 343.4 kB / 0.6625 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1367, allocations: 8.031 kB / 0.6625 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1367, allocations: 8.891 kB / 0.6625 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1368, allocations: 172.3 kB / 0.6627 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1369, allocations: 16.31 kB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1369, allocations: 384 / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1371, allocations: 62.23 kB / 0.6628 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1371, allocations: 192 / 0.6628 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1371, allocations: 7.922 kB / 0.6628 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1371, allocations: 0 / 0.6628 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.1373, allocations: 43.95 kB / 0.6628 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.1377, allocations: 280.7 kB / 0.6631 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.138, allocations: 58.53 kB / 0.6632 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.52e-05/0.1381, allocations: 24.91 kB / 0.6632 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.1384, allocations: 397.5 kB / 0.6636 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1384, allocations: 46.48 kB / 0.6636 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1384, allocations: 0 / 0.6636 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003971/0.1388, allocations: 97.77 kB / 0.6637 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.1389, allocations: 51.41 kB / 0.6637 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.139, allocations: 105.8 kB / 0.6638 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.139, allocations: 25.7 kB / 0.6639 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.139, allocations: 100.1 kB / 0.664 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.1391, allocations: 3.953 kB / 0.664 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.1391, allocations: 17.72 kB / 0.664 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1392, allocations: 310.8 kB / 0.6643 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.1393, allocations: 23.97 kB / 0.6643 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.843e-05/0.1394, allocations: 23.97 kB / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1396, allocations: 48.75 kB / 0.6644 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1396, allocations: 0 / 0.6644 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002178/0.1398, allocations: 77.59 kB / 0.6645 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1398, allocations: 5.562 kB / 0.6645 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1399, allocations: 4 kB / 0.6645 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1399, allocations: 3.984 kB / 0.6645 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.14, allocations: 8 kB / 0.6645 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.14, allocations: 0 / 0.6645 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.14, allocations: 11.98 kB / 0.6645 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1401, allocations: 4 kB / 0.6645 GB, free: 5.805 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 7.995e-05/0.1401, allocations: 113.8 kB / 0.6646 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.1402, allocations: 3.953 kB / 0.6646 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.1404, allocations: 97.41 kB / 0.6647 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1405, allocations: 3.938 kB / 0.6647 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1405, allocations: 4 kB / 0.6647 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.1405, allocations: 77.11 kB / 0.6648 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1405, allocations: 0 / 0.6648 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.1406, allocations: 7.984 kB / 0.6648 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.1407, allocations: 7.938 kB / 0.6648 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002761/0.141, allocations: 161 kB / 0.6649 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002765/0.1413, allocations: 254.7 kB / 0.6652 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.586e-05/0.1414, allocations: 27.97 kB / 0.6652 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.1414, allocations: 87.22 kB / 0.6653 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of Backend: time 3.81e-07/0.1414, allocations: 0 / 0.6653 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004566/0.1419, allocations: 106.7 kB / 0.6654 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0004577/0.1423, allocations: 0.5647 MB / 0.6659 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of Templates: time 0.003159/0.1455, allocations: 0.8648 MB / 0.6668 GB, free: 3.324 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)