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.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.00158/0.00158, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001483/0.001483, allocations: 222.3 kB / 23 MB, free: 4.91 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.8302/0.8302, allocations: 134 MB / 447.2 MB, free: 9.965 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.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: 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.002036/0.002036, allocations: 70.84 kB / 0.6197 GB, free: 6.422 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1599, allocations: 85.91 MB / 0.7036 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003214/0.1631, allocations: 1.562 MB / 0.7051 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005318/0.1636, allocations: 164.3 kB / 0.7053 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.1637, allocations: 0 / 0.7053 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.1637, allocations: 3.938 kB / 0.7053 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.1638, allocations: 7.922 kB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.1641, allocations: 51.89 kB / 0.7053 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.1642, allocations: 35.91 kB / 0.7054 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1643, allocations: 11.98 kB / 0.7054 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.1644, allocations: 15.94 kB / 0.7054 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.1644, allocations: 19.92 kB / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1644, allocations: 0 / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1646, allocations: 55.92 kB / 0.7055 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.1646, allocations: 8 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.1646, allocations: 15.94 kB / 0.7055 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1648, allocations: 67.72 kB / 0.7056 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1648, allocations: 7.938 kB / 0.7056 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1648, allocations: 0 / 0.7056 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1648, allocations: 0 / 0.7056 GB, free: 14.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00052/0.1653, allocations: 294.1 kB / 0.7059 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1654, allocations: 8.031 kB / 0.7059 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.1654, allocations: 4.938 kB / 0.7059 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1655, allocations: 110.5 kB / 0.706 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.1655, allocations: 8.375 kB / 0.706 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1656, allocations: 384 / 0.706 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1658, allocations: 66.22 kB / 0.706 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.1658, allocations: 192 / 0.706 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1658, allocations: 3.938 kB / 0.706 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.1658, allocations: 0 / 0.706 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.166, allocations: 51.89 kB / 0.7061 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.1664, allocations: 212.5 kB / 0.7063 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.1667, allocations: 58.48 kB / 0.7064 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.942e-05/0.1668, allocations: 32.83 kB / 0.7064 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.167, allocations: 11.98 kB / 0.7064 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.167, allocations: 38.5 kB / 0.7064 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.167, allocations: 0 / 0.7064 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003992/0.1674, allocations: 97.62 kB / 0.7065 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1674, allocations: 51.41 kB / 0.7066 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1675, allocations: 109.8 kB / 0.7067 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1675, allocations: 29.64 kB / 0.7067 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.1676, allocations: 84.14 kB / 0.7068 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1676, allocations: 3.953 kB / 0.7068 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.1677, allocations: 17.72 kB / 0.7068 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1678, allocations: 322.8 kB / 0.7071 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.325e-05/0.1679, allocations: 19.98 kB / 0.7071 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.297e-05/0.168, allocations: 23.91 kB / 0.7072 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.1682, allocations: 40.83 kB / 0.7072 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1682, allocations: 3.938 kB / 0.7072 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002224/0.1684, allocations: 85.59 kB / 0.7073 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1684, allocations: 4 kB / 0.7073 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1684, allocations: 0 / 0.7073 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1684, allocations: 0 / 0.7073 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.1685, allocations: 11.98 kB / 0.7073 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1685, allocations: 0 / 0.7073 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.1686, allocations: 4 kB / 0.7073 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.1686, allocations: 4.234 kB / 0.7073 GB, free: 12.6 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: 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.149e-05/0.1687, allocations: 121.7 kB / 0.7074 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.1687, allocations: 8 kB / 0.7074 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.169, allocations: 89.64 kB / 0.7075 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.169, allocations: 0 / 0.7075 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.169, allocations: 0 / 0.7075 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.169, allocations: 7.938 kB / 0.7075 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.1691, allocations: 113.3 kB / 0.7076 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1691, allocations: 0 / 0.7076 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.1692, allocations: 11.98 kB / 0.7076 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1692, allocations: 0 / 0.7076 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.1692, allocations: 8 kB / 0.7077 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1692, allocations: 0 / 0.7077 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1692, allocations: 0 / 0.7077 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.1695, allocations: 179.3 kB / 0.7078 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.1695, allocations: 0 / 0.7078 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1695, allocations: 4 kB / 0.7078 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/0.1696, allocations: 11.98 kB / 0.7078 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1696, allocations: 0 / 0.7078 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.1696, allocations: 4 kB / 0.7078 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.1697, allocations: 91.27 kB / 0.7079 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1697, allocations: 0 / 0.7079 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002504/0.1699, allocations: 15.94 kB / 0.7079 GB, free: 11.89 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: 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.0001655/0.1701, allocations: 111.2 kB / 0.7081 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.1703, allocations: 47.89 kB / 0.7081 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1704, allocations: 0 / 0.7081 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1705, allocations: 35.91 kB / 0.7081 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.1707, allocations: 6.75 kB / 0.7081 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.1711, allocations: 139.4 kB / 0.7083 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.002e-05/0.1711, allocations: 67.2 kB / 0.7083 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.1712, allocations: 11.44 kB / 0.7083 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1712, allocations: 0 / 0.7083 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.002633/0.1738, allocations: 0.9744 MB / 0.7093 GB, free: 10.44 MB / 0.5294 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: 7.384702104143798] Failed to read output from testmodel.py, exit status != 0: 0.1811526739038527 0.196826477 0.028916786000000003 Calling exit ...