Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.001392/0.001392, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001508/0.001508, allocations: 215.7 kB / 23.75 MB, free: 4.441 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9802/0.9802, allocations: 149.9 MB / 463.8 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: IBPSA 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.002145/0.002145, allocations: 72.3 kB / 0.6423 GB, free: 9.676 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1887, allocations: 89.17 MB / 0.7294 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.003362/0.192, allocations: 1.553 MB / 0.7309 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007803/0.1928, allocations: 183.4 kB / 0.7311 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.1929, allocations: 0 / 0.7311 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.626e-05/0.1929, allocations: 3.938 kB / 0.7311 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.176e-05/0.193, allocations: 4 kB / 0.7311 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.1934, allocations: 59.81 kB / 0.7311 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.1935, allocations: 35.91 kB / 0.7312 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1936, allocations: 8 kB / 0.7312 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.1937, allocations: 19.92 kB / 0.7312 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.1937, allocations: 19.91 kB / 0.7312 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1937, allocations: 4 kB / 0.7312 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.1939, allocations: 47.89 kB / 0.7313 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.1939, allocations: 7.984 kB / 0.7313 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.194, allocations: 15.92 kB / 0.7313 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.1941, allocations: 71.73 kB / 0.7314 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1942, allocations: 3.984 kB / 0.7314 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1942, allocations: 0 / 0.7314 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1942, allocations: 0 / 0.7314 GB, free: 14.54 MB / 0.5606 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.0005677/0.1947, allocations: 278.2 kB / 0.7316 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1948, allocations: 12.03 kB / 0.7316 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1948, allocations: 4.891 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.195, allocations: 110.5 kB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.195, allocations: 4.359 kB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.195, allocations: 4.375 kB / 0.7318 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.1953, allocations: 66.17 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1953, allocations: 192 / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1953, allocations: 3.938 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1953, allocations: 4 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.1955, allocations: 43.95 kB / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.1959, allocations: 224.4 kB / 0.7321 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.1963, allocations: 62.47 kB / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.775e-05/0.1964, allocations: 24.84 kB / 0.7322 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.1966, allocations: 19.97 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1966, allocations: 34.56 kB / 0.7322 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.1966, allocations: 0 / 0.7322 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004193/0.197, allocations: 97.56 kB / 0.7323 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1971, allocations: 55.34 kB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.1972, allocations: 109.8 kB / 0.7325 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1972, allocations: 25.7 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.1973, allocations: 88.09 kB / 0.7326 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.1973, allocations: 7.953 kB / 0.7326 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1973, allocations: 17.7 kB / 0.7326 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1975, allocations: 314.8 kB / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.1976, allocations: 19.97 kB / 0.7329 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.387e-05/0.1977, allocations: 19.98 kB / 0.7329 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.1978, allocations: 48.81 kB / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1978, allocations: 3.938 kB / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002279/0.1981, allocations: 77.59 kB / 0.7331 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1981, allocations: 4 kB / 0.7331 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1981, allocations: 0 / 0.7331 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1981, allocations: 4 kB / 0.7331 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.1982, allocations: 11.98 kB / 0.7331 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1982, allocations: 0 / 0.7331 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.1983, allocations: 15.92 kB / 0.7331 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.1983, allocations: 0 / 0.7331 GB, free: 12.58 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 (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 0.0001022/0.1984, allocations: 117.8 kB / 0.7332 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1984, allocations: 3.953 kB / 0.7332 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.1987, allocations: 85.27 kB / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1987, allocations: 0 / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1987, allocations: 0 / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1987, allocations: 0 / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1989, allocations: 117.5 kB / 0.7334 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1989, allocations: 4 kB / 0.7334 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.199, allocations: 11.98 kB / 0.7334 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.199, allocations: 0 / 0.7334 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.199, allocations: 3.938 kB / 0.7334 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.199, allocations: 0 / 0.7334 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.199, allocations: 0 / 0.7334 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.1993, allocations: 175.4 kB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.1993, allocations: 8.375 kB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1993, allocations: 4 kB / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.1994, allocations: 7.984 kB / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.1994, allocations: 15.92 kB / 0.7336 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1994, allocations: 0 / 0.7336 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.198e-05/0.1995, allocations: 79.28 kB / 0.7337 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1995, allocations: 0 / 0.7337 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002603/0.1998, allocations: 23.94 kB / 0.7337 GB, free: 11.87 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,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.0002002/0.2, allocations: 107.2 kB / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.2002, allocations: 51.95 kB / 0.7339 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2002, allocations: 0 / 0.7339 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.906e-05/0.2003, allocations: 19.97 kB / 0.7339 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.2006, allocations: 13.58 kB / 0.7339 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.2009, allocations: 147.1 kB / 0.734 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.823e-05/0.201, allocations: 67.33 kB / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.201, allocations: 19.44 kB / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.2011, allocations: 0 / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.002725/0.2038, allocations: 0.9628 MB / 0.7351 GB, free: 10.43 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.262951022014022] Failed to read output from testmodel.py, exit status != 0: 0.2124550393782556 0.22810312800000002 0.030644486000000002 Calling exit ...