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.0012/0.0012, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001228/0.001228, allocations: 190.8 kB / 16.25 MB, free: 6.633 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9494/0.9494, allocations: 135.6 MB / 425.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 64.2 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1708, allocations: 81.03 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003009/0.1739, allocations: 1.584 MB / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004567/0.1744, allocations: 184.3 kB / 0.5862 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.1744, allocations: 0 / 0.5862 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.1745, allocations: 0 / 0.5862 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.455e-05/0.1745, allocations: 3.938 kB / 0.5862 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1748, allocations: 43.95 kB / 0.5863 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.1749, allocations: 43.84 kB / 0.5863 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.175, allocations: 15.98 kB / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.015e-05/0.1751, allocations: 15.98 kB / 0.5863 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.1751, allocations: 15.92 kB / 0.5864 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1751, allocations: 7.938 kB / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1753, allocations: 47.95 kB / 0.5864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.1753, allocations: 7.984 kB / 0.5864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.1753, allocations: 11.94 kB / 0.5864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1755, allocations: 63.84 kB / 0.5865 GB, free: 2.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1755, allocations: 0 / 0.5865 GB, free: 2.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1755, allocations: 3.938 kB / 0.5865 GB, free: 2.238 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1755, allocations: 0 / 0.5865 GB, free: 2.238 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.0005998/0.1761, allocations: 363.7 kB / 0.5868 GB, free: 1.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1761, allocations: 8.031 kB / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.1762, allocations: 8.844 kB / 0.5869 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.1764, allocations: 164.3 kB / 0.587 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1764, allocations: 4.312 kB / 0.587 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1764, allocations: 8.375 kB / 0.587 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1766, allocations: 58.22 kB / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1766, allocations: 4.188 kB / 0.5871 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1767, allocations: 15.94 kB / 0.5871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1767, allocations: 0 / 0.5871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.1769, allocations: 43.94 kB / 0.5871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.1774, allocations: 284.6 kB / 0.5874 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.1777, allocations: 58.53 kB / 0.5875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.765e-05/0.1778, allocations: 24.91 kB / 0.5875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/0.1781, allocations: 174.2 kB / 0.5877 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1781, allocations: 30.56 kB / 0.5877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.1781, allocations: 0 / 0.5877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004026/0.1785, allocations: 97.77 kB / 0.5878 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.1786, allocations: 51.41 kB / 0.5878 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.1787, allocations: 109.8 kB / 0.5879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1787, allocations: 25.7 kB / 0.588 GB, free: 0.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.1788, allocations: 96.03 kB / 0.588 GB, free: 412 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.1788, allocations: 3.906 kB / 0.5881 GB, free: 408 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.1788, allocations: 17.66 kB / 0.5881 GB, free: 384 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.179, allocations: 326.8 kB / 0.5884 GB, free: 48 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.841e-05/0.1791, allocations: 19.98 kB / 0.5884 GB, free: 28 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.1792, allocations: 19.97 kB / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1794, allocations: 44.81 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1794, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002172/0.1796, allocations: 81.59 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1796, allocations: 7.984 kB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1796, allocations: 0 / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1796, allocations: 4 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.1797, allocations: 7.984 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1797, allocations: 4 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.1798, allocations: 4 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.1798, allocations: 0 / 0.5886 GB, free: 15.85 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: 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 0.0001044/0.1799, allocations: 121.8 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.18, allocations: 7.891 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.1802, allocations: 85.48 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1802, allocations: 0 / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1802, allocations: 0 / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1802, allocations: 0 / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.1804, allocations: 169.6 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1805, allocations: 0 / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.1806, allocations: 15.98 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1806, allocations: 3.938 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1806, allocations: 0 / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1806, allocations: 0 / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1806, allocations: 0 / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1809, allocations: 175.4 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.1809, allocations: 89.05 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.181, allocations: 4 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.1811, allocations: 7.984 kB / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1811, allocations: 4 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1811, allocations: 0 / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.05e-05/0.1812, allocations: 87.27 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1812, allocations: 0 / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002506/0.1814, allocations: 27.84 kB / 0.5893 GB, free: 14.96 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.0001966/0.1816, allocations: 123.3 kB / 0.5894 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002925/0.1819, allocations: 44.19 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.182, allocations: 0 / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1821, allocations: 31.91 kB / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.1824, allocations: 7.875 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.1827, allocations: 129.7 kB / 0.5897 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1831, allocations: 0.6768 MB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.773e-05/0.1831, allocations: 15.83 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.1831, allocations: 11.44 kB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1832, allocations: 0 / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.003586/0.1867, allocations: 0.9111 MB / 0.5912 GB, free: 12.96 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)