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.007977/0.007978, allocations: 100.5 kB / 15.73 MB, free: 5.582 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.001698/0.001699, allocations: 199.1 kB / 16.67 MB, free: 5.523 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8882/0.8882, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 60.16 kB / 0.5813 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2282, allocations: 80.22 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002899/0.2312, allocations: 1.523 MB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004635/0.2316, allocations: 140.3 kB / 0.6613 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/0.2317, allocations: 0 / 0.6613 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.26e-05/0.2318, allocations: 7.938 kB / 0.6613 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.2319, allocations: 3.984 kB / 0.6613 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.2323, allocations: 27.91 kB / 0.6613 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.934e-05/0.2324, allocations: 39.91 kB / 0.6614 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2325, allocations: 8 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.348e-05/0.2326, allocations: 19.92 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.2326, allocations: 23.91 kB / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.2327, allocations: 4 kB / 0.6614 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.579e-05/0.2328, allocations: 23.98 kB / 0.6615 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.2328, allocations: 0 / 0.6615 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.2328, allocations: 23.86 kB / 0.6615 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.233, allocations: 43.88 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.233, allocations: 0 / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.176e-06/0.233, allocations: 0 / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.233, allocations: 3.938 kB / 0.6615 GB, free: 8.34 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.0007018/0.2337, allocations: 355.4 kB / 0.6619 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.2338, allocations: 12.03 kB / 0.6619 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.2339, allocations: 4.938 kB / 0.6619 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.234, allocations: 172.3 kB / 0.662 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.2341, allocations: 384 / 0.662 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.2341, allocations: 4.375 kB / 0.662 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.2343, allocations: 62.22 kB / 0.6621 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2343, allocations: 192 / 0.6621 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.2344, allocations: 7.938 kB / 0.6621 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2344, allocations: 0 / 0.6621 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.2346, allocations: 51.89 kB / 0.6622 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.2351, allocations: 280.8 kB / 0.6624 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.2354, allocations: 54.55 kB / 0.6625 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.2355, allocations: 28.89 kB / 0.6625 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003763/0.2359, allocations: 405.5 kB / 0.6629 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.236, allocations: 34.5 kB / 0.6629 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.236, allocations: 3.938 kB / 0.6629 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004304/0.2364, allocations: 93.53 kB / 0.663 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.2365, allocations: 51.41 kB / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2366, allocations: 113.8 kB / 0.6632 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2366, allocations: 29.7 kB / 0.6632 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.2367, allocations: 84.14 kB / 0.6633 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.2367, allocations: 11.84 kB / 0.6633 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.2368, allocations: 17.7 kB / 0.6633 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.237, allocations: 318.8 kB / 0.6636 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.2371, allocations: 19.98 kB / 0.6636 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.2372, allocations: 19.91 kB / 0.6637 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.2373, allocations: 52.81 kB / 0.6637 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2373, allocations: 0 / 0.6637 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002268/0.2376, allocations: 73.66 kB / 0.6638 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2376, allocations: 4 kB / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2376, allocations: 0 / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2376, allocations: 0 / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.2377, allocations: 15.98 kB / 0.6638 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2377, allocations: 0 / 0.6638 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.2378, allocations: 11.89 kB / 0.6638 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.2378, allocations: 4 kB / 0.6638 GB, free: 5.672 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 9.074e-05/0.2379, allocations: 117.7 kB / 0.6639 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.2379, allocations: 8 kB / 0.6639 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.2382, allocations: 85.86 kB / 0.664 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2382, allocations: 0 / 0.664 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.2382, allocations: 0 / 0.664 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2383, allocations: 4 kB / 0.664 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.2385, allocations: 165.6 kB / 0.6642 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2385, allocations: 4 kB / 0.6642 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.317e-05/0.2385, allocations: 7.984 kB / 0.6642 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2386, allocations: 4 kB / 0.6642 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.2386, allocations: 0 / 0.6642 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2386, allocations: 4.297 kB / 0.6642 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2386, allocations: 0 / 0.6642 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.2389, allocations: 187.2 kB / 0.6644 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.2389, allocations: 81.05 kB / 0.6645 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.239, allocations: 4 kB / 0.6645 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.2391, allocations: 7.984 kB / 0.6645 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.2391, allocations: 3.984 kB / 0.6645 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2391, allocations: 8 kB / 0.6645 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.157e-05/0.2392, allocations: 87.27 kB / 0.6646 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2392, allocations: 0 / 0.6646 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002341/0.2394, allocations: 8 kB / 0.6646 GB, free: 4.789 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.0002069/0.2396, allocations: 107.2 kB / 0.6647 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.2399, allocations: 43.89 kB / 0.6647 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2399, allocations: 0 / 0.6647 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.858e-05/0.24, allocations: 31.97 kB / 0.6647 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2404, allocations: 15.88 kB / 0.6648 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.2408, allocations: 113.5 kB / 0.6649 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.2412, allocations: 0.6806 MB / 0.6655 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.2412, allocations: 8 kB / 0.6655 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.2413, allocations: 19.42 kB / 0.6656 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.2413, allocations: 0 / 0.6656 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of Templates: time 0.004141/0.2454, allocations: 0.7551 MB / 0.6663 GB, free: 2.965 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)