Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 116.5 kB / 17.08 MB, free: 5.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 194.2 kB / 20.03 MB, free: 3.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.145/1.145, allocations: 173.4 MB / 471.3 MB, free: 6.613 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 75.86 kB / 0.649 GB, free: 23.01 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1712, allocations: 89.52 MB / 0.7364 GB, free: 3.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002662/0.1738, allocations: 1.527 MB / 0.7379 GB, free: 2.211 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003648/0.1742, allocations: 135.4 kB / 0.738 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.1743, allocations: 0 / 0.738 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.1743, allocations: 15.86 kB / 0.7381 GB, free: 2.062 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.1744, allocations: 3.984 kB / 0.7381 GB, free: 2.059 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1746, allocations: 27.92 kB / 0.7381 GB, free: 2.031 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.715e-05/0.1747, allocations: 39.91 kB / 0.7381 GB, free: 1.992 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.1748, allocations: 15.94 kB / 0.7381 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.059e-05/0.1748, allocations: 19.91 kB / 0.7382 GB, free: 1.957 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.188e-05/0.1749, allocations: 15.92 kB / 0.7382 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1749, allocations: 8 kB / 0.7382 GB, free: 1.934 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.077e-05/0.175, allocations: 19.98 kB / 0.7382 GB, free: 1.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.175, allocations: 7.938 kB / 0.7382 GB, free: 1.906 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.1751, allocations: 23.91 kB / 0.7382 GB, free: 1.883 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.1752, allocations: 35.89 kB / 0.7383 GB, free: 1.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1752, allocations: 0 / 0.7383 GB, free: 1.848 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.377e-06/0.1752, allocations: 0 / 0.7383 GB, free: 1.848 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.1752, allocations: 3.938 kB / 0.7383 GB, free: 1.844 MB / 0.545 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.0005/0.1757, allocations: 355.4 kB / 0.7386 GB, free: 1.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1758, allocations: 15.97 kB / 0.7386 GB, free: 1.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.1758, allocations: 4.891 kB / 0.7386 GB, free: 1.426 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1759, allocations: 168.3 kB / 0.7388 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.176, allocations: 384 / 0.7388 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.176, allocations: 4.375 kB / 0.7388 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.1762, allocations: 66.2 kB / 0.7389 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1762, allocations: 192 / 0.7389 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1762, allocations: 7.922 kB / 0.7389 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1762, allocations: 4 kB / 0.7389 GB, free: 1.137 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.1764, allocations: 51.89 kB / 0.7389 GB, free: 1.086 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.1768, allocations: 276.8 kB / 0.7392 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.1771, allocations: 54.55 kB / 0.7392 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1773, allocations: 32.89 kB / 0.7393 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/0.1776, allocations: 397.5 kB / 0.7396 GB, free: 192 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1776, allocations: 38.5 kB / 0.7397 GB, free: 144 kB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1776, allocations: 0 / 0.7397 GB, free: 144 kB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003859/0.178, allocations: 93.58 kB / 0.7398 GB, free: 44 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.1781, allocations: 55.41 kB / 0.7398 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.1782, allocations: 113.8 kB / 0.7399 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1782, allocations: 25.7 kB / 0.74 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.1783, allocations: 80.14 kB / 0.74 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1783, allocations: 15.89 kB / 0.74 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.1783, allocations: 17.7 kB / 0.7401 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1785, allocations: 318.8 kB / 0.7404 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.299e-05/0.1786, allocations: 19.97 kB / 0.7404 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/0.1787, allocations: 23.92 kB / 0.7404 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.1789, allocations: 52.75 kB / 0.7405 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1789, allocations: 0 / 0.7405 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002204/0.1791, allocations: 73.66 kB / 0.7405 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1791, allocations: 4 kB / 0.7405 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1791, allocations: 0 / 0.7405 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1791, allocations: 0 / 0.7405 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.1792, allocations: 15.98 kB / 0.7405 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1792, allocations: 3.938 kB / 0.7405 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.1793, allocations: 15.94 kB / 0.7406 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1793, allocations: 4 kB / 0.7406 GB, free: 15.16 MB / 0.5606 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.175e-05/0.1794, allocations: 117.7 kB / 0.7407 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.1795, allocations: 4 kB / 0.7407 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.1797, allocations: 81.55 kB / 0.7408 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1797, allocations: 4 kB / 0.7408 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1798, allocations: 0 / 0.7408 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1798, allocations: 384 / 0.7408 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.18, allocations: 169.6 kB / 0.7409 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.18, allocations: 3.984 kB / 0.7409 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.261e-05/0.18, allocations: 8 kB / 0.7409 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1801, allocations: 0 / 0.7409 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1801, allocations: 3.984 kB / 0.7409 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1801, allocations: 0 / 0.7409 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1801, allocations: 7.984 kB / 0.741 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.1804, allocations: 175.3 kB / 0.7411 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.1804, allocations: 81.11 kB / 0.7412 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1804, allocations: 7.984 kB / 0.7412 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.1805, allocations: 4 kB / 0.7412 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.1806, allocations: 3.984 kB / 0.7412 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.1806, allocations: 8 kB / 0.7412 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.1807, allocations: 83.67 kB / 0.7413 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1807, allocations: 0 / 0.7413 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002217/0.1809, allocations: 11.98 kB / 0.7413 GB, free: 14.29 MB / 0.5606 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.000154/0.1811, allocations: 107.2 kB / 0.7414 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.1813, allocations: 47.89 kB / 0.7415 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1813, allocations: 4 kB / 0.7415 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1814, allocations: 23.97 kB / 0.7415 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.1817, allocations: 15.88 kB / 0.7415 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.182, allocations: 135.3 kB / 0.7416 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1823, allocations: 0.6807 MB / 0.7423 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.1824, allocations: 15.38 kB / 0.7423 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.1824, allocations: 0 / 0.7423 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.00239/0.1848, allocations: 0.8103 MB / 0.7431 GB, free: 12.39 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.774728656979278] Failed to read output from testmodel.py, exit status != 0: 0.19125625607557595 0.20380668500000002 0.026018696 Calling exit ...