Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001331/0.001331, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001615/0.001615, allocations: 190.7 kB / 22.22 MB, free: 5.105 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.54/1.54, allocations: 225.6 MB / 251 MB, free: 13.03 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.8874/0.8874, allocations: 134 MB / 440.3 MB, free: 232 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 68.52 kB / 0.6107 GB, free: 13.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1993, allocations: 84.72 MB / 0.6935 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002884/0.2022, allocations: 1.546 MB / 0.695 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000525/0.2027, allocations: 176.3 kB / 0.6952 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.2027, allocations: 0 / 0.6952 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.2028, allocations: 3.938 kB / 0.6952 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.2028, allocations: 11.94 kB / 0.6952 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.2032, allocations: 51.88 kB / 0.6952 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.2033, allocations: 31.92 kB / 0.6952 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.33e-05/0.2033, allocations: 11.98 kB / 0.6953 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.463e-05/0.2034, allocations: 19.92 kB / 0.6953 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.2034, allocations: 23.91 kB / 0.6953 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2034, allocations: 4 kB / 0.6953 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.2036, allocations: 47.95 kB / 0.6953 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.2036, allocations: 7.984 kB / 0.6954 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.2036, allocations: 23.86 kB / 0.6954 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.2038, allocations: 71.73 kB / 0.6954 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2038, allocations: 0 / 0.6954 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2038, allocations: 0 / 0.6954 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2038, allocations: 0 / 0.6954 GB, free: 6.977 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005167/0.2043, allocations: 290.1 kB / 0.6957 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2044, allocations: 8.031 kB / 0.6957 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.2044, allocations: 8.891 kB / 0.6957 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.2045, allocations: 110.5 kB / 0.6958 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.2045, allocations: 4.312 kB / 0.6958 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.2045, allocations: 12.38 kB / 0.6959 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.2048, allocations: 58.22 kB / 0.6959 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2048, allocations: 192 / 0.6959 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2048, allocations: 7.938 kB / 0.6959 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2048, allocations: 0 / 0.6959 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.205, allocations: 47.89 kB / 0.696 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.2054, allocations: 255.9 kB / 0.6962 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.2058, allocations: 54.53 kB / 0.6963 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.2059, allocations: 28.89 kB / 0.6963 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.206, allocations: 19.91 kB / 0.6963 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.2061, allocations: 38.56 kB / 0.6963 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2061, allocations: 0 / 0.6963 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000407/0.2065, allocations: 85.64 kB / 0.6964 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.2065, allocations: 55.41 kB / 0.6965 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2066, allocations: 113.8 kB / 0.6966 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2066, allocations: 25.7 kB / 0.6966 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.2067, allocations: 92.08 kB / 0.6967 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.2067, allocations: 7.953 kB / 0.6967 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.2067, allocations: 17.72 kB / 0.6967 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2069, allocations: 322.8 kB / 0.697 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.207, allocations: 15.98 kB / 0.6971 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.2071, allocations: 19.92 kB / 0.6971 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.2073, allocations: 52.81 kB / 0.6971 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2073, allocations: 0 / 0.6971 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002417/0.2075, allocations: 73.66 kB / 0.6972 GB, free: 5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2075, allocations: 7.984 kB / 0.6972 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2075, allocations: 0 / 0.6972 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2075, allocations: 0 / 0.6972 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.2076, allocations: 15.92 kB / 0.6972 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2076, allocations: 0 / 0.6972 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.2077, allocations: 8 kB / 0.6972 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2077, allocations: 0 / 0.6972 GB, free: 4.969 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: 2 (bin.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.012e-05/0.2078, allocations: 123.7 kB / 0.6973 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.2078, allocations: 7.938 kB / 0.6973 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.2081, allocations: 81.64 kB / 0.6974 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2081, allocations: 0 / 0.6974 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2081, allocations: 0 / 0.6974 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2081, allocations: 4 kB / 0.6974 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.2083, allocations: 148.6 kB / 0.6976 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2083, allocations: 4 kB / 0.6976 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.2084, allocations: 7.984 kB / 0.6976 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.2084, allocations: 7.938 kB / 0.6976 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.2084, allocations: 0 / 0.6976 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2084, allocations: 0 / 0.6976 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2084, allocations: 0 / 0.6976 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.2087, allocations: 183.8 kB / 0.6978 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.2087, allocations: 3.953 kB / 0.6978 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.2087, allocations: 4 kB / 0.6978 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.2088, allocations: 7.984 kB / 0.6978 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.2089, allocations: 8.031 kB / 0.6978 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.2089, allocations: 0 / 0.6978 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.2089, allocations: 87.27 kB / 0.6979 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2089, allocations: 0 / 0.6979 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000251/0.2092, allocations: 20 kB / 0.6979 GB, free: 4.207 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: 2 (rea2Int.y,bin.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.0001703/0.2094, allocations: 115.2 kB / 0.698 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.2096, allocations: 51.89 kB / 0.6981 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2096, allocations: 0 / 0.6981 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.2097, allocations: 27.91 kB / 0.6981 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.21, allocations: 11.94 kB / 0.6981 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.2103, allocations: 117.5 kB / 0.6982 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.2107, allocations: 0.6807 MB / 0.6989 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.2107, allocations: 7.984 kB / 0.6989 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.2107, allocations: 11.44 kB / 0.6989 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.2107, allocations: 0 / 0.6989 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of Templates: time 0.003702/0.2144, allocations: 0.9878 MB / 0.6998 GB, free: 2.152 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9474182752892375] Failed to read output from testmodel.py, exit status != 0: 0.2220611097291112 0.237914958 0.030792944000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5d863317b0>