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.009776/0.009776, allocations: 100.5 kB / 15.73 MB, free: 6 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.001893/0.001893, allocations: 191.4 kB / 16.67 MB, free: 5.926 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8234/0.8234, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.08 kB / 0.5814 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2375, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003084/0.2407, allocations: 1.53 MB / 0.6612 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004492/0.2411, allocations: 144.3 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.2412, allocations: 0 / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.2412, allocations: 0 / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.774e-05/0.2413, allocations: 7.938 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.2417, allocations: 31.89 kB / 0.6613 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.383e-05/0.2418, allocations: 35.92 kB / 0.6614 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.2419, allocations: 12 kB / 0.6614 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.786e-05/0.242, allocations: 19.91 kB / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.242, allocations: 15.92 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.242, allocations: 4 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.764e-05/0.2421, allocations: 19.98 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.2422, allocations: 11.98 kB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.2422, allocations: 19.88 kB / 0.6615 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.2424, allocations: 47.86 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2424, allocations: 0 / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2424, allocations: 0 / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.2424, allocations: 0 / 0.6615 GB, free: 11.61 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.00054/0.2429, allocations: 355.4 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.243, allocations: 8.031 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.243, allocations: 4.938 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.2432, allocations: 180.2 kB / 0.662 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.2432, allocations: 384 / 0.662 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.2432, allocations: 4.375 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.2434, allocations: 58.23 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2435, allocations: 192 / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2435, allocations: 3.938 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2435, allocations: 4 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.2437, allocations: 47.95 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.2442, allocations: 284.7 kB / 0.6624 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.2446, allocations: 58.53 kB / 0.6625 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.2447, allocations: 28.84 kB / 0.6625 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.245, allocations: 401.5 kB / 0.6629 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.245, allocations: 34.56 kB / 0.6629 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.245, allocations: 0 / 0.6629 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000409/0.2455, allocations: 101.4 kB / 0.663 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2455, allocations: 55.41 kB / 0.6631 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.2456, allocations: 109.8 kB / 0.6632 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2456, allocations: 25.7 kB / 0.6632 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.2457, allocations: 88.14 kB / 0.6633 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.2457, allocations: 11.89 kB / 0.6633 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.2458, allocations: 13.72 kB / 0.6633 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2459, allocations: 318.8 kB / 0.6636 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.246, allocations: 23.97 kB / 0.6636 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.271e-05/0.2461, allocations: 15.98 kB / 0.6637 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.2463, allocations: 57.02 kB / 0.6637 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2463, allocations: 0 / 0.6637 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002328/0.2465, allocations: 73.66 kB / 0.6638 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2465, allocations: 4 kB / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2465, allocations: 0 / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2466, allocations: 0 / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.2467, allocations: 11.98 kB / 0.6638 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2467, allocations: 8 kB / 0.6638 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.233e-05/0.2467, allocations: 11.89 kB / 0.6638 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.2468, allocations: 0 / 0.6638 GB, free: 8.934 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.395e-05/0.2468, allocations: 113.8 kB / 0.6639 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.2469, allocations: 4 kB / 0.6639 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.2472, allocations: 81.48 kB / 0.664 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2472, allocations: 8 kB / 0.664 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2472, allocations: 0 / 0.664 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2472, allocations: 3.984 kB / 0.664 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.2474, allocations: 169.6 kB / 0.6642 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2474, allocations: 0 / 0.6642 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.2475, allocations: 11.98 kB / 0.6642 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.2475, allocations: 0 / 0.6642 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.2475, allocations: 7.938 kB / 0.6642 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2475, allocations: 0 / 0.6642 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2475, allocations: 0 / 0.6642 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.2478, allocations: 179.3 kB / 0.6644 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.2478, allocations: 89.03 kB / 0.6645 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.2479, allocations: 4 kB / 0.6645 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.248, allocations: 4 kB / 0.6645 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.248, allocations: 3.984 kB / 0.6645 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.248, allocations: 4 kB / 0.6645 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.2481, allocations: 91.27 kB / 0.6646 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2481, allocations: 0 / 0.6646 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002387/0.2483, allocations: 8 kB / 0.6646 GB, free: 8.055 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.0001729/0.2485, allocations: 107.3 kB / 0.6647 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.2488, allocations: 43.95 kB / 0.6647 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2488, allocations: 0 / 0.6647 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2489, allocations: 31.91 kB / 0.6647 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.2492, allocations: 15.92 kB / 0.6648 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.2496, allocations: 113.5 kB / 0.6649 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.2498, allocations: 0.6807 MB / 0.6655 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.2499, allocations: 3.984 kB / 0.6655 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.2499, allocations: 19.44 kB / 0.6656 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.2499, allocations: 0 / 0.6656 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of Templates: time 0.003244/0.2532, allocations: 0.7612 MB / 0.6663 GB, free: 6.227 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)