Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005444/0.005444, allocations: 105.4 kB / 15.74 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 196.5 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.83/0.83, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 64.62 kB / 0.5814 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1816, allocations: 80.22 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.002227/0.1838, allocations: 0.5759 MB / 0.6603 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004916/0.1843, allocations: 102.5 kB / 0.6604 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.1844, allocations: 0 / 0.6604 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.1844, allocations: 0 / 0.6604 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.825e-06/0.1845, allocations: 0 / 0.6604 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.185, allocations: 39.88 kB / 0.6604 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1852, allocations: 63.94 kB / 0.6605 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.136e-05/0.1852, allocations: 15.94 kB / 0.6605 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.1853, allocations: 31.91 kB / 0.6605 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.1854, allocations: 19.97 kB / 0.6605 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.1854, allocations: 7.938 kB / 0.6605 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.1856, allocations: 51.94 kB / 0.6606 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.1857, allocations: 15.98 kB / 0.6606 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.1857, allocations: 19.91 kB / 0.6606 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1859, allocations: 79.77 kB / 0.6607 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1859, allocations: 0 / 0.6607 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.597e-06/0.186, allocations: 0 / 0.6607 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.186, allocations: 0 / 0.6607 GB, free: 9.352 MB / 0.4981 GB 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.0007048/0.1867, allocations: 371.5 kB / 0.6611 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.1867, allocations: 12.03 kB / 0.6611 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.133e-05/0.1868, allocations: 8.844 kB / 0.6611 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.187, allocations: 164.3 kB / 0.6612 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/0.1873, allocations: 281.6 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1873, allocations: 4.359 kB / 0.6615 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.1876, allocations: 86.12 kB / 0.6616 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1876, allocations: 3.938 kB / 0.6616 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1876, allocations: 4 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.1877, allocations: 4 kB / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.1881, allocations: 131.8 kB / 0.6617 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.1883, allocations: 173.6 kB / 0.6619 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.1886, allocations: 98.52 kB / 0.662 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.1888, allocations: 40.83 kB / 0.662 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.1888, allocations: 3.984 kB / 0.662 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.1889, allocations: 46.5 kB / 0.6621 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1889, allocations: 0 / 0.6621 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005727/0.1894, allocations: 148.5 kB / 0.6622 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1895, allocations: 55.41 kB / 0.6623 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/0.1896, allocations: 89.86 kB / 0.6624 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1896, allocations: 25.7 kB / 0.6624 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.1896, allocations: 80.14 kB / 0.6625 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.834e-05/0.1897, allocations: 39.45 kB / 0.6625 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.1898, allocations: 25.7 kB / 0.6625 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1899, allocations: 322.8 kB / 0.6628 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.19, allocations: 27.97 kB / 0.6629 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1902, allocations: 35.97 kB / 0.6629 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.1904, allocations: 72.75 kB / 0.663 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1904, allocations: 4 kB / 0.663 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003211/0.1908, allocations: 115.5 kB / 0.6631 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1908, allocations: 11.94 kB / 0.6631 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1908, allocations: 7.938 kB / 0.6631 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1908, allocations: 4 kB / 0.6631 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.191, allocations: 23.97 kB / 0.6631 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.191, allocations: 3.938 kB / 0.6631 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.1911, allocations: 11.94 kB / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1911, allocations: 7.984 kB / 0.6631 GB, free: 6.574 MB / 0.4981 GB 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.0001116/0.1912, allocations: 113.8 kB / 0.6632 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.1912, allocations: 7.938 kB / 0.6633 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.1913, allocations: 7.969 kB / 0.6633 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1913, allocations: 4 kB / 0.6633 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1913, allocations: 0 / 0.6633 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1913, allocations: 3.984 kB / 0.6633 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1915, allocations: 185.5 kB / 0.6634 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1915, allocations: 0 / 0.6634 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.1917, allocations: 19.98 kB / 0.6635 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.1917, allocations: 7.938 kB / 0.6635 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.1917, allocations: 3.984 kB / 0.6635 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1917, allocations: 0 / 0.6635 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1917, allocations: 3.938 kB / 0.6635 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.1921, allocations: 145 kB / 0.6636 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.1922, allocations: 88.94 kB / 0.6637 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.1922, allocations: 3.938 kB / 0.6637 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.1922, allocations: 4 kB / 0.6637 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.1923, allocations: 11.98 kB / 0.6637 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1923, allocations: 7.984 kB / 0.6637 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.664e-05/0.1924, allocations: 75.28 kB / 0.6638 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1924, allocations: 4 kB / 0.6638 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002372/0.1926, allocations: 24 kB / 0.6638 GB, free: 5.758 MB / 0.4981 GB 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.000244/0.1929, allocations: 115.2 kB / 0.6639 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.1932, allocations: 91.88 kB / 0.664 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1932, allocations: 0 / 0.664 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.1934, allocations: 51.41 kB / 0.6641 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.1935, allocations: 4 kB / 0.6641 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.1941, allocations: 164.9 kB / 0.6642 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1944, allocations: 0.6846 MB / 0.6649 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.1946, allocations: 35.95 kB / 0.6649 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.1947, allocations: 23.42 kB / 0.665 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1947, allocations: 0 / 0.665 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of Templates: time 0.004515/0.1992, allocations: 1.026 MB / 0.666 GB, free: 3.52 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)