Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-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(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008693/0.008693, allocations: 100.3 kB / 15.73 MB, free: 6.012 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.001371/0.001371, allocations: 185.8 kB / 16.67 MB, free: 5.934 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.446/1.446, allocations: 222.9 MB / 240.3 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09419/0.09419, allocations: 15.3 MB / 305.8 MB, free: 15.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 425.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1297, allocations: 53.6 MB / 478.8 MB, free: 5.891 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG): time 0.03731/0.167, allocations: 22.78 MB / 0.4898 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008513/0.1756, allocations: 6.292 MB / 0.4959 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007326/0.1763, allocations: 7.938 kB / 0.496 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007357/0.1771, allocations: 158.8 kB / 0.4961 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.1782, allocations: 250 kB / 0.4963 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.1811, allocations: 0.9665 MB / 0.4973 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009803/0.1821, allocations: 0.4982 MB / 0.4978 GB, free: 7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.1825, allocations: 196.8 kB / 0.498 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.1829, allocations: 247.2 kB / 0.4982 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005384/0.1835, allocations: 267 kB / 0.4985 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.1836, allocations: 28 kB / 0.4985 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.1854, allocations: 0.5538 MB / 0.499 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.1856, allocations: 95.66 kB / 0.4991 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.1859, allocations: 206.9 kB / 0.4993 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.1885, allocations: 1.066 MB / 0.5003 GB, free: 4.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1885, allocations: 4 kB / 0.5004 GB, free: 4.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1886, allocations: 0 / 0.5004 GB, free: 4.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.392e-05/0.1886, allocations: 0 / 0.5004 GB, free: 4.344 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001732/0.1903, allocations: 0.8091 MB / 0.5011 GB, free: 3.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.1904, allocations: 8.031 kB / 0.5012 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006527/0.191, allocations: 120.3 kB / 0.5013 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/0.1917, allocations: 400 kB / 0.5016 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.1918, allocations: 20.94 kB / 0.5017 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.1918, allocations: 28.12 kB / 0.5017 GB, free: 2.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.1925, allocations: 446.1 kB / 0.5021 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1926, allocations: 0 / 0.5021 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.1926, allocations: 12 kB / 0.5021 GB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1926, allocations: 8 kB / 0.5021 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008757/0.1935, allocations: 0.5755 MB / 0.5027 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3164/0.5099, allocations: 1.758 MB / 0.5044 GB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.5105, allocations: 139.2 kB / 0.5046 GB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.5107, allocations: 83.14 kB / 0.5046 GB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002368/0.513, allocations: 1.877 MB / 0.5065 GB, free: 31.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.5131, allocations: 37.94 kB / 0.5065 GB, free: 31.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.053e-06/0.5131, allocations: 0.75 kB / 0.5065 GB, free: 31.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005045/0.5136, allocations: 190.2 kB / 0.5067 GB, free: 31.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.5136, allocations: 53.8 kB / 0.5067 GB, free: 31.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.5143, allocations: 432.8 kB / 0.5071 GB, free: 31.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.5143, allocations: 29.02 kB / 0.5072 GB, free: 31.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.5145, allocations: 264.2 kB / 0.5074 GB, free: 31.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.5145, allocations: 39.19 kB / 0.5075 GB, free: 31.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.5147, allocations: 84.64 kB / 0.5075 GB, free: 31.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5148, allocations: 348.5 kB / 0.5079 GB, free: 30.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.5149, allocations: 69.97 kB / 0.5079 GB, free: 30.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.5152, allocations: 283.4 kB / 0.5082 GB, free: 30.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.5157, allocations: 390.7 kB / 0.5086 GB, free: 30.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.5157, allocations: 6.156 kB / 0.5086 GB, free: 30.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006514/0.5163, allocations: 389.6 kB / 0.509 GB, free: 30.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.5164, allocations: 12.28 kB / 0.509 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.5164, allocations: 7.969 kB / 0.509 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.5164, allocations: 13.55 kB / 0.509 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.5167, allocations: 88.98 kB / 0.5091 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/0.5168, allocations: 12.45 kB / 0.5091 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.517, allocations: 46.67 kB / 0.5091 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.5171, allocations: 31.69 kB / 0.5092 GB, free: 30.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001685/0.5173, allocations: 171.5 kB / 0.5093 GB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.5173, allocations: 38.11 kB / 0.5094 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.5178, allocations: 246.6 kB / 0.5096 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5178, allocations: 0.75 kB / 0.5096 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5178, allocations: 3.75 kB / 0.5096 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.5179, allocations: 0 / 0.5096 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.5184, allocations: 0.5355 MB / 0.5101 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5184, allocations: 1.25 kB / 0.5101 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.5184, allocations: 1.984 kB / 0.5101 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5185, allocations: 4.531 kB / 0.5101 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.5185, allocations: 0 / 0.5101 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5185, allocations: 0 / 0.5101 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5185, allocations: 1.281 kB / 0.5101 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.5186, allocations: 122.3 kB / 0.5103 GB, free: 29.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.5187, allocations: 116.6 kB / 0.5104 GB, free: 29.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.5187, allocations: 7.781 kB / 0.5104 GB, free: 29.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.5188, allocations: 1.344 kB / 0.5104 GB, free: 29.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.5189, allocations: 2.031 kB / 0.5104 GB, free: 29.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.5189, allocations: 0 / 0.5104 GB, free: 29.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00039/0.5193, allocations: 364.6 kB / 0.5107 GB, free: 29.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5193, allocations: 0 / 0.5107 GB, free: 29.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006106/0.5199, allocations: 182.2 kB / 0.5109 GB, free: 29.13 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0005117/0.5204, allocations: 296.6 kB / 0.5112 GB, free: 29.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.5207, allocations: 164.7 kB / 0.5113 GB, free: 28.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5207, allocations: 5.219 kB / 0.5113 GB, free: 28.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.738e-05/0.5207, allocations: 10.03 kB / 0.5114 GB, free: 28.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.5212, allocations: 90.36 kB / 0.5114 GB, free: 28.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/0.5222, allocations: 0.5478 MB / 0.512 GB, free: 28.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.5225, allocations: 0.7823 MB / 0.5127 GB, free: 27.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002821/0.5228, allocations: 98.22 kB / 0.5128 GB, free: 27.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.689e-05/0.5229, allocations: 52.42 kB / 0.5129 GB, free: 27.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5229, allocations: 0 / 0.5129 GB, free: 27.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01431/0.5372, allocations: 6.379 MB / 0.5191 GB, free: 27.61 MB / 382.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1)