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.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.001237/0.001237, allocations: 110 kB / 18.93 MB, free: 2.945 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.001337/0.001337, allocations: 187 kB / 22.22 MB, free: 5.164 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.481/1.481, allocations: 225.6 MB / 251 MB, free: 13.01 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.8732/0.8732, allocations: 134 MB / 440.3 MB, free: 204 kB / 334.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.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.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: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 60.27 kB / 0.6108 GB, free: 13.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2049, allocations: 84.72 MB / 0.6935 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001865/0.2067, allocations: 0.5907 MB / 0.6941 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004318/0.2072, allocations: 108 kB / 0.6942 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.2072, allocations: 0 / 0.6942 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.2072, allocations: 0 / 0.6942 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.2072, allocations: 3.938 kB / 0.6942 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.2076, allocations: 43.89 kB / 0.6942 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.2078, allocations: 63.94 kB / 0.6943 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.2078, allocations: 3.984 kB / 0.6943 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.2079, allocations: 31.91 kB / 0.6943 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.2079, allocations: 19.98 kB / 0.6943 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.2079, allocations: 4 kB / 0.6943 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.2081, allocations: 55.94 kB / 0.6944 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.565e-05/0.2081, allocations: 23.97 kB / 0.6944 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.2082, allocations: 19.86 kB / 0.6944 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.2083, allocations: 75.77 kB / 0.6945 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2083, allocations: 0 / 0.6945 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2083, allocations: 0 / 0.6945 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.2084, allocations: 0 / 0.6945 GB, free: 7.957 MB / 0.5137 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.000569/0.2089, allocations: 296 kB / 0.6948 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.209, allocations: 12.03 kB / 0.6948 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.209, allocations: 12.89 kB / 0.6948 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.2091, allocations: 106.5 kB / 0.6949 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/0.2094, allocations: 285.6 kB / 0.6952 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.2095, allocations: 4.375 kB / 0.6952 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.2097, allocations: 82.14 kB / 0.6953 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2098, allocations: 3.938 kB / 0.6953 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2098, allocations: 0 / 0.6953 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2098, allocations: 3.938 kB / 0.6953 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.2102, allocations: 139.8 kB / 0.6954 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.2104, allocations: 148.7 kB / 0.6956 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.2107, allocations: 90.47 kB / 0.6956 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.2109, allocations: 40.83 kB / 0.6957 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.2109, allocations: 3.984 kB / 0.6957 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.2109, allocations: 34.5 kB / 0.6957 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.2109, allocations: 4 kB / 0.6957 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0006324/0.2116, allocations: 156.7 kB / 0.6959 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.2116, allocations: 55.41 kB / 0.6959 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.341e-05/0.2117, allocations: 93.86 kB / 0.696 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.2117, allocations: 25.7 kB / 0.696 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.2117, allocations: 80.14 kB / 0.6961 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.003e-05/0.2118, allocations: 35.69 kB / 0.6962 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.2118, allocations: 29.7 kB / 0.6962 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.212, allocations: 314.8 kB / 0.6965 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.2121, allocations: 35.98 kB / 0.6965 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2123, allocations: 31.97 kB / 0.6965 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.2126, allocations: 76.75 kB / 0.6966 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2126, allocations: 0 / 0.6966 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003758/0.213, allocations: 116.5 kB / 0.6967 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.213, allocations: 7.938 kB / 0.6967 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.213, allocations: 0 / 0.6967 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.213, allocations: 4 kB / 0.6967 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.2132, allocations: 23.97 kB / 0.6968 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2132, allocations: 7.938 kB / 0.6968 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.2132, allocations: 11.89 kB / 0.6968 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.2133, allocations: 7.984 kB / 0.6968 GB, free: 5.383 MB / 0.5137 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.577e-05/0.2133, allocations: 113.8 kB / 0.6969 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.2134, allocations: 7.938 kB / 0.6969 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/0.2134, allocations: 11.91 kB / 0.6969 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2134, allocations: 3.984 kB / 0.6969 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2134, allocations: 0 / 0.6969 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2134, allocations: 0 / 0.6969 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.2136, allocations: 156.7 kB / 0.6971 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2136, allocations: 0 / 0.6971 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.2137, allocations: 19.98 kB / 0.6971 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/0.2137, allocations: 11.88 kB / 0.6971 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.2138, allocations: 7.984 kB / 0.6971 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2138, allocations: 0 / 0.6971 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2138, allocations: 0 / 0.6971 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.2141, allocations: 137 kB / 0.6972 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.2142, allocations: 19.83 kB / 0.6973 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.2142, allocations: 7.938 kB / 0.6973 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.163e-05/0.2142, allocations: 4 kB / 0.6973 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.2143, allocations: 15.97 kB / 0.6973 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2143, allocations: 4 kB / 0.6973 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.2144, allocations: 75.28 kB / 0.6974 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2144, allocations: 0 / 0.6974 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002304/0.2146, allocations: 23.94 kB / 0.6974 GB, free: 4.699 MB / 0.5137 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.0002152/0.2148, allocations: 119.2 kB / 0.6975 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.2152, allocations: 83.88 kB / 0.6976 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2152, allocations: 0 / 0.6976 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.2154, allocations: 51.89 kB / 0.6976 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.2155, allocations: 8 kB / 0.6976 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.216, allocations: 160.7 kB / 0.6978 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.2163, allocations: 0.694 MB / 0.6985 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.2165, allocations: 39.91 kB / 0.6985 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.2165, allocations: 15.42 kB / 0.6985 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.2165, allocations: 0 / 0.6985 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of Templates: time 0.004213/0.2207, allocations: 1.074 MB / 0.6996 GB, free: 2.414 MB / 0.5137 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: 5.851292051374912] Failed to read output from testmodel.py, exit status != 0: 0.22872584220021963 0.24418747000000002 0.032706713000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe70cb257b0>