Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7409/0.7409, allocations: 133.3 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 404.7 MB, free: 6.109 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 99.75 kB / 485.9 MB, free: 7.285 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 56.11 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1757, allocations: 80.42 MB / 0.6421 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.002695/0.1785, allocations: 0.6387 MB / 0.6428 GB, free: 4.812 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005312/0.179, allocations: 119.6 kB / 0.6429 GB, free: 4.695 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.536e-05/0.1791, allocations: 4 kB / 0.6429 GB, free: 4.691 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.1791, allocations: 0 / 0.6429 GB, free: 4.691 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.512e-06/0.1792, allocations: 0 / 0.6429 GB, free: 4.691 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.1796, allocations: 27.97 kB / 0.6429 GB, free: 4.664 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1797, allocations: 63.92 kB / 0.643 GB, free: 4.602 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.1798, allocations: 4 kB / 0.643 GB, free: 4.598 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.797e-05/0.1798, allocations: 19.98 kB / 0.643 GB, free: 4.578 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.1799, allocations: 23.95 kB / 0.643 GB, free: 4.555 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.1799, allocations: 4 kB / 0.643 GB, free: 4.551 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.1801, allocations: 47.91 kB / 0.6431 GB, free: 4.504 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.1802, allocations: 23.95 kB / 0.6431 GB, free: 4.48 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.1802, allocations: 23.92 kB / 0.6431 GB, free: 4.457 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.1805, allocations: 71.77 kB / 0.6432 GB, free: 4.387 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1805, allocations: 0 / 0.6432 GB, free: 4.387 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1805, allocations: 4 kB / 0.6432 GB, free: 4.383 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1805, allocations: 0 / 0.6432 GB, free: 4.383 MB / 442.7 MB 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.0006871/0.1812, allocations: 376.8 kB / 0.6435 GB, free: 3.965 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1812, allocations: 8.031 kB / 0.6436 GB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.1813, allocations: 8.875 kB / 0.6436 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1814, allocations: 168.6 kB / 0.6437 GB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/0.1818, allocations: 285.6 kB / 0.644 GB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.1819, allocations: 8.375 kB / 0.644 GB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.1822, allocations: 78.19 kB / 0.6441 GB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1822, allocations: 3.938 kB / 0.6441 GB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1823, allocations: 0 / 0.6441 GB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.1823, allocations: 0 / 0.6441 GB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.1828, allocations: 135.8 kB / 0.6442 GB, free: 3.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.183, allocations: 181.6 kB / 0.6444 GB, free: 2.953 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.1835, allocations: 94.52 kB / 0.6445 GB, free: 2.852 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.1837, allocations: 44.83 kB / 0.6445 GB, free: 2.805 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.1837, allocations: 8.312 kB / 0.6445 GB, free: 2.797 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1838, allocations: 30.56 kB / 0.6446 GB, free: 2.758 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1838, allocations: 3.938 kB / 0.6446 GB, free: 2.754 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007298/0.1845, allocations: 149.8 kB / 0.6447 GB, free: 2.602 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1846, allocations: 55.41 kB / 0.6448 GB, free: 2.535 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.971e-05/0.1846, allocations: 93.86 kB / 0.6448 GB, free: 2.434 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1847, allocations: 25.7 kB / 0.6449 GB, free: 2.402 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1847, allocations: 80.14 kB / 0.6449 GB, free: 2.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.1848, allocations: 35.45 kB / 0.645 GB, free: 2.285 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.1849, allocations: 33.7 kB / 0.645 GB, free: 2.246 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.185, allocations: 310.8 kB / 0.6453 GB, free: 1.934 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1852, allocations: 35.97 kB / 0.6453 GB, free: 1.898 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.1854, allocations: 35.95 kB / 0.6454 GB, free: 1.863 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.1858, allocations: 84.75 kB / 0.6455 GB, free: 1.777 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1858, allocations: 0 / 0.6455 GB, free: 1.777 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004952/0.1864, allocations: 105.6 kB / 0.6456 GB, free: 1.668 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1864, allocations: 11.94 kB / 0.6456 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1864, allocations: 3.938 kB / 0.6456 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1864, allocations: 0 / 0.6456 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.1866, allocations: 23.97 kB / 0.6456 GB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1867, allocations: 4 kB / 0.6456 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.1868, allocations: 11.84 kB / 0.6456 GB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.1868, allocations: 4 kB / 0.6456 GB, free: 1.609 MB / 442.7 MB 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 0.0001127/0.1869, allocations: 121.8 kB / 0.6457 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.187, allocations: 7.938 kB / 0.6457 GB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.187, allocations: 15.91 kB / 0.6458 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.187, allocations: 0 / 0.6458 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.187, allocations: 4 kB / 0.6458 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.187, allocations: 0 / 0.6458 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1872, allocations: 177.5 kB / 0.6459 GB, free: 1.234 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.1873, allocations: 7.984 kB / 0.6459 GB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.1874, allocations: 27.98 kB / 0.646 GB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1875, allocations: 3.938 kB / 0.646 GB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1875, allocations: 4 kB / 0.646 GB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1875, allocations: 3.984 kB / 0.646 GB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1875, allocations: 4 kB / 0.646 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009957/0.1885, allocations: 0.7215 MB / 0.6467 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.1886, allocations: 77.11 kB / 0.6468 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1886, allocations: 4 kB / 0.6468 GB, free: 312 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.1887, allocations: 4 kB / 0.6468 GB, free: 308 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/0.1888, allocations: 15.91 kB / 0.6468 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1888, allocations: 8 kB / 0.6468 GB, free: 284 kB / 442.7 MB Notification: Performance of sorting global known variables: time 3.239e-05/0.1888, allocations: 75.28 kB / 0.6469 GB, free: 208 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1889, allocations: 0 / 0.6469 GB, free: 208 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005837/0.1895, allocations: 20 kB / 0.6469 GB, free: 188 kB / 442.7 MB 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.0002827/0.1897, allocations: 123.2 kB / 0.647 GB, free: 52 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005208/0.1903, allocations: 87.81 kB / 0.6471 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.1903, allocations: 0 / 0.6471 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.1905, allocations: 52.55 kB / 0.6471 GB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1908, allocations: 9.969 kB / 0.6471 GB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.1914, allocations: 305.7 kB / 0.6474 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1917, allocations: 0.6926 MB / 0.6481 GB, free: 14.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002588/0.192, allocations: 39.95 kB / 0.6481 GB, free: 14.81 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.1921, allocations: 11.44 kB / 0.6482 GB, free: 14.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.345e-06/0.1921, allocations: 0 / 0.6482 GB, free: 14.8 MB / 458.7 MB Notification: Performance of Templates: time 0.004395/0.1965, allocations: 0.9931 MB / 0.6491 GB, free: 13.81 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)