Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 220.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.907/0.907, allocations: 134 MB / 447.2 MB, free: 10.26 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.05 kB / 0.6198 GB, free: 6.719 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1732, allocations: 85.9 MB / 0.7037 GB, free: 0.8906 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.00172/0.1749, allocations: 0.5836 MB / 0.7043 GB, free: 316 kB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0004078/0.1753, allocations: 112 kB / 0.7044 GB, free: 204 kB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.1753, allocations: 3.938 kB / 0.7044 GB, free: 200 kB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.1753, allocations: 0 / 0.7044 GB, free: 200 kB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.1754, allocations: 4 kB / 0.7044 GB, free: 196 kB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.1757, allocations: 47.88 kB / 0.7044 GB, free: 148 kB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1758, allocations: 63.94 kB / 0.7045 GB, free: 84 kB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.1759, allocations: 0 / 0.7045 GB, free: 84 kB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.1759, allocations: 27.97 kB / 0.7045 GB, free: 56 kB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.176, allocations: 19.97 kB / 0.7045 GB, free: 36 kB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.176, allocations: 4 kB / 0.7045 GB, free: 32 kB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.1762, allocations: 51.94 kB / 0.7046 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.1762, allocations: 23.92 kB / 0.7046 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.1762, allocations: 19.91 kB / 0.7046 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1764, allocations: 71.78 kB / 0.7047 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1764, allocations: 4 kB / 0.7047 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1764, allocations: 0 / 0.7047 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.1764, allocations: 0 / 0.7047 GB, free: 15.86 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005307/0.1769, allocations: 298.3 kB / 0.705 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.177, allocations: 8.031 kB / 0.705 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.177, allocations: 8.938 kB / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.148e-05/0.1771, allocations: 110.4 kB / 0.7051 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004416/0.1776, allocations: 0.5299 MB / 0.7056 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1776, allocations: 8.375 kB / 0.7056 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.1778, allocations: 86.12 kB / 0.7057 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1778, allocations: 3.938 kB / 0.7057 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1779, allocations: 4 kB / 0.7057 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1779, allocations: 0 / 0.7057 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.1782, allocations: 127.8 kB / 0.7058 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.1784, allocations: 152.7 kB / 0.706 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.1787, allocations: 94.39 kB / 0.7061 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1788, allocations: 44.83 kB / 0.7061 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.1789, allocations: 7.984 kB / 0.7061 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1789, allocations: 34.56 kB / 0.7062 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1789, allocations: 0 / 0.7062 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005285/0.1794, allocations: 149.6 kB / 0.7063 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.1795, allocations: 59.34 kB / 0.7064 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.1795, allocations: 89.86 kB / 0.7065 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1796, allocations: 33.7 kB / 0.7065 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.1796, allocations: 80.14 kB / 0.7066 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.1796, allocations: 35.69 kB / 0.7066 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.1797, allocations: 29.7 kB / 0.7066 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1798, allocations: 314.8 kB / 0.7069 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.18, allocations: 27.97 kB / 0.707 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1801, allocations: 35.97 kB / 0.707 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.1804, allocations: 76.75 kB / 0.7071 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1804, allocations: 4 kB / 0.7071 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003264/0.1807, allocations: 113.6 kB / 0.7072 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.1807, allocations: 7.938 kB / 0.7072 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1807, allocations: 4 kB / 0.7072 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1807, allocations: 3.938 kB / 0.7072 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1809, allocations: 23.97 kB / 0.7072 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1809, allocations: 0 / 0.7072 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.1809, allocations: 7.938 kB / 0.7072 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.181, allocations: 4 kB / 0.7072 GB, free: 12.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.751e-05/0.1811, allocations: 121.8 kB / 0.7073 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.1811, allocations: 11.89 kB / 0.7073 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.1811, allocations: 11.91 kB / 0.7074 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-06/0.1811, allocations: 7.984 kB / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1811, allocations: 0 / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1811, allocations: 3.938 kB / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1813, allocations: 148.7 kB / 0.7075 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1813, allocations: 0 / 0.7075 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.1814, allocations: 27.91 kB / 0.7075 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1814, allocations: 11.94 kB / 0.7075 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1814, allocations: 0 / 0.7075 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1814, allocations: 3.984 kB / 0.7076 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1814, allocations: 0 / 0.7076 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.1818, allocations: 141 kB / 0.7077 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.1818, allocations: 3.938 kB / 0.7077 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1818, allocations: 7.938 kB / 0.7077 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.682e-05/0.1819, allocations: 11.92 kB / 0.7077 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.1819, allocations: 11.98 kB / 0.7077 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1819, allocations: 11.92 kB / 0.7077 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.182, allocations: 75.28 kB / 0.7078 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.182, allocations: 3.938 kB / 0.7078 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000225/0.1822, allocations: 20 kB / 0.7078 GB, free: 12.29 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001872/0.1824, allocations: 119.2 kB / 0.7079 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.1827, allocations: 78.45 kB / 0.708 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1827, allocations: 4 kB / 0.708 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.1829, allocations: 47.91 kB / 0.7081 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.183, allocations: 4 kB / 0.7081 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.1834, allocations: 190.5 kB / 0.7083 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1837, allocations: 0.6883 MB / 0.7089 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.1838, allocations: 23.41 kB / 0.7089 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1838, allocations: 0 / 0.7089 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.003143/0.1869, allocations: 1.318 MB / 0.7102 GB, free: 9.754 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.22396895987913] Failed to read output from testmodel.py, exit status != 0: 0.19422148587182164 0.21077293500000002 0.031180403000000002 Calling exit ...