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.001407/0.001407, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001989/0.001989, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.801 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.894/0.894, allocations: 134 MB / 446.4 MB, free: 9.914 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.002144/0.002144, allocations: 63.78 kB / 0.619 GB, free: 6.336 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.203, allocations: 85.9 MB / 0.7029 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001892/0.2049, allocations: 0.5956 MB / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004207/0.2053, allocations: 100.1 kB / 0.7036 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.2053, allocations: 0 / 0.7036 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.2053, allocations: 3.938 kB / 0.7036 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-06/0.2053, allocations: 4 kB / 0.7036 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.2057, allocations: 39.89 kB / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.2058, allocations: 63.94 kB / 0.7037 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.2059, allocations: 0 / 0.7037 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.952e-05/0.2059, allocations: 35.91 kB / 0.7037 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.206, allocations: 19.97 kB / 0.7037 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.206, allocations: 4 kB / 0.7037 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.2062, allocations: 51.94 kB / 0.7038 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.2062, allocations: 19.97 kB / 0.7038 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.2062, allocations: 15.92 kB / 0.7038 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2064, allocations: 75.77 kB / 0.7039 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2064, allocations: 0 / 0.7039 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2064, allocations: 0 / 0.7039 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2064, allocations: 0 / 0.7039 GB, free: 15.49 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.0005857/0.207, allocations: 302.3 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.2071, allocations: 8.031 kB / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.2071, allocations: 12.86 kB / 0.7042 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2072, allocations: 110.5 kB / 0.7043 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/0.2077, allocations: 0.5298 MB / 0.7048 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.2077, allocations: 8.375 kB / 0.7048 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.208, allocations: 74.2 kB / 0.7049 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.208, allocations: 3.938 kB / 0.7049 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.208, allocations: 4 kB / 0.7049 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.208, allocations: 0 / 0.7049 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.2085, allocations: 127.8 kB / 0.705 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.2087, allocations: 121.3 kB / 0.7051 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.209, allocations: 102.4 kB / 0.7052 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.2092, allocations: 40.83 kB / 0.7053 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.2092, allocations: 4.312 kB / 0.7053 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2092, allocations: 30.56 kB / 0.7053 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.2092, allocations: 3.938 kB / 0.7053 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005767/0.2098, allocations: 152.8 kB / 0.7055 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.2099, allocations: 51.41 kB / 0.7055 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.21, allocations: 93.86 kB / 0.7056 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.21, allocations: 29.7 kB / 0.7056 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.2101, allocations: 84.08 kB / 0.7057 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.2101, allocations: 35.69 kB / 0.7057 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.2102, allocations: 29.7 kB / 0.7058 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2103, allocations: 318.8 kB / 0.7061 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.2105, allocations: 27.98 kB / 0.7061 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.2106, allocations: 35.91 kB / 0.7061 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.2109, allocations: 72.81 kB / 0.7062 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2109, allocations: 4 kB / 0.7062 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004147/0.2113, allocations: 109.6 kB / 0.7063 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2113, allocations: 12 kB / 0.7063 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2113, allocations: 3.938 kB / 0.7063 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2114, allocations: 3.938 kB / 0.7063 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.2115, allocations: 27.91 kB / 0.7064 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2115, allocations: 3.984 kB / 0.7064 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.2116, allocations: 7.938 kB / 0.7064 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.2116, allocations: 11.98 kB / 0.7064 GB, free: 12.64 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.963e-05/0.2117, allocations: 111.8 kB / 0.7065 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.2117, allocations: 7.953 kB / 0.7065 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.2118, allocations: 19.84 kB / 0.7065 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2118, allocations: 0 / 0.7065 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2118, allocations: 0 / 0.7065 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2118, allocations: 7.984 kB / 0.7065 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2119, allocations: 121.3 kB / 0.7066 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2119, allocations: 0 / 0.7066 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.212, allocations: 23.92 kB / 0.7067 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.212, allocations: 0 / 0.7067 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.212, allocations: 11.98 kB / 0.7067 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.2121, allocations: 3.938 kB / 0.7067 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2121, allocations: 0 / 0.7067 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.2124, allocations: 152.8 kB / 0.7068 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.2125, allocations: 3.938 kB / 0.7068 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.2125, allocations: 3.984 kB / 0.7068 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.2125, allocations: 15.88 kB / 0.7068 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.2126, allocations: 7.984 kB / 0.7069 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2126, allocations: 7.984 kB / 0.7069 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.2126, allocations: 75.28 kB / 0.7069 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2126, allocations: 0 / 0.7069 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000226/0.2129, allocations: 20 kB / 0.707 GB, free: 12 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.0002102/0.2131, allocations: 127.1 kB / 0.7071 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003508/0.2134, allocations: 79.88 kB / 0.7071 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2134, allocations: 0 / 0.7071 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.2136, allocations: 47.91 kB / 0.7072 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.2138, allocations: 7.984 kB / 0.7072 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.2142, allocations: 152.9 kB / 0.7073 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.057e-05/0.2143, allocations: 71.2 kB / 0.7074 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.2144, allocations: 39.95 kB / 0.7075 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.2145, allocations: 23.42 kB / 0.7075 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.2145, allocations: 4 kB / 0.7075 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.003966/0.2185, allocations: 0.9817 MB / 0.7084 GB, free: 10.43 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: 6.043350376188755] Failed to read output from testmodel.py, exit status != 0: 0.22677835449576378 0.244752137 0.034909658 Calling exit ...