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.0009975/0.0009975, 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.001033/0.001033, allocations: 191.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.325/1.325, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7612/0.7612, allocations: 132.2 MB / 422.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 60.81 kB / 0.5013 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1868, allocations: 80.21 MB / 0.5796 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001893/0.1887, allocations: 0.6461 MB / 0.5802 GB, free: 8.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004415/0.1892, allocations: 107.6 kB / 0.5804 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.1892, allocations: 0 / 0.5804 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.1893, allocations: 4 kB / 0.5804 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.173e-06/0.1893, allocations: 0 / 0.5804 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.1897, allocations: 31.95 kB / 0.5804 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1898, allocations: 59.94 kB / 0.5804 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.77e-05/0.1899, allocations: 8 kB / 0.5805 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.1899, allocations: 23.97 kB / 0.5805 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.19, allocations: 23.97 kB / 0.5805 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.19, allocations: 4 kB / 0.5805 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1902, allocations: 51.94 kB / 0.5805 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.1902, allocations: 19.92 kB / 0.5806 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.1903, allocations: 27.91 kB / 0.5806 GB, free: 8.109 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1904, allocations: 67.83 kB / 0.5807 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1904, allocations: 4 kB / 0.5807 GB, free: 8.039 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.529e-06/0.1905, allocations: 0 / 0.5807 GB, free: 8.039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1905, allocations: 3.938 kB / 0.5807 GB, free: 8.035 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005734/0.191, allocations: 367.6 kB / 0.581 GB, free: 7.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1911, allocations: 12.02 kB / 0.581 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.1912, allocations: 8.844 kB / 0.581 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1913, allocations: 172.6 kB / 0.5812 GB, free: 7.398 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/0.1916, allocations: 281.5 kB / 0.5815 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.1916, allocations: 8.375 kB / 0.5815 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.1919, allocations: 82.19 kB / 0.5816 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1919, allocations: 3.938 kB / 0.5816 GB, free: 6.965 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1919, allocations: 0 / 0.5816 GB, free: 6.965 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1919, allocations: 0 / 0.5816 GB, free: 6.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.1923, allocations: 135.8 kB / 0.5817 GB, free: 6.832 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.1925, allocations: 173.7 kB / 0.5819 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.1928, allocations: 98.52 kB / 0.582 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.193, allocations: 40.83 kB / 0.582 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.193, allocations: 7.984 kB / 0.582 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.193, allocations: 34.89 kB / 0.582 GB, free: 6.414 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.193, allocations: 0 / 0.582 GB, free: 6.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005339/0.1936, allocations: 157.3 kB / 0.5822 GB, free: 6.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.1936, allocations: 55.34 kB / 0.5822 GB, free: 6.188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.24e-05/0.1937, allocations: 89.86 kB / 0.5823 GB, free: 6.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1937, allocations: 33.7 kB / 0.5824 GB, free: 6.051 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.1937, allocations: 80.14 kB / 0.5824 GB, free: 5.969 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.1938, allocations: 35.55 kB / 0.5825 GB, free: 5.934 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.1938, allocations: 25.7 kB / 0.5825 GB, free: 5.902 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.1939, allocations: 314.8 kB / 0.5828 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1941, allocations: 31.97 kB / 0.5828 GB, free: 5.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1942, allocations: 39.91 kB / 0.5829 GB, free: 5.516 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.1945, allocations: 76.09 kB / 0.5829 GB, free: 5.441 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1945, allocations: 3.938 kB / 0.5829 GB, free: 5.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003149/0.1948, allocations: 113.5 kB / 0.583 GB, free: 5.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1948, allocations: 7.938 kB / 0.583 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.1948, allocations: 0 / 0.583 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1949, allocations: 4 kB / 0.5831 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.195, allocations: 35.91 kB / 0.5831 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.195, allocations: 0 / 0.5831 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.1951, allocations: 7.938 kB / 0.5831 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1951, allocations: 3.984 kB / 0.5831 GB, free: 5.262 MB / 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: 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 9.917e-05/0.1952, allocations: 125.8 kB / 0.5832 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.1952, allocations: 7.844 kB / 0.5832 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.1953, allocations: 11.97 kB / 0.5832 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1953, allocations: 4 kB / 0.5832 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1953, allocations: 0 / 0.5832 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1953, allocations: 3.984 kB / 0.5832 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.1955, allocations: 169.7 kB / 0.5834 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1955, allocations: 0 / 0.5834 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1956, allocations: 23.98 kB / 0.5834 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1956, allocations: 7.938 kB / 0.5834 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1956, allocations: 3.984 kB / 0.5834 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1956, allocations: 4 kB / 0.5834 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1956, allocations: 0 / 0.5834 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.196, allocations: 146.6 kB / 0.5836 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.196, allocations: 81.09 kB / 0.5837 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1961, allocations: 7.938 kB / 0.5837 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.82e-05/0.1961, allocations: 8 kB / 0.5837 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.1962, allocations: 11.98 kB / 0.5837 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.1962, allocations: 3.984 kB / 0.5837 GB, free: 4.559 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.578e-05/0.1962, allocations: 75.28 kB / 0.5838 GB, free: 4.484 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1963, allocations: 4 kB / 0.5838 GB, free: 4.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.1965, allocations: 24 kB / 0.5838 GB, free: 4.457 MB / 494.1 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.0002362/0.1967, allocations: 123.2 kB / 0.5839 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.1971, allocations: 103.8 kB / 0.584 GB, free: 4.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1971, allocations: 0 / 0.584 GB, free: 4.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.1973, allocations: 47.91 kB / 0.5841 GB, free: 4.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.1974, allocations: 8 kB / 0.5841 GB, free: 4.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.1978, allocations: 176.6 kB / 0.5842 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.198, allocations: 0.6846 MB / 0.5849 GB, free: 3.262 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.1982, allocations: 39.95 kB / 0.5849 GB, free: 3.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.1982, allocations: 19.42 kB / 0.585 GB, free: 3.203 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1982, allocations: 0 / 0.585 GB, free: 3.203 MB / 494.1 MB Notification: Performance of Templates: time 0.003199/0.2014, allocations: 0.9985 MB / 0.5859 GB, free: 2.207 MB / 494.1 MB 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)