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.001278/0.001278, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001431/0.001431, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.8325/0.8325, allocations: 134 MB / 447.2 MB, free: 10.21 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.002066/0.002066, allocations: 70.2 kB / 0.6198 GB, free: 6.703 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1772, allocations: 85.91 MB / 0.7037 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003308/0.1805, allocations: 1.573 MB / 0.7052 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005616/0.181, allocations: 184.3 kB / 0.7054 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.1811, allocations: 0 / 0.7054 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.1811, allocations: 3.938 kB / 0.7054 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.652e-05/0.1812, allocations: 7.938 kB / 0.7054 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.1816, allocations: 51.88 kB / 0.7054 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.665e-05/0.1817, allocations: 39.91 kB / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1818, allocations: 8 kB / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.1818, allocations: 19.91 kB / 0.7055 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.1819, allocations: 19.92 kB / 0.7055 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1819, allocations: 0 / 0.7055 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.182, allocations: 55.95 kB / 0.7056 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.182, allocations: 11.92 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.449e-05/0.1821, allocations: 15.92 kB / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1822, allocations: 71.78 kB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1822, allocations: 0 / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.817e-06/0.1822, allocations: 4 kB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.1823, allocations: 0 / 0.7057 GB, free: 14.8 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.0005267/0.1828, allocations: 286.1 kB / 0.7059 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1828, allocations: 8.031 kB / 0.7059 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.1829, allocations: 4.938 kB / 0.706 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.183, allocations: 114.5 kB / 0.7061 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.183, allocations: 4.375 kB / 0.7061 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.183, allocations: 8.312 kB / 0.7061 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.1833, allocations: 62.17 kB / 0.7061 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1833, allocations: 4.188 kB / 0.7061 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1833, allocations: 3.938 kB / 0.7061 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1833, allocations: 0 / 0.7061 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.1835, allocations: 43.95 kB / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.184, allocations: 255.8 kB / 0.7064 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.1843, allocations: 58.48 kB / 0.7065 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1844, allocations: 28.89 kB / 0.7065 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.1846, allocations: 11.98 kB / 0.7065 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1846, allocations: 34.56 kB / 0.7066 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1846, allocations: 0 / 0.7066 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004075/0.185, allocations: 109.5 kB / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.1851, allocations: 51.41 kB / 0.7067 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1852, allocations: 109.8 kB / 0.7068 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1852, allocations: 29.7 kB / 0.7068 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.1853, allocations: 88.14 kB / 0.7069 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.1853, allocations: 3.953 kB / 0.7069 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.1853, allocations: 17.72 kB / 0.7069 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1855, allocations: 322.8 kB / 0.7073 GB, free: 13 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.1856, allocations: 15.98 kB / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.1857, allocations: 23.97 kB / 0.7073 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.1858, allocations: 44.83 kB / 0.7073 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1858, allocations: 0 / 0.7073 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002319/0.1861, allocations: 85.53 kB / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1861, allocations: 7.938 kB / 0.7074 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1861, allocations: 0 / 0.7074 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1861, allocations: 4 kB / 0.7074 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.1862, allocations: 7.984 kB / 0.7074 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1862, allocations: 4 kB / 0.7074 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.1862, allocations: 11.98 kB / 0.7075 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1863, allocations: 0 / 0.7075 GB, free: 12.79 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.238e-05/0.1863, allocations: 109.8 kB / 0.7076 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.1864, allocations: 4 kB / 0.7076 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.1866, allocations: 89.58 kB / 0.7076 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1867, allocations: 0 / 0.7076 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1867, allocations: 4 kB / 0.7076 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1867, allocations: 0 / 0.7076 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.1868, allocations: 144.6 kB / 0.7078 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1868, allocations: 4 kB / 0.7078 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/0.1869, allocations: 11.98 kB / 0.7078 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1869, allocations: 0 / 0.7078 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1869, allocations: 0 / 0.7078 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1869, allocations: 3.938 kB / 0.7078 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1869, allocations: 0 / 0.7078 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.1872, allocations: 183.4 kB / 0.708 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.1872, allocations: 0 / 0.708 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1872, allocations: 0 / 0.708 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-05/0.1873, allocations: 11.98 kB / 0.708 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.1874, allocations: 12.34 kB / 0.708 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1874, allocations: 0 / 0.708 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.1874, allocations: 87.28 kB / 0.7081 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1874, allocations: 4 kB / 0.7081 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002419/0.1877, allocations: 12 kB / 0.7081 GB, free: 12.04 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.0002282/0.1879, allocations: 123.2 kB / 0.7082 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1882, allocations: 43.94 kB / 0.7083 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1882, allocations: 0 / 0.7083 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.737e-05/0.1882, allocations: 27.97 kB / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.1885, allocations: 11.94 kB / 0.7083 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.1889, allocations: 143.3 kB / 0.7084 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1893, allocations: 0.6805 MB / 0.7091 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.1893, allocations: 11.44 kB / 0.7091 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of SimCode: time 4.2e-07/0.1893, allocations: 0 / 0.7091 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of Templates: time 0.002754/0.1921, allocations: 0.9644 MB / 0.7101 GB, free: 9.973 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.806706567993388] Failed to read output from testmodel.py, exit status != 0: 0.19993225391954184 0.217369728 0.031724173 Calling exit ...