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.001132/0.001132, allocations: 109.3 kB / 16.41 MB, free: 6.465 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.001132/0.001132, allocations: 187 kB / 17.34 MB, free: 5.719 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07452/0.07452, allocations: 15.3 MB / 306.5 MB, free: 15.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 425.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09291, allocations: 53.62 MB / 479.5 MB, free: 5.762 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.03179/0.1247, allocations: 22.74 MB / 0.4904 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006612/0.1314, allocations: 6.284 MB / 0.4966 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.1317, allocations: 7.938 kB / 0.4966 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.1322, allocations: 170.8 kB / 0.4967 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00062/0.1329, allocations: 246.1 kB / 0.497 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.135, allocations: 0.9742 MB / 0.4979 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006324/0.1356, allocations: 0.4983 MB / 0.4984 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.1359, allocations: 212.7 kB / 0.4986 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.1362, allocations: 251.2 kB / 0.4989 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003312/0.1365, allocations: 259.1 kB / 0.4991 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.288e-05/0.1366, allocations: 28 kB / 0.4991 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.1379, allocations: 0.5499 MB / 0.4997 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.138, allocations: 95.67 kB / 0.4998 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1382, allocations: 206.9 kB / 0.5 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.1397, allocations: 1.063 MB / 0.501 GB, free: 4.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1397, allocations: 0 / 0.501 GB, free: 4.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1397, allocations: 0 / 0.501 GB, free: 4.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1397, allocations: 0 / 0.501 GB, free: 4.246 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.001039/0.1408, allocations: 0.8023 MB / 0.5018 GB, free: 3.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1408, allocations: 8.031 kB / 0.5018 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005151/0.1413, allocations: 120.2 kB / 0.5019 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.1418, allocations: 383.8 kB / 0.5023 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1419, allocations: 20.94 kB / 0.5023 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.1419, allocations: 32.06 kB / 0.5023 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/0.1425, allocations: 446.1 kB / 0.5027 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1425, allocations: 0 / 0.5027 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.1426, allocations: 12 kB / 0.5028 GB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1426, allocations: 8 kB / 0.5028 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.1434, allocations: 0.5794 MB / 0.5033 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2173/0.3607, allocations: 1.75 MB / 0.505 GB, free: 33.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.3611, allocations: 141.2 kB / 0.5052 GB, free: 33.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.3613, allocations: 82.77 kB / 0.5053 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002107/0.3634, allocations: 1.871 MB / 0.5071 GB, free: 31.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.3634, allocations: 32.73 kB / 0.5071 GB, free: 31.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3634, allocations: 3.719 kB / 0.5071 GB, free: 31.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004275/0.3639, allocations: 190.2 kB / 0.5073 GB, free: 31.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.3639, allocations: 57.14 kB / 0.5074 GB, free: 31.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.3644, allocations: 434.1 kB / 0.5078 GB, free: 31.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3644, allocations: 29.58 kB / 0.5078 GB, free: 31.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.3645, allocations: 260.5 kB / 0.508 GB, free: 31.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.3646, allocations: 34.89 kB / 0.5081 GB, free: 31.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3647, allocations: 79.38 kB / 0.5082 GB, free: 31.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.3648, allocations: 348.5 kB / 0.5085 GB, free: 30.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3649, allocations: 68.45 kB / 0.5085 GB, free: 30.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.3651, allocations: 289.2 kB / 0.5088 GB, free: 30.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.3655, allocations: 390.5 kB / 0.5092 GB, free: 30.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3655, allocations: 2.562 kB / 0.5092 GB, free: 30.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005787/0.3661, allocations: 397.1 kB / 0.5096 GB, free: 30.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.3661, allocations: 11.91 kB / 0.5096 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.3662, allocations: 8.344 kB / 0.5096 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.3662, allocations: 9.625 kB / 0.5096 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.3665, allocations: 87.62 kB / 0.5097 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.3665, allocations: 15.41 kB / 0.5097 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.3667, allocations: 49.27 kB / 0.5098 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.3668, allocations: 26.42 kB / 0.5098 GB, free: 30.18 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.0001228/0.3669, allocations: 167.5 kB / 0.5099 GB, free: 30.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.367, allocations: 37.58 kB / 0.51 GB, free: 30.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.3674, allocations: 251 kB / 0.5102 GB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3674, allocations: 1.469 kB / 0.5102 GB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3674, allocations: 0 / 0.5102 GB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3674, allocations: 0.6562 kB / 0.5102 GB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.3679, allocations: 0.5317 MB / 0.5107 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.3679, allocations: 4.062 kB / 0.5107 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.3679, allocations: 2.047 kB / 0.5107 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3679, allocations: 0 / 0.5107 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.3679, allocations: 1.406 kB / 0.5107 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3679, allocations: 0.6562 kB / 0.5107 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.368, allocations: 2.688 kB / 0.5107 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.3681, allocations: 117.8 kB / 0.5109 GB, free: 29.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.3681, allocations: 118.1 kB / 0.511 GB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.3682, allocations: 1.672 kB / 0.511 GB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.3683, allocations: 3.812 kB / 0.511 GB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.3683, allocations: 4.297 kB / 0.511 GB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3683, allocations: 0 / 0.511 GB, free: 29.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003662/0.3687, allocations: 361.5 kB / 0.5113 GB, free: 29.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3687, allocations: 0 / 0.5113 GB, free: 29.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005752/0.3693, allocations: 173 kB / 0.5115 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.0005007/0.3698, allocations: 296.5 kB / 0.5118 GB, free: 29.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.3701, allocations: 163.1 kB / 0.5119 GB, free: 28.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3701, allocations: 4 kB / 0.5119 GB, free: 28.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.3701, allocations: 13.62 kB / 0.5119 GB, free: 28.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.3706, allocations: 92.95 kB / 0.512 GB, free: 28.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.3714, allocations: 0.5622 MB / 0.5126 GB, free: 28.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.3716, allocations: 0.7888 MB / 0.5134 GB, free: 27.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.3718, allocations: 65.8 kB / 0.5134 GB, free: 27.9 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3718, allocations: 2.656 kB / 0.5134 GB, free: 27.9 MB / 382.1 MB Notification: Performance of Templates: time 0.01122/0.383, allocations: 6.119 MB / 0.5194 GB, free: 27.64 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)