Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002465/0.002465, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.492/1.492, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.69 kB / 0.5049 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1679, allocations: 80.93 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002627/0.1705, allocations: 1.59 MB / 0.5854 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000456/0.171, allocations: 180.2 kB / 0.5856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.1711, allocations: 0 / 0.5856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.1711, allocations: 0 / 0.5856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/0.1711, allocations: 3.938 kB / 0.5856 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1715, allocations: 47.97 kB / 0.5857 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.378e-05/0.1716, allocations: 39.84 kB / 0.5857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.348e-05/0.1716, allocations: 11.98 kB / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.1717, allocations: 12 kB / 0.5857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.1717, allocations: 23.86 kB / 0.5857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1717, allocations: 4 kB / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1719, allocations: 47.94 kB / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.1719, allocations: 4 kB / 0.5858 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.1719, allocations: 23.92 kB / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.172, allocations: 55.86 kB / 0.5859 GB, free: 2.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.172, allocations: 7.922 kB / 0.5859 GB, free: 2.848 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1721, allocations: 0 / 0.5859 GB, free: 2.848 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1721, allocations: 3.938 kB / 0.5859 GB, free: 2.844 MB / 494.1 MB 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.0004583/0.1725, allocations: 355.7 kB / 0.5862 GB, free: 2.445 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.1726, allocations: 12.03 kB / 0.5862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.1726, allocations: 4.844 kB / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1727, allocations: 176.3 kB / 0.5864 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1728, allocations: 4.359 kB / 0.5864 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1728, allocations: 4.375 kB / 0.5864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.173, allocations: 62.22 kB / 0.5865 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.173, allocations: 192 / 0.5865 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.173, allocations: 3.938 kB / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.173, allocations: 4 kB / 0.5865 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.1732, allocations: 43.95 kB / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.1736, allocations: 288.6 kB / 0.5868 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.1739, allocations: 58.53 kB / 0.5869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.174, allocations: 24.91 kB / 0.5869 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.1742, allocations: 170.2 kB / 0.587 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1742, allocations: 34.56 kB / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.1742, allocations: 0 / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003868/0.1746, allocations: 93.56 kB / 0.5872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.1747, allocations: 51.41 kB / 0.5872 GB, free: 1.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.805e-05/0.1748, allocations: 117.8 kB / 0.5873 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1748, allocations: 25.7 kB / 0.5873 GB, free: 1.105 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.1748, allocations: 84.05 kB / 0.5874 GB, free: 1.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.1748, allocations: 11.94 kB / 0.5874 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.1749, allocations: 17.7 kB / 0.5875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.175, allocations: 318.8 kB / 0.5878 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.043e-05/0.1751, allocations: 19.97 kB / 0.5878 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.1752, allocations: 19.98 kB / 0.5878 GB, free: 0.625 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.1754, allocations: 48.81 kB / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1754, allocations: 0 / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000213/0.1756, allocations: 81.5 kB / 0.5879 GB, free: 500 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1756, allocations: 4 kB / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1756, allocations: 0 / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1756, allocations: 336 / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.171e-05/0.1757, allocations: 15.98 kB / 0.5879 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1757, allocations: 0 / 0.5879 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.1758, allocations: 7.984 kB / 0.5879 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1758, allocations: 4 kB / 0.588 GB, free: 468 kB / 494.1 MB 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 7.574e-05/0.1759, allocations: 113.8 kB / 0.5881 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1759, allocations: 7.984 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.1762, allocations: 89.48 kB / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1762, allocations: 0 / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.1762, allocations: 7.938 kB / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1762, allocations: 0 / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.1764, allocations: 181.6 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1764, allocations: 0 / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.1765, allocations: 8 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.1765, allocations: 3.984 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1765, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1765, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1765, allocations: 4 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1768, allocations: 171.3 kB / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.1768, allocations: 77.11 kB / 0.5886 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.1769, allocations: 7.984 kB / 0.5886 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.83e-05/0.1769, allocations: 8 kB / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.177, allocations: 3.984 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.177, allocations: 8 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.1771, allocations: 87.27 kB / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.914e-06/0.1771, allocations: 0 / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002507/0.1773, allocations: 19.94 kB / 0.5887 GB, free: 15.57 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: 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.0001865/0.1775, allocations: 115.2 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.1778, allocations: 43.95 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1778, allocations: 4 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1779, allocations: 23.92 kB / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.1782, allocations: 19.86 kB / 0.5889 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.1785, allocations: 125.4 kB / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1787, allocations: 0.6807 MB / 0.5897 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.1788, allocations: 8 kB / 0.5897 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.1788, allocations: 15.44 kB / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1788, allocations: 0 / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.003083/0.1819, allocations: 0.9122 MB / 0.5906 GB, free: 13.57 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)