Skip to content

Instantly share code, notes, and snippets.

@rwest
Created June 11, 2012 14:51
Show Gist options
  • Select an option

  • Save rwest/2910440 to your computer and use it in GitHub Desktop.

Select an option

Save rwest/2910440 to your computer and use it in GitHub Desktop.
Profiling data for RMG-Py/examples/rmg/methylformate
digraph {
graph [ranksep=0.25, fontname=Arial, nodesep=0.125];
node [fontname=Arial, style="filled,rounded", height=0, width=0, shape=box, fontcolor=white];
edge [fontname=Arial];
26 [color="#0d1375", fontcolor="#ffffff", fontsize="10.00", label="output:52:saveOutputHTML\n1.55%\n(0.00%)\n159"];
26 -> 886 [color="#0d1375", label="1.51%\n159", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1375", labeldistance="0.50", penwidth="0.50"];
28 [color="#0d1375", fontcolor="#ffffff", fontsize="10.00", label="main:600:saveOutputHTML\n1.55%\n(0.00%)\n158"];
28 -> 26 [color="#0d1375", label="1.55%\n158", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1375", labeldistance="0.50", penwidth="0.50"];
30 [color="#ff0000", fontcolor="#ffffff", fontsize="10.00", label="main:309:execute\n100.00%\n(0.00%)\n1"];
30 -> 613 [color="#0c8791", label="23.16%\n474", arrowsize="0.48", fontsize="10.00", fontcolor="#0c8791", labeldistance="0.93", penwidth="0.93"];
30 -> 1734 [color="#0d1676", label="2.27%\n158", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1676", labeldistance="0.50", penwidth="0.50"];
30 -> 239 [color="#d3d906", label="74.37%\n158", arrowsize="0.86", fontsize="10.00", fontcolor="#d3d906", labeldistance="2.97", penwidth="2.97"];
32 [color="#0d1676", fontcolor="#ffffff", fontsize="10.00", label="pdep:352:update\n2.20%\n(0.07%)\n3289804"];
32 -> 308 [color="#0d1274", label="1.36%\n518", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1274", labeldistance="0.50", penwidth="0.50"];
58 [color="#0d1274", fontcolor="#ffffff", fontsize="10.00", label="runtime:163:call\n1.33%\n(0.02%)\n9774438"];
138 [color="#0d1174", fontcolor="#ffffff", fontsize="10.00", label="model:649:processNewReactions\n1.14%\n(0.06%)\n812"];
174 [color="#0d1375", fontcolor="#ffffff", fontsize="10.00", label="kinetics:2471:__generateReactions\n1.46%\n(0.04%)\n724756"];
187 [color="#0d1776", fontcolor="#ffffff", fontsize="10.00", label="model:68:generateThermoData\n2.50%\n(0.00%)\n33087"];
187 -> 802 [color="#0d1475", label="1.83%\n33087", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1475", labeldistance="0.50", penwidth="0.50"];
239 [color="#d5d906", fontcolor="#ffffff", fontsize="10.00", label="model:504:enlarge\n74.54%\n(0.68%)\n160"];
239 -> 138 [color="#0d1174", label="1.14%\n812", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1174", labeldistance="0.50", penwidth="0.50"];
239 -> 244 [color="#0d1475", label="1.71%\n10395", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1475", labeldistance="0.50", penwidth="0.50"];
239 -> 375 [color="#94cf07", label="67.70%\n160", arrowsize="0.82", fontsize="10.00", fontcolor="#94cf07", labeldistance="2.71", penwidth="2.71"];
239 -> 187 [color="#0d1776", label="2.50%\n33018", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1776", labeldistance="0.50", penwidth="0.50"];
242 [color="#0d1375", fontcolor="#ffffff", fontsize="10.00", label="thermo:604:getThermoDataFromGroups\n1.49%\n(0.00%)\n32907"];
242 -> 762 [color="#0d1375", label="1.49%\n54809", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1375", labeldistance="0.50", penwidth="0.50"];
244 [color="#0d1475", fontcolor="#ffffff", fontsize="10.00", label="model:484:react\n1.79%\n(0.00%)\n11095"];
244 -> 621 [color="#0d1475", label="1.79%\n15551", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1475", labeldistance="0.50", penwidth="0.50"];
276 [color="#0d1174", fontcolor="#ffffff", fontsize="10.00", label="numeric:65:zeros_like\n1.01%\n(0.12%)\n60642609"];
290 [color="#0d1e78", fontcolor="#ffffff", fontsize="10.00", label="~:0:<len>\n4.13%\n(4.13%)\n44812899017"];
308 [color="#0d1274", fontcolor="#ffffff", fontsize="10.00", label="network:817:calculateRateCoefficients\n1.36%\n(0.01%)\n518"];
308 -> 749 [color="#0d1074", label="0.87%\n518", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1074", labeldistance="0.50", penwidth="0.50"];
312 [color="#0d1475", fontcolor="#ffffff", fontsize="10.00", label="kinetics:2365:generateReactions\n1.69%\n(0.01%)\n342122"];
312 -> 174 [color="#0d1174", label="1.05%\n682203", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1174", labeldistance="0.50", penwidth="0.50"];
324 [color="#0d1274", fontcolor="#ffffff", fontsize="10.00", label="chemkin:763:getSpeciesIdentifier\n1.25%\n(0.06%)\n9815271"];
324 -> 918 [color="#0d1174", label="1.12%\n4229733", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1174", labeldistance="0.50", penwidth="0.50"];
340 [color="#0d1074", fontcolor="#ffffff", fontsize="10.00", label="network:372:calculateDensitiesOfStates\n0.87%\n(0.00%)\n518"];
340 -> 614 [color="#0d1074", label="0.87%\n6583", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1074", labeldistance="0.50", penwidth="0.50"];
375 [color="#94cf07", fontcolor="#ffffff", fontsize="10.00", label="model:1250:updateUnimolecularReactionNetworks\n67.70%\n(61.47%)\n160"];
375 -> 32 [color="#0d1676", label="2.20%\n3289804", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1676", labeldistance="0.50", penwidth="0.50"];
375 -> 290 [color="#0d1e78", label="4.01%\n43678774188", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1e78", labeldistance="0.50", penwidth="0.50"];
381 [color="#0d1375", fontcolor="#ffffff", fontsize="10.00", label="chemkin:893:writeKineticsEntry\n1.39%\n(0.07%)\n1242034"];
381 -> 324 [color="#0d1274", label="1.25%\n9761604", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1274", labeldistance="0.50", penwidth="0.50"];
590 [color="#0d1274", fontcolor="#ffffff", fontsize="10.00", label="thermo:793:__getGroupThermoData\n1.17%\n(0.03%)\n1956275"];
613 [color="#0c8791", fontcolor="#ffffff", fontsize="10.00", label="~:0:<method 'simulate' of\n'rmgpy.solver.base.ReactionSystem'\nobjects>\n23.16%\n(22.01%)\n474"];
613 -> 276 [color="#0d1174", label="1.01%\n60457854", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1174", labeldistance="0.50", penwidth="0.50"];
614 [color="#0d1074", fontcolor="#ffffff", fontsize="10.00", label="~:0:<method 'getDensityOfStates'\nof 'rmgpy.statmech.StatesModel'\nobjects>\n0.87%\n(0.82%)\n6583"];
620 [color="#0d1475", fontcolor="#ffffff", fontsize="10.00", label="kinetics:3156:generateReactionsFromFamilies\n1.69%\n(0.00%)\n15551"];
620 -> 312 [color="#0d1475", label="1.69%\n342122", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1475", labeldistance="0.50", penwidth="0.50"];
621 [color="#0d1475", fontcolor="#ffffff", fontsize="10.00", label="kinetics:3110:generateReactions\n1.79%\n(0.00%)\n15551"];
621 -> 620 [color="#0d1475", label="1.69%\n15551", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1475", labeldistance="0.50", penwidth="0.50"];
655 [color="#0d1375", fontcolor="#ffffff", fontsize="10.00", label="~:0:<method 'join' of 'unicode'\nobjects>\n1.51%\n(0.01%)\n9859"];
749 [color="#0d1074", fontcolor="#ffffff", fontsize="10.00", label="network:702:initialize\n0.87%\n(0.00%)\n518"];
749 -> 340 [color="#0d1074", label="0.87%\n518", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1074", labeldistance="0.50", penwidth="0.50"];
762 [color="#0d1375", fontcolor="#ffffff", fontsize="10.00", label="thermo:635:estimateThermoViaGroupAdditivity\n1.49%\n(0.02%)\n106455"];
762 -> 590 [color="#0d1274", label="1.17%\n1956275", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1274", labeldistance="0.50", penwidth="0.50"];
762 -> 762 [color="#0d1274", label="1.20%\n51646", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1274", labeldistance="0.50", penwidth="0.50"];
802 [color="#0d1475", fontcolor="#ffffff", fontsize="10.00", label="thermo:534:getThermoData\n1.83%\n(0.00%)\n33087"];
802 -> 242 [color="#0d1375", label="1.49%\n32907", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1375", labeldistance="0.50", penwidth="0.50"];
886 [color="#0d1375", fontcolor="#ffffff", fontsize="10.00", label="environment:879:render\n1.51%\n(0.00%)\n159"];
886 -> 655 [color="#0d1375", label="1.51%\n159", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1375", labeldistance="0.50", penwidth="0.50"];
918 [color="#0d1274", fontcolor="#ffffff", fontsize="10.00", label="~:0:<method 'getFormula' of\n'rmgpy.molecule.Molecule'\nobjects>\n1.19%\n(1.09%)\n4440958"];
1734 [color="#0d1676", fontcolor="#ffffff", fontsize="10.00", label="main:446:saveEverything\n2.27%\n(0.00%)\n158"];
1734 -> 28 [color="#0d1375", label="1.55%\n158", arrowsize="0.35", fontsize="10.00", fontcolor="#0d1375", labeldistance="0.50", penwidth="0.50"];
}
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
================================================================================
Profiling Data
================================================================================
Sorted by internal time
Sat Jun 9 08:56:38 2012 /Users/rwest/Code/rmgpy/RMG-Py/examples/rmg/methylformate/RMG.profile
47278589233 function calls (47165643959 primitive calls) in 61955.711 seconds
Ordered by: internal time
List reduced from 1953 to 25 due to restriction <25>
ncalls tottime percall cumtime percall filename:lineno(function)
160 38084.212 238.026 41975.686 262.348 model.py:1250(updateUnimolecularReactionNetworks)
474 13635.259 28.766 14360.285 30.296 {method 'simulate' of 'rmgpy.solver.base.ReactionSystem' objects}
44812899017/44812898898 2558.555 0.000 2558.555 0.000 {len}
4440958 672.306 0.000 739.050 0.000 {method 'getFormula' of 'rmgpy.molecule.Molecule' objects}
6583 510.899 0.078 539.453 0.082 {method 'getDensityOfStates' of 'rmgpy.statmech.StatesModel' objects}
60664755 477.120 0.000 477.120 0.000 {method 'fill' of 'numpy.ndarray' objects}
58157971 468.948 0.000 468.948 0.000 {method 'isSubgraphIsomorphic' of 'rmgpy.molecule.Molecule' objects}
48518 452.011 0.009 453.035 0.009 model.py:1198(addReactionToUnimolecularNetworks)
160 423.102 2.644 46219.335 288.871 model.py:504(enlarge)
23629270 251.363 0.000 251.363 0.000 {method 'isIsomorphic' of 'rmgpy.molecule.Molecule' objects}
2103290 181.808 0.000 181.808 0.000 {method 'isIsomorphic' of 'rmgpy.reaction.Reaction' objects}
99625699/1497813 146.698 0.000 361.583 0.000 copy.py:145(deepcopy)
106455 139.558 0.001 139.558 0.001 {method 'calculateSymmetryNumber' of 'rmgpy.molecule.Molecule' objects}
5935007 128.783 0.000 486.764 0.000 base.py:1060(isMoleculeForbidden)
27943382/27311530 124.204 0.000 435.671 0.000 base.py:766(matchNodeToStructure)
5239099 117.762 0.000 117.762 0.000 {method 'copy' of 'rmgpy.molecule.Molecule' objects}
615487 102.656 0.000 125.205 0.000 {method 'getURL' of 'rmgpy.reaction.Reaction' objects}
2425271 100.699 0.000 123.501 0.000 {method 'getURL' of 'rmgpy.molecule.Molecule' objects}
843211 99.444 0.000 215.174 0.000 {method '__residual' of 'rmgpy.thermo.Wilhoit' objects}
365542800 95.054 0.000 95.054 0.000 {isinstance}
615487 83.319 0.000 103.001 0.000 {method 'toHTML' of 'rmgpy.kinetics.KineticsModel' objects}
60642609 77.400 0.000 625.811 0.000 numeric.py:65(zeros_like)
66173 74.445 0.001 375.871 0.006 optimize.py:967(fminbound)
60642609 71.400 0.000 71.400 0.000 {numpy.core.multiarray.empty_like}
59140 68.393 0.001 68.416 0.001 model.py:1020(addReactionToEdge)
Ordered by: internal time
List reduced from 1953 to 25 due to restriction <25>
Function was called by...
ncalls tottime cumtime
model.py:1250(updateUnimolecularReactionNetworks) <- 160 38084.212 41975.686 model.py:504(enlarge)
{method 'simulate' of 'rmgpy.solver.base.ReactionSystem' objects} <- 474 13635.259 14360.285 main.py:309(execute)
{len} <- 318 0.000 0.000 <template>:5(root)
2198 0.000 0.000 BIFFRecords.py:23(add_str)
471 0.000 0.000 BIFFRecords.py:66(get_biff_record)
2198 0.000 0.000 BIFFRecords.py:133(_save_atom)
2198 0.000 0.000 BIFFRecords.py:140(_save_splitted)
25905 0.002 0.002 BIFFRecords.py:180(get_rec_header)
25748 0.003 0.003 BIFFRecords.py:187(get)
157 0.000 0.000 BIFFRecords.py:274(__init__)
1099 0.000 0.000 BIFFRecords.py:724(__init__)
157 0.000 0.000 BIFFRecords.py:790(__init__)
314 0.000 0.000 BIFFRecords.py:1105(__init__)
157 0.000 0.000 BIFFRecords.py:1483(__init__)
157 0.000 0.000 BIFFRecords.py:1906(__init__)
157 0.000 0.000 BIFFRecords.py:1933(__init__)
12560 0.001 0.001 Cell.py:171(_get_cells_biff_data_mul)
471 0.000 0.000 CompoundDoc.py:44(__build_directory)
157 0.000 0.000 CompoundDoc.py:123(__build_sat)
471 0.000 0.000 CompoundDoc.py:208(__build_header)
471 0.000 0.000 CompoundDoc.py:250(save)
1099 0.000 0.000 Row.py:233(write)
942 0.000 0.000 Style.py:92(_add_style)
1570 0.000 0.000 UnicodeUtils.py:45(upack2)
1413 0.000 0.000 UnicodeUtils.py:92(upack1)
157 0.000 0.000 Utils.py:183(valid_sheet_name)
157 0.000 0.000 Workbook.py:323(add_sheet)
157 0.000 0.000 Workbook.py:497(__tabid_rec)
157 0.000 0.000 Workbook.py:525(__boundsheets_rec)
157 0.000 0.000 Workbook.py:550(__all_links_rec)
1413 0.000 0.000 Workbook.py:587(get_biff_data)
157 0.000 0.000 Worksheet.py:1112(__guts_rec)
5 0.000 0.000 __init__.py:1569(error)
2596 0.000 0.000 __init__.py:1584(warning)
122671 0.022 0.022 __init__.py:1594(info)
194884 0.035 0.035 __init__.py:1602(debug)
536581 0.081 0.081 __init__.py:1610(log)
16967 0.001 0.001 base.py:347(__loadTree)
4480 0.000 0.000 base.py:410(<lambda>)
8685796 1.109 1.109 base.py:831(descendTree)
623341 0.120 0.120 basic.py:19(solve)
26119620 3.075 3.075 chemkin.py:763(getSpeciesIdentifier)
161159 0.014 0.014 chemkin.py:818(writeThermoEntry)
1236662 0.160 0.160 chemkin.py:893(writeKineticsEntry)
19 0.000 0.000 collections.py:237(namedtuple)
2544 0.000 0.000 compiler.py:1212(visit_Output)
2999689 0.377 0.377 copy.py:234(_deepcopy_tuple)
7546625 1.002 1.002 copy.py:306(_reconstruct)
1 0.000 0.000 fnmatch.py:45(filter)
1 0.000 0.000 fnmatch.py:81(translate)
3 0.000 0.000 input.py:103(simpleReactor)
296642 0.027 0.027 kinetics.py:1287(getReactionTemplate)
22 0.000 0.000 kinetics.py:1632(load)
43 0.000 0.000 kinetics.py:1801(generateProductTemplate)
1958588 0.192 0.192 kinetics.py:1896(getRateRule)
44 0.000 0.000 kinetics.py:2019(getRootTemplate)
726098 0.067 0.067 kinetics.py:2031(fillKineticsRulesByAveragingUp)
2099500 0.196 0.196 kinetics.py:2120(applyRecipe)
1395782 0.198 0.198 kinetics.py:2236(__generateProductStructures)
2499720 0.233 0.233 kinetics.py:2304(__createReaction)
654044 0.085 0.085 kinetics.py:2346(__matchReactantToTemplate)
29061 0.003 0.003 kinetics.py:2365(generateReactions)
215974 0.017 0.017 kinetics.py:2445(calculateDegeneracy)
11671821 0.982 0.982 kinetics.py:2471(__generateReactions)
492027 0.040 0.040 kinetics.py:2630(getReactionPairs)
229798 0.041 0.041 kinetics.py:2752(getKinetics)
102226 0.012 0.012 kinetics.py:2806(__getAverageKinetics)
1320031 0.139 0.139 kinetics.py:2830(estimateKineticsUsingRateRules)
292048 0.028 0.028 kinetics.py:2877(filterReactions)
623341 0.057 0.057 lapack.py:45(find_best_lapack_type)
2 0.000 0.000 lexer.py:16(<module>)
26 0.000 0.000 lexer.py:132(<lambda>)
3 0.000 0.000 lexer.py:186(compile_rules)
159 0.000 0.000 lexer.py:548(tokeniter)
4735656 0.593 0.593 linalg.py:127(_to_native_byte_order)
4735656 0.665 0.665 linalg.py:139(_fastCopyAndTranspose)
9471312 0.757 0.757 linalg.py:151(_assertRank2)
3854020 0.581 0.581 linalg.py:244(solve)
881636 0.156 0.156 linalg.py:1680(lstsq)
158 0.000 0.000 main.py:608(saveChemkinFile)
99257 0.015 0.015 model.py:68(generateThermoData)
33087 0.007 0.007 model.py:252(makeNewSpecies)
715477 0.073 0.073 model.py:309(checkForExistingReaction)
213135 0.036 0.036 model.py:384(makeNewReaction)
972411704 55.998 55.998 model.py:504(enlarge)
725 0.000 0.000 model.py:779(printEnlargeSummary)
1276 0.000 0.000 model.py:1031(getModelSize)
2 0.000 0.000 model.py:1086(addSeedMechanismToCore)
4 0.000 0.000 model.py:1127(addReactionLibraryToEdge)
84749 0.013 0.013 model.py:1198(addReactionToUnimolecularNetworks)
43678774188 2486.316 2486.316 model.py:1250(updateUnimolecularReactionNetworks)
1078 0.000 0.000 molecule_draw.py:117(render)
5638 0.001 0.001 molecule_draw.py:267(renderAtom)
1641 0.000 0.000 molecule_draw.py:539(findLongestPath)
1083 0.000 0.000 molecule_draw.py:558(findBackbone)
670 0.000 0.000 molecule_draw.py:607(generateCoordinates)
396 0.000 0.000 molecule_draw.py:700(generateStraightChainCoordinates)
1254 0.000 0.000 molecule_draw.py:768(generateNeighborCoordinates)
72 0.000 0.000 molecule_draw.py:847(generateRingSystemCoordinates)
34 0.000 0.000 molecule_draw.py:989(generateFunctionalGroupCoordinates)
1381 0.000 0.000 molecule_draw.py:1111(drawMolecule)
13772 0.002 0.002 network.py:372(calculateDensitiesOfStates)
1554 0.000 0.000 network.py:456(calculateGroundStateEnergies)
518 0.000 0.000 network.py:474(calculateFirstReactiveEnergies)
12411 0.002 0.002 network.py:488(mapDensitiesOfStates)
16548 0.002 0.002 network.py:508(calculateMicrocanonicalRates)
4136 0.001 0.001 network.py:626(calculateDeltaEDown)
19112 0.003 0.003 network.py:651(calculateEquilibriumRatios)
41360 0.006 0.006 network.py:674(calculateCollisionModel)
66180 0.006 0.006 network.py:725(setConditions)
62040 0.011 0.011 network.py:775(applyModifiedStrongCollisionMethod)
2590 0.000 0.000 network.py:817(calculateRateCoefficients)
378 0.000 0.000 nodes.py:62(__new__)
72822 0.009 0.009 nodes.py:126(__init__)
7 0.000 0.000 nonlin.py:1429(_nonlin_wrapper)
132346 0.018 0.018 optimize.py:46(is_array_scalar)
18654 0.002 0.002 output.py:64(writeStates)
8359 0.002 0.002 output.py:138(writeSpecies)
518 0.000 0.000 output.py:235(writeFile)
10335 0.001 0.001 parser.py:468(parse_concat)
1272 0.000 0.000 parser.py:688(parse_subscript)
20543956 1.562 1.562 pdep.py:98(getLeakCoefficient)
763 0.000 0.000 pdep.py:128(getMaximumLeakSpecies)
425 0.000 0.000 pdep.py:231(merge)
31953985 2.283 2.283 pdep.py:293(updateConfigurations)
6505068 0.476 0.476 pdep.py:352(update)
2 0.000 0.000 posixpath.py:80(split)
187 0.000 0.000 posixpath.py:118(dirname)
38 0.000 0.000 re.py:226(_compile)
1231133 0.221 0.221 runtime.py:270(__init__)
264692 0.033 0.033 shape_base.py:6(atleast_1d)
600 0.000 0.000 sre_compile.py:32(_compile)
54 0.000 0.000 sre_compile.py:207(_optimize_charset)
140 0.000 0.000 sre_compile.py:361(_compile_info)
434 0.000 0.000 sre_parse.py:126(__len__)
1796 0.000 0.000 sre_parse.py:182(__next)
5 0.000 0.000 sre_parse.py:225(_class_escape)
103 0.000 0.000 sre_parse.py:257(_escape)
126 0.000 0.000 sre_parse.py:301(_parse_sub)
103 0.000 0.000 sre_parse.py:379(_parse)
5721 0.001 0.001 states.py:305(getStatesData)
2780 0.000 0.000 statesfit.py:80(fitStatesToHeatCapacity)
1244 0.000 0.000 statesfit.py:141(fitStatesDirect)
92 0.000 0.000 statesfit.py:197(fitStatesPseudoRotors)
6 0.000 0.000 statesfit.py:248(fitStatesPseudo)
98773 0.023 0.023 statesfit.py:383(evaluate)
184000 0.023 0.023 statesfit.py:424(evaluate)
3000 0.001 0.001 statesfit.py:474(evaluate)
2646202 0.329 0.329 thermo.py:775(__addThermoData)
1 0.000 0.000 utils.py:460(__setitem__)
{method 'getFormula' of 'rmgpy.molecule.Molecule' objects} <- 4229733 631.140 693.277 chemkin.py:763(getSpeciesIdentifier)
178138 33.886 37.921 model.py:222(checkForExistingSpecies)
33087 7.280 7.853 model.py:252(makeNewSpecies)
{method 'getDensityOfStates' of 'rmgpy.statmech.StatesModel' objects} <- 6583 510.899 539.453 network.py:372(calculateDensitiesOfStates)
{method 'fill' of 'numpy.ndarray' objects} <- 60642609 477.011 477.011 numeric.py:65(zeros_like)
22146 0.109 0.109 numeric.py:1791(ones)
{method 'isSubgraphIsomorphic' of 'rmgpy.molecule.Molecule' objects} <- 20966289 188.371 188.371 base.py:766(matchNodeToStructure)
37191682 280.577 280.577 base.py:1060(isMoleculeForbidden)
model.py:1198(addReactionToUnimolecularNetworks) <- 48518 452.011 453.035 model.py:649(processNewReactions)
model.py:504(enlarge) <- 2 0.268 104.060 main.py:212(initialize)
158 422.833 46115.275 main.py:309(execute)
{method 'isIsomorphic' of 'rmgpy.molecule.Molecule' objects} <- 1360198 13.542 13.542 chemkin.py:893(writeKineticsEntry)
3276 0.023 0.023 kinetics.py:688(speciesMatch)
1059187 1.081 1.081 kinetics.py:2304(__createReaction)
4619836 31.520 31.520 kinetics.py:2471(__generateReactions)
2206416 10.712 10.712 model.py:222(checkForExistingSpecies)
14380357 194.484 194.484 thermo.py:589(getThermoDataFromLibrary)
{method 'isIsomorphic' of 'rmgpy.reaction.Reaction' objects} <- 2103290 181.808 181.808 kinetics.py:2717(getKineticsFromDepository)
copy.py:145(deepcopy) <- 636 0.004 0.144 compiler.py:136(copy)
4719/4315 0.011 0.225 copy.py:226(_deepcopy_list)
11989572/10482612 30.098 312.744 copy.py:234(_deepcopy_tuple)
72541824/72535960 86.215 141.387 copy.py:253(_deepcopy_dict)
13591771/1498699 23.296 335.470 copy.py:306(_reconstruct)
300 0.001 0.033 kinetics.py:1928(addKineticsRulesFromTrainingSet)
14639 0.075 4.302 kinetics.py:2717(getKineticsFromDepository)
102420 0.529 24.718 kinetics.py:2830(estimateKineticsUsingRateRules)
1728 0.010 0.636 kinetics.py:3132(generateReactionsFromLibrary)
180 0.001 0.048 thermo.py:589(getThermoDataFromLibrary)
1377910 6.456 331.702 thermo.py:793(__getGroupThermoData)
{method 'calculateSymmetryNumber' of 'rmgpy.molecule.Molecule' objects} <- 106455 139.558 139.558 thermo.py:635(estimateThermoViaGroupAdditivity)
base.py:1060(isMoleculeForbidden) <- 4112915 90.195 342.281 kinetics.py:2236(__generateProductStructures)
1822092 38.588 144.484 kinetics.py:2304(__createReaction)
base.py:766(matchNodeToStructure) <- 27311530 116.875 435.671 base.py:831(descendTree)
630688/626921 7.312 24.887 base.py:903(matchToStructure)
1164 0.018 0.035 base.py:937(matchToStructure)
{method 'copy' of 'rmgpy.molecule.Molecule' objects} <- 1378157 44.080 44.080 kinetics.py:2120(applyRecipe)
2402499 54.568 54.568 kinetics.py:2304(__createReaction)
1406697 16.680 16.680 kinetics.py:2471(__generateReactions)
100 0.000 0.000 molecule_draw.py:558(findBackbone)
51646 2.434 2.434 thermo.py:635(estimateThermoViaGroupAdditivity)
{method 'getURL' of 'rmgpy.reaction.Reaction' objects} <- 615487 102.656 125.205 runtime.py:163(call)
{method 'getURL' of 'rmgpy.molecule.Molecule' objects} <- 2425271 100.699 123.501 runtime.py:163(call)
{method '__residual' of 'rmgpy.thermo.Wilhoit' objects} <- 843211 99.444 215.174 optimize.py:967(fminbound)
{isinstance} <- 1099 0.000 0.000 BIFFRecords.py:66(get_biff_record)
89019 0.011 0.011 Cell.py:171(_get_cells_biff_data_mul)
12560 0.001 0.001 Row.py:40(__init__)
261562 0.072 0.072 Row.py:233(write)
1570 0.001 0.001 UnicodeUtils.py:45(upack2)
1413 0.001 0.001 UnicodeUtils.py:92(upack1)
157 0.000 0.000 Workbook.py:323(add_sheet)
4 0.000 0.000 __init__.py:49(normalize_encoding)
4 0.000 0.000 __init__.py:71(search_function)
157 0.000 0.000 __init__.py:98(__init__)
310824 0.112 0.112 __init__.py:311(getMessage)
310824 0.138 0.138 __init__.py:834(emit)
536581 0.074 0.074 __init__.py:1188(log)
2425271 0.953 0.953 _native.py:39(soft_unicode)
2 0.000 0.000 abc.py:105(register)
10094 0.002 0.002 base.py:347(__loadTree)
85365240 28.800 28.800 base.py:766(matchNodeToStructure)
630688 0.272 0.272 base.py:903(matchToStructure)
5725287 1.121 1.121 base.py:916(getPossibleStructures)
2328 0.001 0.001 base.py:937(matchToStructure)
17889 0.003 0.003 chemkin.py:818(writeThermoEntry)
8773940 2.944 2.944 chemkin.py:893(writeKineticsEntry)
19 0.000 0.000 collections.py:237(namedtuple)
159 0.000 0.000 compiler.py:57(generate)
20193 0.005 0.005 compiler.py:1212(visit_Output)
3180 0.001 0.001 compiler.py:1380(visit_Const)
1272 0.000 0.000 compiler.py:1491(visit_Getitem)
15093886 3.377 3.377 copy.py:306(_reconstruct)
101 0.000 0.000 dimensionality.py:15(assert_isinstance)
159 0.000 0.000 environment.py:453(compile)
5983248 5.332 5.332 fromnumeric.py:1379(sum)
1 0.000 0.000 function_base.py:1685(_get_nargs)
1 0.000 0.000 function_base.py:1815(__init__)
2 0.000 0.000 glob.py:49(glob1)
6 0.000 0.000 input.py:54(database)
7 0.000 0.000 inspect.py:67(ismethod)
7 0.000 0.000 inspect.py:142(isfunction)
7 0.000 0.000 inspect.py:209(iscode)
698515 0.386 0.386 kinetics.py:202(__apply)
857075 0.312 0.312 kinetics.py:1287(getReactionTemplate)
66 0.000 0.000 kinetics.py:1801(generateProductTemplate)
50 0.000 0.000 kinetics.py:1928(addKineticsRulesFromTrainingSet)
1992158 0.716 0.716 kinetics.py:2120(applyRecipe)
3237409 1.014 1.014 kinetics.py:2346(__matchReactantToTemplate)
81102 0.014 0.014 kinetics.py:2445(calculateDegeneracy)
1406697 0.587 0.587 kinetics.py:2471(__generateReactions)
14639 0.003 0.003 kinetics.py:2717(getKineticsFromDepository)
1 0.000 0.000 kinetics.py:2966(loadFamilies)
81090 0.032 0.032 lexer.py:548(tokeniter)
255 0.000 0.000 main.py:309(execute)
99260 0.065 0.065 model.py:68(generateThermoData)
436009 0.111 0.111 model.py:252(makeNewSpecies)
2473876 0.314 0.314 model.py:309(checkForExistingReaction)
94911 0.010 0.010 model.py:384(makeNewReaction)
187790 0.049 0.049 model.py:504(enlarge)
93432 0.019 0.019 model.py:703(generateKinetics)
48518 0.016 0.016 model.py:1198(addReactionToUnimolecularNetworks)
214354576 41.754 41.754 model.py:1250(updateUnimolecularReactionNetworks)
1514157 0.335 0.335 nodes.py:163(iter_child_nodes)
158205 0.033 0.033 nodes.py:183(find_all)
46 0.000 0.000 numeric.py:1574(isscalar)
5 0.000 0.000 numerictypes.py:608(obj2sctype)
615487 0.143 0.143 output.py:52(saveOutputHTML)
32191 0.011 0.011 output.py:64(writeStates)
1440 0.000 0.000 output.py:200(writePDepReaction)
1272 0.001 0.001 parser.py:844(subparse)
12088 0.003 0.003 pdep.py:352(update)
160 0.000 0.000 posixpath.py:312(normpath)
1 0.000 0.000 posixpath.py:341(abspath)
70 0.000 0.000 quantity.py:19(validate_unit_quantity)
170 0.000 0.000 quantity.py:31(validate_dimensionality)
35 0.000 0.000 quantity.py:118(__new__)
50 0.000 0.000 quantity.py:200(astype)
217 0.000 0.000 quantity.py:217(__array_prepare__)
217 0.000 0.000 quantity.py:240(__array_wrap__)
38 0.000 0.000 re.py:226(_compile)
9774438 5.110 5.110 runtime.py:163(call)
76 0.000 0.000 sre_compile.py:474(isstring)
949 0.000 0.000 sre_parse.py:130(__getitem__)
837 0.000 0.000 states.py:305(getStatesData)
1491418 0.746 0.746 thermo.py:793(__getGroupThermoData)
159 0.000 0.000 utils.py:81(_encode_filename)
202884 0.048 0.048 visitor.py:58(generic_visit)
{method 'toHTML' of 'rmgpy.kinetics.KineticsModel' objects} <- 615487 83.319 103.001 runtime.py:163(call)
numeric.py:65(zeros_like) <- 38456 0.064 0.253 {method 'getDensityOfStates' of 'rmgpy.statmech.StatesModel' objects}
60457854 77.131 624.981 {method 'simulate' of 'rmgpy.solver.base.ReactionSystem' objects}
1480 0.005 0.014 {rmgpy._statmech.convolve}
144819 0.200 0.563 {rmgpy.measure.reaction.calculateMicrocanonicalRateCoefficient}
optimize.py:967(fminbound) <- 66173 74.445 375.871 {rmgpy.thermo.convertThermoModel}
{numpy.core.multiarray.empty_like} <- 60642609 71.400 71.400 numeric.py:65(zeros_like)
model.py:1020(addReactionToEdge) <- 56111 64.626 64.648 model.py:649(processNewReactions)
107 0.000 0.000 model.py:1127(addReactionLibraryToEdge)
2922 3.767 3.768 pdep.py:352(update)
Sorted by cumulative time
Sat Jun 9 08:56:38 2012 /Users/rwest/Code/rmgpy/RMG-Py/examples/rmg/methylformate/RMG.profile
47278589233 function calls (47165643959 primitive calls) in 61955.711 seconds
Ordered by: cumulative time
List reduced from 1953 to 25 due to restriction <25>
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.026 0.026 62005.562 62005.562 main.py:309(execute)
160 423.102 2.644 46219.335 288.871 model.py:504(enlarge)
160 38084.212 238.026 41975.686 262.348 model.py:1250(updateUnimolecularReactionNetworks)
474 13635.259 28.766 14360.285 30.296 {method 'simulate' of 'rmgpy.solver.base.ReactionSystem' objects}
44812899017/44812898898 2558.555 0.000 2558.555 0.000 {len}
33087 1.468 0.000 1552.777 0.047 model.py:68(generateThermoData)
158 0.002 0.000 1407.628 8.909 main.py:446(saveEverything)
3289804 40.901 0.000 1361.483 0.000 pdep.py:352(update)
33087 0.312 0.000 1133.450 0.034 thermo.py:534(getThermoData)
11095 0.093 0.000 1111.334 0.100 model.py:484(react)
15551 0.060 0.000 1111.206 0.071 kinetics.py:3110(generateReactions)
15551 0.634 0.000 1047.278 0.067 kinetics.py:3156(generateReactionsFromFamilies)
342122 7.535 0.000 1046.575 0.003 kinetics.py:2365(generateReactions)
159 1.491 0.009 962.205 6.052 output.py:52(saveOutputHTML)
158 0.017 0.000 962.161 6.090 main.py:600(saveOutputHTML)
159 0.002 0.000 936.790 5.892 environment.py:879(render)
9859 5.947 0.001 936.788 0.095 {method 'join' of 'unicode' objects}
32907 1.029 0.000 926.686 0.028 thermo.py:604(getThermoDataFromGroups)
106455/54809 11.604 0.000 922.808 0.017 thermo.py:635(estimateThermoViaGroupAdditivity)
724756 21.731 0.000 906.665 0.001 kinetics.py:2471(__generateReactions)
1242034/1230974 42.027 0.000 864.437 0.001 chemkin.py:893(writeKineticsEntry)
518 5.415 0.010 844.083 1.630 network.py:817(calculateRateCoefficients)
9774438 13.182 0.000 822.427 0.000 runtime.py:163(call)
9815271 34.537 0.000 777.777 0.000 chemkin.py:763(getSpeciesIdentifier)
4440958 672.306 0.000 739.050 0.000 {method 'getFormula' of 'rmgpy.molecule.Molecule' objects}
Ordered by: cumulative time
List reduced from 1953 to 25 due to restriction <25>
Function was called by...
ncalls tottime cumtime
main.py:309(execute) <- 1 0.026 62005.562 <string>:1(<module>)
model.py:504(enlarge) <- 2 0.268 104.060 main.py:212(initialize)
158 422.833 46115.275 main.py:309(execute)
model.py:1250(updateUnimolecularReactionNetworks) <- 160 38084.212 41975.686 model.py:504(enlarge)
{method 'simulate' of 'rmgpy.solver.base.ReactionSystem' objects} <- 474 13635.259 14360.285 main.py:309(execute)
{len} <- 318 0.000 0.000 <template>:5(root)
2198 0.000 0.000 BIFFRecords.py:23(add_str)
471 0.000 0.000 BIFFRecords.py:66(get_biff_record)
2198 0.000 0.000 BIFFRecords.py:133(_save_atom)
2198 0.000 0.000 BIFFRecords.py:140(_save_splitted)
25905 0.002 0.002 BIFFRecords.py:180(get_rec_header)
25748 0.003 0.003 BIFFRecords.py:187(get)
157 0.000 0.000 BIFFRecords.py:274(__init__)
1099 0.000 0.000 BIFFRecords.py:724(__init__)
157 0.000 0.000 BIFFRecords.py:790(__init__)
314 0.000 0.000 BIFFRecords.py:1105(__init__)
157 0.000 0.000 BIFFRecords.py:1483(__init__)
157 0.000 0.000 BIFFRecords.py:1906(__init__)
157 0.000 0.000 BIFFRecords.py:1933(__init__)
12560 0.001 0.001 Cell.py:171(_get_cells_biff_data_mul)
471 0.000 0.000 CompoundDoc.py:44(__build_directory)
157 0.000 0.000 CompoundDoc.py:123(__build_sat)
471 0.000 0.000 CompoundDoc.py:208(__build_header)
471 0.000 0.000 CompoundDoc.py:250(save)
1099 0.000 0.000 Row.py:233(write)
942 0.000 0.000 Style.py:92(_add_style)
1570 0.000 0.000 UnicodeUtils.py:45(upack2)
1413 0.000 0.000 UnicodeUtils.py:92(upack1)
157 0.000 0.000 Utils.py:183(valid_sheet_name)
157 0.000 0.000 Workbook.py:323(add_sheet)
157 0.000 0.000 Workbook.py:497(__tabid_rec)
157 0.000 0.000 Workbook.py:525(__boundsheets_rec)
157 0.000 0.000 Workbook.py:550(__all_links_rec)
1413 0.000 0.000 Workbook.py:587(get_biff_data)
157 0.000 0.000 Worksheet.py:1112(__guts_rec)
5 0.000 0.000 __init__.py:1569(error)
2596 0.000 0.000 __init__.py:1584(warning)
122671 0.022 0.022 __init__.py:1594(info)
194884 0.035 0.035 __init__.py:1602(debug)
536581 0.081 0.081 __init__.py:1610(log)
16967 0.001 0.001 base.py:347(__loadTree)
4480 0.000 0.000 base.py:410(<lambda>)
8685796 1.109 1.109 base.py:831(descendTree)
623341 0.120 0.120 basic.py:19(solve)
26119620 3.075 3.075 chemkin.py:763(getSpeciesIdentifier)
161159 0.014 0.014 chemkin.py:818(writeThermoEntry)
1236662 0.160 0.160 chemkin.py:893(writeKineticsEntry)
19 0.000 0.000 collections.py:237(namedtuple)
2544 0.000 0.000 compiler.py:1212(visit_Output)
2999689 0.377 0.377 copy.py:234(_deepcopy_tuple)
7546625 1.002 1.002 copy.py:306(_reconstruct)
1 0.000 0.000 fnmatch.py:45(filter)
1 0.000 0.000 fnmatch.py:81(translate)
3 0.000 0.000 input.py:103(simpleReactor)
296642 0.027 0.027 kinetics.py:1287(getReactionTemplate)
22 0.000 0.000 kinetics.py:1632(load)
43 0.000 0.000 kinetics.py:1801(generateProductTemplate)
1958588 0.192 0.192 kinetics.py:1896(getRateRule)
44 0.000 0.000 kinetics.py:2019(getRootTemplate)
726098 0.067 0.067 kinetics.py:2031(fillKineticsRulesByAveragingUp)
2099500 0.196 0.196 kinetics.py:2120(applyRecipe)
1395782 0.198 0.198 kinetics.py:2236(__generateProductStructures)
2499720 0.233 0.233 kinetics.py:2304(__createReaction)
654044 0.085 0.085 kinetics.py:2346(__matchReactantToTemplate)
29061 0.003 0.003 kinetics.py:2365(generateReactions)
215974 0.017 0.017 kinetics.py:2445(calculateDegeneracy)
11671821 0.982 0.982 kinetics.py:2471(__generateReactions)
492027 0.040 0.040 kinetics.py:2630(getReactionPairs)
229798 0.041 0.041 kinetics.py:2752(getKinetics)
102226 0.012 0.012 kinetics.py:2806(__getAverageKinetics)
1320031 0.139 0.139 kinetics.py:2830(estimateKineticsUsingRateRules)
292048 0.028 0.028 kinetics.py:2877(filterReactions)
623341 0.057 0.057 lapack.py:45(find_best_lapack_type)
2 0.000 0.000 lexer.py:16(<module>)
26 0.000 0.000 lexer.py:132(<lambda>)
3 0.000 0.000 lexer.py:186(compile_rules)
159 0.000 0.000 lexer.py:548(tokeniter)
4735656 0.593 0.593 linalg.py:127(_to_native_byte_order)
4735656 0.665 0.665 linalg.py:139(_fastCopyAndTranspose)
9471312 0.757 0.757 linalg.py:151(_assertRank2)
3854020 0.581 0.581 linalg.py:244(solve)
881636 0.156 0.156 linalg.py:1680(lstsq)
158 0.000 0.000 main.py:608(saveChemkinFile)
99257 0.015 0.015 model.py:68(generateThermoData)
33087 0.007 0.007 model.py:252(makeNewSpecies)
715477 0.073 0.073 model.py:309(checkForExistingReaction)
213135 0.036 0.036 model.py:384(makeNewReaction)
972411704 55.998 55.998 model.py:504(enlarge)
725 0.000 0.000 model.py:779(printEnlargeSummary)
1276 0.000 0.000 model.py:1031(getModelSize)
2 0.000 0.000 model.py:1086(addSeedMechanismToCore)
4 0.000 0.000 model.py:1127(addReactionLibraryToEdge)
84749 0.013 0.013 model.py:1198(addReactionToUnimolecularNetworks)
43678774188 2486.316 2486.316 model.py:1250(updateUnimolecularReactionNetworks)
1078 0.000 0.000 molecule_draw.py:117(render)
5638 0.001 0.001 molecule_draw.py:267(renderAtom)
1641 0.000 0.000 molecule_draw.py:539(findLongestPath)
1083 0.000 0.000 molecule_draw.py:558(findBackbone)
670 0.000 0.000 molecule_draw.py:607(generateCoordinates)
396 0.000 0.000 molecule_draw.py:700(generateStraightChainCoordinates)
1254 0.000 0.000 molecule_draw.py:768(generateNeighborCoordinates)
72 0.000 0.000 molecule_draw.py:847(generateRingSystemCoordinates)
34 0.000 0.000 molecule_draw.py:989(generateFunctionalGroupCoordinates)
1381 0.000 0.000 molecule_draw.py:1111(drawMolecule)
13772 0.002 0.002 network.py:372(calculateDensitiesOfStates)
1554 0.000 0.000 network.py:456(calculateGroundStateEnergies)
518 0.000 0.000 network.py:474(calculateFirstReactiveEnergies)
12411 0.002 0.002 network.py:488(mapDensitiesOfStates)
16548 0.002 0.002 network.py:508(calculateMicrocanonicalRates)
4136 0.001 0.001 network.py:626(calculateDeltaEDown)
19112 0.003 0.003 network.py:651(calculateEquilibriumRatios)
41360 0.006 0.006 network.py:674(calculateCollisionModel)
66180 0.006 0.006 network.py:725(setConditions)
62040 0.011 0.011 network.py:775(applyModifiedStrongCollisionMethod)
2590 0.000 0.000 network.py:817(calculateRateCoefficients)
378 0.000 0.000 nodes.py:62(__new__)
72822 0.009 0.009 nodes.py:126(__init__)
7 0.000 0.000 nonlin.py:1429(_nonlin_wrapper)
132346 0.018 0.018 optimize.py:46(is_array_scalar)
18654 0.002 0.002 output.py:64(writeStates)
8359 0.002 0.002 output.py:138(writeSpecies)
518 0.000 0.000 output.py:235(writeFile)
10335 0.001 0.001 parser.py:468(parse_concat)
1272 0.000 0.000 parser.py:688(parse_subscript)
20543956 1.562 1.562 pdep.py:98(getLeakCoefficient)
763 0.000 0.000 pdep.py:128(getMaximumLeakSpecies)
425 0.000 0.000 pdep.py:231(merge)
31953985 2.283 2.283 pdep.py:293(updateConfigurations)
6505068 0.476 0.476 pdep.py:352(update)
2 0.000 0.000 posixpath.py:80(split)
187 0.000 0.000 posixpath.py:118(dirname)
38 0.000 0.000 re.py:226(_compile)
1231133 0.221 0.221 runtime.py:270(__init__)
264692 0.033 0.033 shape_base.py:6(atleast_1d)
600 0.000 0.000 sre_compile.py:32(_compile)
54 0.000 0.000 sre_compile.py:207(_optimize_charset)
140 0.000 0.000 sre_compile.py:361(_compile_info)
434 0.000 0.000 sre_parse.py:126(__len__)
1796 0.000 0.000 sre_parse.py:182(__next)
5 0.000 0.000 sre_parse.py:225(_class_escape)
103 0.000 0.000 sre_parse.py:257(_escape)
126 0.000 0.000 sre_parse.py:301(_parse_sub)
103 0.000 0.000 sre_parse.py:379(_parse)
5721 0.001 0.001 states.py:305(getStatesData)
2780 0.000 0.000 statesfit.py:80(fitStatesToHeatCapacity)
1244 0.000 0.000 statesfit.py:141(fitStatesDirect)
92 0.000 0.000 statesfit.py:197(fitStatesPseudoRotors)
6 0.000 0.000 statesfit.py:248(fitStatesPseudo)
98773 0.023 0.023 statesfit.py:383(evaluate)
184000 0.023 0.023 statesfit.py:424(evaluate)
3000 0.001 0.001 statesfit.py:474(evaluate)
2646202 0.329 0.329 thermo.py:775(__addThermoData)
1 0.000 0.000 utils.py:460(__setitem__)
model.py:68(generateThermoData) <- 16 0.001 0.178 main.py:212(initialize)
33018 1.465 1551.695 model.py:504(enlarge)
38 0.002 0.707 model.py:1086(addSeedMechanismToCore)
15 0.001 0.197 model.py:1127(addReactionLibraryToEdge)
main.py:446(saveEverything) <- 158 0.002 1407.628 main.py:309(execute)
pdep.py:352(update) <- 3289804 40.901 1361.483 model.py:1250(updateUnimolecularReactionNetworks)
thermo.py:534(getThermoData) <- 33087 0.312 1133.450 model.py:68(generateThermoData)
model.py:484(react) <- 10395 0.088 1057.795 model.py:504(enlarge)
700 0.006 53.539 pdep.py:185(exploreIsomer)
kinetics.py:3110(generateReactions) <- 15551 0.060 1111.206 model.py:484(react)
kinetics.py:3156(generateReactionsFromFamilies) <- 15551 0.634 1047.278 kinetics.py:3110(generateReactions)
kinetics.py:2365(generateReactions) <- 342122 7.535 1046.575 kinetics.py:3156(generateReactionsFromFamilies)
output.py:52(saveOutputHTML) <- 1 0.003 0.075 main.py:212(initialize)
158 1.488 962.130 main.py:600(saveOutputHTML)
main.py:600(saveOutputHTML) <- 158 0.017 962.161 main.py:446(saveEverything)
environment.py:879(render) <- 159 0.002 936.790 output.py:52(saveOutputHTML)
{method 'join' of 'unicode' objects} <- 9699 0.003 0.003 compiler.py:1212(visit_Output)
159 5.944 936.785 environment.py:879(render)
1 0.000 0.000 utils.py:10(<module>)
thermo.py:604(getThermoDataFromGroups) <- 32907 1.029 926.686 thermo.py:534(getThermoData)
thermo.py:635(estimateThermoViaGroupAdditivity) <- 54809 3.580 922.808 thermo.py:604(getThermoDataFromGroups)
51646 8.023 745.348 thermo.py:635(estimateThermoViaGroupAdditivity)
kinetics.py:2471(__generateReactions) <- 682203 17.467 652.823 kinetics.py:2365(generateReactions)
42553 4.264 253.842 kinetics.py:2445(calculateDegeneracy)
chemkin.py:893(writeKineticsEntry) <- 11060 0.257 1.109 chemkin.py:893(writeKineticsEntry)
615487 21.328 428.325 chemkin.py:1075(saveChemkinFile)
615487 20.441 436.111 {method 'toChemkin' of 'rmgpy.reaction.Reaction' objects}
network.py:817(calculateRateCoefficients) <- 518 5.415 844.083 pdep.py:352(update)
runtime.py:163(call) <- 9774438 13.182 822.427 <template>:5(root)
chemkin.py:763(getSpeciesIdentifier) <- 17889 0.069 1.845 chemkin.py:818(writeThermoEntry)
9761604 34.325 772.233 chemkin.py:893(writeKineticsEntry)
17889 0.072 1.835 chemkin.py:1065(saveSpeciesDictionary)
17889 0.072 1.864 chemkin.py:1075(saveChemkinFile)
{method 'getFormula' of 'rmgpy.molecule.Molecule' objects} <- 4229733 631.140 693.277 chemkin.py:763(getSpeciesIdentifier)
178138 33.886 37.921 model.py:222(checkForExistingSpecies)
33087 7.280 7.853 model.py:252(makeNewSpecies)
Ordered by: cumulative time
List reduced from 1953 to 25 due to restriction <25>
Function called...
ncalls tottime cumtime
main.py:309(execute) -> 157 0.001 0.002 __init__.py:98(__init__)
157 0.000 0.005 __init__.py:366(get_memory_info)
1734 0.004 0.176 __init__.py:1594(info)
157 0.001 0.002 genericpath.py:15(exists)
1 0.005 118.001 main.py:212(initialize)
158 0.002 1407.628 main.py:446(saveEverything)
157 0.084 4.144 main.py:643(saveExecutionStatistics)
158 422.833 46115.275 model.py:504(enlarge)
157 0.000 0.001 model.py:1031(getModelSize)
150 0.001 0.014 pdep.py:128(getMaximumLeakSpecies)
157 0.001 0.001 posixpath.py:60(join)
255 0.000 0.000 {isinstance}
1354 0.000 0.000 {method 'append' of 'list' objects}
474 13635.259 14360.285 {method 'simulate' of 'rmgpy.solver.base.ReactionSystem' objects}
157 0.000 0.000 {posix.getpid}
157 0.001 0.001 {time.gmtime}
157 0.002 0.002 {time.strftime}
157 0.000 0.000 {time.time}
model.py:504(enlarge) -> 749 0.002 0.101 __init__.py:1594(info)
110 0.000 0.000 display.py:36(do_nothing)
33018 1.465 1551.695 model.py:68(generateThermoData)
10395 0.088 1057.795 model.py:484(react)
812 34.667 708.131 model.py:649(processNewReactions)
93432 0.557 328.779 model.py:703(generateKinetics)
159 0.154 8.387 model.py:779(printEnlargeSummary)
111 19.679 26.814 model.py:824(addSpeciesToCore)
160 38084.212 41975.686 model.py:1250(updateUnimolecularReactionNetworks)
701 0.008 53.662 pdep.py:185(exploreIsomer)
3848437 21.837 26.811 pdep.py:293(updateConfigurations)
21467 0.391 0.391 {delattr}
21467 0.009 0.009 {hasattr}
187790 0.049 0.049 {isinstance}
972411704 55.998 55.998 {len}
94 0.000 0.000 {method 'append' of 'list' objects}
11025 0.007 0.007 {method 'extend' of 'list' objects}
93432 0.980 1.916 {method 'fixBarrierHeight' of 'rmgpy.reaction.Reaction' objects}
111 0.001 0.001 {method 'format' of 'str' objects}
model.py:1250(updateUnimolecularReactionNetworks) -> 11 0.000 0.002 __init__.py:1584(warning)
225 0.001 0.056 __init__.py:1594(info)
44 0.000 0.000 __init__.py:1602(debug)
65 0.004 0.004 pdep.py:231(merge)
3289804 40.901 1361.483 pdep.py:352(update)
214354576 41.754 41.754 {isinstance}
43678774188 2486.316 2486.316 {len}
280 0.002 0.002 {method 'format' of 'str' objects}
1172 0.011 0.011 {method 'getEquilibriumConstant' of 'rmgpy.reaction.Reaction' objects}
2344 0.165 0.165 {method 'getRateCoefficient' of 'rmgpy.reaction.Reaction' objects}
282 0.000 0.000 {method 'insert' of 'list' objects}
933 1.681 1.681 {method 'remove' of 'list' objects}
160 0.000 0.000 {sum}
{method 'simulate' of 'rmgpy.solver.base.ReactionSystem' objects} -> 2037 0.006 0.595 __init__.py:1594(info)
2490014 2.351 38.704 fromnumeric.py:683(argmax)
1245007 2.935 13.264 fromnumeric.py:1379(sum)
60457854 77.131 624.981 numeric.py:65(zeros_like)
948 0.006 0.078 numeric.py:1791(ones)
9744177 19.197 47.403 pdep.py:98(getLeakCoefficient)
{len} -> 119 0.000 0.000 sre_parse.py:126(__len__)
model.py:68(generateThermoData) -> 33086 0.098 2.071 __init__.py:1610(log)
33086 0.049 0.184 fromnumeric.py:1379(sum)
33087 0.312 1133.450 thermo.py:534(getThermoData)
99260 0.065 0.065 {isinstance}
99257 0.015 0.015 {len}
33086 0.011 0.011 {math.sqrt}
33084 5.004 5.004 {method 'countInternalRotors' of 'rmgpy.molecule.Molecule' objects}
33086 0.265 0.265 {method 'format' of 'str' objects}
33087 0.030 0.030 {method 'getEnthalpy' of 'rmgpy.thermo.Wilhoit' objects}
66172 3.371 5.140 {method 'getHeatCapacities' of 'rmgpy.thermo.ThermoModel' objects}
33084 3.604 3.604 {method 'isLinear' of 'rmgpy.molecule.Molecule' objects}
55010 1.079 1.079 {method 'makeHydrogensExplicit' of 'rmgpy.molecule.Molecule' objects}
55008 0.803 0.803 {method 'makeHydrogensImplicit' of 'rmgpy.molecule.Molecule' objects}
33086 0.345 0.345 {numpy.core.multiarray.array}
66173 12.449 399.203 {rmgpy.thermo.convertThermoModel}
33087 0.041 0.041 {zip}
main.py:446(saveEverything) -> 158 0.017 962.161 main.py:600(saveOutputHTML)
158 0.017 445.465 main.py:608(saveChemkinFile)
pdep.py:352(update) -> 17 0.000 0.003 __init__.py:1584(warning)
17 0.000 0.002 __init__.py:1594(info)
3289804 19.019 25.606 main.py:109(copy)
518 0.005 6.914 main.py:183(saveInput)
3420 0.013 394.018 model.py:121(generateStatesData)
3999 0.013 0.082 model.py:455(makeNewPDepReaction)
1077 1.362 1.362 model.py:1008(addReactionToCore)
2922 3.767 3.768 model.py:1020(addReactionToEdge)
518 0.064 1.561 network.py:257(printSummary)
518 5.415 844.083 network.py:817(calculateRateCoefficients)
3999 0.014 0.014 pdep.py:57(__init__)
3289804 20.016 24.794 pdep.py:293(updateConfigurations)
518 0.003 0.004 posixpath.py:60(join)
7998 0.002 0.002 {all}
12088 0.003 0.003 {isinstance}
6505068 0.476 0.476 {len}
3999 0.001 0.001 {method 'append' of 'list' objects}
1551 0.001 0.001 {method 'extend' of 'list' objects}
552 0.003 0.003 {method 'format' of 'str' objects}
569 0.009 0.009 {method 'getEquilibriumConstant' of 'rmgpy.reaction.Reaction' objects}
950 0.002 0.002 {method 'getRateCoefficient' of 'rmgpy.kinetics.Arrhenius' objects}
50178 0.057 0.057 {method 'hasTemplate' of 'rmgpy.reaction.Reaction' objects}
517 0.001 0.001 {method 'index' of 'list' objects}
81491 0.012 0.012 {method 'isIsomerization' of 'rmgpy.reaction.Reaction' objects}
3682263 0.368 0.368 {method 'isPressureDependent' of 'rmgpy.kinetics.Arrhenius' objects}
517 0.000 0.000 {range}
5446 16.172 17.436 {rmgpy.measure.reaction.fitInterpolationModel}
6044 0.002 0.002 {sum}
thermo.py:534(getThermoData) -> 99070 11.887 206.451 thermo.py:589(getThermoDataFromLibrary)
32907 1.029 926.686 thermo.py:604(getThermoDataFromGroups)
model.py:484(react) -> 15551 0.060 1111.206 kinetics.py:3110(generateReactions)
30118 0.016 0.016 {method 'clearLabeledAtoms' of 'rmgpy.molecule.Molecule' objects}
15551 0.005 0.005 {method 'extend' of 'list' objects}
30118 0.014 0.014 {method 'makeHydrogensImplicit' of 'rmgpy.molecule.Molecule' objects}
kinetics.py:3110(generateReactions) -> 15551 0.088 63.861 kinetics.py:3121(generateReactionsFromLibraries)
15551 0.634 1047.278 kinetics.py:3156(generateReactionsFromFamilies)
31102 0.008 0.008 {method 'extend' of 'list' objects}
kinetics.py:3156(generateReactionsFromFamilies) -> 342122 7.535 1046.575 kinetics.py:2365(generateReactions)
342122 0.062 0.062 {method 'extend' of 'list' objects}
15551 0.006 0.006 {method 'iteritems' of 'dict' objects}
kinetics.py:2365(generateReactions) -> 148271 0.482 0.482 kinetics.py:130(__init__)
42553 1.307 262.474 kinetics.py:2445(calculateDegeneracy)
682203 17.467 652.823 kinetics.py:2471(__generateReactions)
148271 0.681 0.950 kinetics.py:2630(getReactionPairs)
148271 0.222 104.819 kinetics.py:2695(getReactionTemplate)
29061 1.503 17.334 kinetics.py:2877(filterReactions)
119210 0.128 0.128 {hasattr}
29061 0.003 0.003 {len}
148271 0.027 0.027 {method 'append' of 'list' objects}
output.py:52(saveOutputHTML) -> 1 0.003 0.027 __init__.py:28(<module>)
159 0.002 0.007 environment.py:217(__init__)
159 0.001 7.305 environment.py:763(from_string)
159 0.002 936.790 environment.py:879(render)
17889 0.017 0.149 genericpath.py:15(exists)
159 0.000 0.004 genericpath.py:38(isdir)
73282 0.014 0.014 kinetics.py:114(getSource)
447513 0.084 0.084 kinetics.py:141(getSource)
1 0.000 0.000 molecule_draw.py:86(<module>)
148 0.015 0.633 molecule_draw.py:1111(drawMolecule)
18048 0.038 0.055 posixpath.py:60(join)
159 0.000 0.001 posixpath.py:118(dirname)
159 0.000 0.003 posixpath.py:341(abspath)
318 0.000 0.002 re.py:188(compile)
615487 0.143 0.143 {isinstance}
159 0.906 0.906 {method 'close' of 'file' objects}
17889 0.034 0.034 {method 'format' of 'str' objects}
159 0.000 0.000 {method 'keys' of 'dict' objects}
17889 0.012 0.012 {method 'search' of '_sre.SRE_Pattern' objects}
159 0.000 0.000 {method 'sort' of 'list' objects}
159 14.361 14.361 {method 'write' of 'file' objects}
159 0.187 0.187 {open}
main.py:600(saveOutputHTML) -> 158 0.000 0.013 __init__.py:1594(info)
158 1.488 962.130 output.py:52(saveOutputHTML)
158 0.001 0.001 posixpath.py:60(join)
environment.py:879(render) -> 159 0.000 0.004 environment.py:920(new_context)
159 5.944 936.785 {method 'join' of 'unicode' objects}
{method 'join' of 'unicode' objects} -> 67962 0.523 10.123 <template>:5(root)
1 0.000 0.000 utils.py:47(_test_gen_bug)
thermo.py:604(getThermoDataFromGroups) -> 54809 3.580 922.808 thermo.py:635(estimateThermoViaGroupAdditivity)
54809 0.013 0.013 {method 'append' of 'list' objects}
32907 0.077 0.077 {method 'argsort' of 'numpy.ndarray' objects}
54809 0.081 0.081 {method 'clearLabeledAtoms' of 'rmgpy.molecule.Molecule' objects}
54809 1.090 1.090 {method 'getEnthalpy' of 'rmgpy.thermo.ThermoData' objects}
54809 0.015 0.015 {method 'makeHydrogensExplicit' of 'rmgpy.molecule.Molecule' objects}
54809 1.159 1.159 {method 'updateAtomTypes' of 'rmgpy.molecule.Molecule' objects}
32907 0.390 0.390 {numpy.core.multiarray.array}
32907 0.024 0.024 {zip}
thermo.py:635(estimateThermoViaGroupAdditivity) -> 51646 8.023 745.348 thermo.py:635(estimateThermoViaGroupAdditivity)
1323101 34.463 39.723 thermo.py:775(__addThermoData)
1956275 20.629 723.196 thermo.py:793(__getGroupThermoData)
158101 0.130 0.130 {math.log}
284830 0.164 0.164 {method 'addAtom' of 'rmgpy.molecule.Molecule' objects}
340568 0.165 0.165 {method 'addBond' of 'rmgpy.molecule.Molecule' objects}
114546 0.022 0.022 {method 'append' of 'list' objects}
106455 139.558 139.558 {method 'calculateSymmetryNumber' of 'rmgpy.molecule.Molecule' objects}
51646 2.434 2.434 {method 'copy' of 'rmgpy.molecule.Molecule' objects}
229092 0.045 0.045 {method 'decrementRadical' of 'rmgpy.molecule.Atom' objects}
111476 0.028 0.028 {method 'getBond' of 'rmgpy.molecule.Molecule' objects}
54809 2.542 2.542 {method 'getSmallestSetOfSmallestRings' of 'rmgpy.graph.Graph' objects}
200980 0.049 0.049 {method 'hasBond' of 'rmgpy.molecule.Molecule' objects}
114546 0.023 0.023 {method 'incrementRadical' of 'rmgpy.molecule.Atom' objects}
863381 0.150 0.150 {method 'isNonHydrogen' of 'rmgpy.molecule.Atom' objects}
106455 0.039 0.039 {method 'makeHydrogensExplicit' of 'rmgpy.molecule.Molecule' objects}
114546 0.268 0.268 {method 'removeAtom' of 'rmgpy.molecule.Molecule' objects}
114546 0.061 0.061 {method 'removeBond' of 'rmgpy.molecule.Molecule' objects}
158101 0.696 0.696 {method 'sortVertices' of 'rmgpy.graph.Graph' objects}
51646 0.960 0.960 {method 'updateAtomTypes' of 'rmgpy.molecule.Molecule' objects}
161848 0.712 0.712 {method 'updateConnectivityValues' of 'rmgpy.graph.Graph' objects}
818284 0.181 0.181 {range}
106455 0.058 0.058 {sum}
kinetics.py:2471(__generateReactions) -> 698369 12.923 495.598 kinetics.py:2236(__generateProductStructures)
628925 11.511 237.191 kinetics.py:2304(__createReaction)
1297151 4.074 36.830 kinetics.py:2346(__matchReactantToTemplate)
1406697 0.587 0.587 {isinstance}
11671821 0.982 0.982 {len}
628361 0.151 0.151 {method 'append' of 'list' objects}
1406697 16.680 16.680 {method 'copy' of 'rmgpy.molecule.Molecule' objects}
570137 53.750 53.750 {method 'generateResonanceIsomers' of 'rmgpy.molecule.Molecule' objects}
4619836 31.520 31.520 {method 'isIsomorphic' of 'rmgpy.molecule.Molecule' objects}
730384 0.435 0.435 {method 'lower' of 'str' objects}
1406697 9.812 9.812 {method 'makeHydrogensExplicit' of 'rmgpy.molecule.Molecule' objects}
316908 0.113 0.113 {method 'remove' of 'list' objects}
730384 0.408 0.408 {method 'startswith' of 'str' objects}
2131453 0.876 0.876 {range}
chemkin.py:893(writeKineticsEntry) -> 9761604 34.325 772.233 chemkin.py:763(getSpeciesIdentifier)
11060 0.257 1.109 chemkin.py:893(writeKineticsEntry)
11060 0.039 0.039 kinetics.py:102(__init__)
1251182 0.213 0.213 {any}
198548 0.245 0.245 {hasattr}
8773940 2.944 2.944 {isinstance}
1236662 0.160 0.160 {len}
189384 0.445 0.445 {method 'copy' of 'numpy.ndarray' objects}
17215535 28.200 28.472 {method 'format' of 'str' objects}
1360198 13.542 13.542 {method 'isIsomorphic' of 'rmgpy.molecule.Molecule' objects}
1032742 0.235 0.235 {method 'isPressureDependent' of 'rmgpy.kinetics.Arrhenius' objects}
189384 0.049 0.049 {method 'isPressureDependent' of 'rmgpy.kinetics.Chebyshev' objects}
9164 0.002 0.002 {method 'isPressureDependent' of 'rmgpy.kinetics.PDepArrhenius' objects}
5372 0.002 0.002 {method 'isPressureDependent' of 'rmgpy.kinetics.ThirdBody' objects}
5372 0.002 0.002 {method 'iteritems' of 'dict' objects}
4593952 1.504 1.504 {method 'join' of 'str' objects}
1041590 1.670 1.670 {method 'split' of 'str' objects}
1325688 0.631 0.631 {range}
9164 0.024 0.024 {zip}
network.py:817(calculateRateCoefficients) -> 518 0.001 0.080 __init__.py:1594(info)
7079 0.008 0.019 __init__.py:1602(debug)
20680 0.055 0.109 __init__.py:1610(log)
1036 0.001 0.005 fromnumeric.py:1774(amax)
1036 0.001 0.011 fromnumeric.py:1836(amin)
518 0.007 540.522 network.py:702(initialize)
20681 0.743 85.752 network.py:725(setConditions)
20680 0.393 211.950 network.py:775(applyModifiedStrongCollisionMethod)
2590 0.000 0.000 {len}
6562 0.039 0.040 {method 'format' of 'str' objects}
20680 0.023 0.023 {method 'lower' of 'str' objects}
518 0.006 0.006 {numpy.core.multiarray.zeros}
370360 0.151 0.151 {range}
runtime.py:163(call) -> 366410 0.122 0.122 kinetics.py:114(getSource)
2237565 0.761 0.761 kinetics.py:141(getSource)
473460 0.200 0.200 pdep.py:61(getSource)
9232305 6.812 6.812 {getattr}
9774438 5.110 5.110 {isinstance}
2425271 5.461 5.461 {method 'getMolecularWeight' of 'rmgpy.molecule.Molecule' objects}
2425271 100.699 123.501 {method 'getURL' of 'rmgpy.molecule.Molecule' objects}
615487 102.656 125.205 {method 'getURL' of 'rmgpy.reaction.Reaction' objects}
615487 2.960 439.071 {method 'toChemkin' of 'rmgpy.reaction.Reaction' objects}
615487 83.319 103.001 {method 'toHTML' of 'rmgpy.kinetics.KineticsModel' objects}
chemkin.py:763(getSpeciesIdentifier) -> 9813217 8.085 34.517 re.py:139(search)
26119620 3.075 3.075 {len}
12074616 12.371 12.371 {method 'format' of 'str' objects}
4229733 631.140 693.277 {method 'getFormula' of 'rmgpy.molecule.Molecule' objects}
{method 'getFormula' of 'rmgpy.molecule.Molecule' objects} -> 4440958 5.179 11.805 openbabel.py:2246(__init__)
4440958 5.733 12.295 pybel.py:195(__init__)
4440958 3.979 42.645 pybel.py:222(formula)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment