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/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.1039/0.1039, allocations: 15.26 MB / 30.21 MB, free: 3.297 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 181.2 kB / 35.29 MB, free: 2.383 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 263.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 104.2 kB / 318.8 MB, free: 3.457 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003563, allocations: 8.75 kB / 383.9 MB, free: 50.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1078, allocations: 54.65 MB / 438.6 MB, free: 404 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4187/0.5266, allocations: 95.33 MB / 0.5214 GB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.5269, allocations: 71.55 kB / 0.5215 GB, free: 11.09 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System A.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sources.PureSubstance. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:1535:7-1535:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System reaction.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sensors.DissociationCoefficient$reaction. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System B.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sources.PureSubstance. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.03107/0.558, allocations: 12.41 MB / 0.5336 GB, free: 26.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.558, allocations: 3.938 kB / 0.5336 GB, free: 26.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.305e-05/0.558, allocations: 11.06 kB / 0.5336 GB, free: 26.04 MB / 394.7 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.001104/0.5592, allocations: 0.7404 MB / 0.5343 GB, free: 25.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5592, allocations: 11.47 kB / 0.5343 GB, free: 25.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004772/0.5597, allocations: 141.9 kB / 0.5345 GB, free: 25.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.5602, allocations: 432 kB / 0.5349 GB, free: 25.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.5603, allocations: 25.17 kB / 0.5349 GB, free: 25.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.5603, allocations: 27.5 kB / 0.5349 GB, free: 25.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/0.5611, allocations: 0.7273 MB / 0.5356 GB, free: 25.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.5612, allocations: 0 / 0.5356 GB, free: 25.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.5612, allocations: 11.12 kB / 0.5356 GB, free: 25.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.5612, allocations: 11.69 kB / 0.5356 GB, free: 25.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009659/0.5622, allocations: 1.116 MB / 0.5367 GB, free: 25.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.565, allocations: 2.394 MB / 0.5391 GB, free: 23.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.659e-05/0.5651, allocations: 28.83 kB / 0.5391 GB, free: 23.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.5651, allocations: 1.281 kB / 0.5391 GB, free: 23.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.5651, allocations: 35.17 kB / 0.5391 GB, free: 23.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.5651, allocations: 1.25 kB / 0.5391 GB, free: 23.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000202/0.5653, allocations: 105.4 kB / 0.5392 GB, free: 23.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.5654, allocations: 51.41 kB / 0.5393 GB, free: 23.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009951/0.5664, allocations: 1.144 MB / 0.5404 GB, free: 23.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.5664, allocations: 25.7 kB / 0.5404 GB, free: 23.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.5666, allocations: 321.5 kB / 0.5407 GB, free: 23.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.808e-06/0.5666, allocations: 14.88 kB / 0.5408 GB, free: 23.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.5666, allocations: 4.062 kB / 0.5408 GB, free: 23.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5667, allocations: 362.1 kB / 0.5411 GB, free: 23.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.567, allocations: 300.4 kB / 0.5414 GB, free: 23.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.5673, allocations: 442 kB / 0.5418 GB, free: 22.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.5676, allocations: 337.3 kB / 0.5421 GB, free: 22.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.5676, allocations: 0 / 0.5421 GB, free: 22.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007538/0.5684, allocations: 0.7923 MB / 0.5429 GB, free: 22.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5684, allocations: 12.33 kB / 0.5429 GB, free: 22.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5684, allocations: 7.688 kB / 0.5429 GB, free: 22.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.5685, allocations: 7.625 kB / 0.5429 GB, free: 22.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.5688, allocations: 83 kB / 0.543 GB, free: 22.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.5688, allocations: 14.89 kB / 0.543 GB, free: 22.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.5692, allocations: 50.44 kB / 0.5431 GB, free: 22.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.5692, allocations: 22.23 kB / 0.5431 GB, free: 22.79 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.5694, allocations: 157.3 kB / 0.5432 GB, free: 22.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.5695, allocations: 49.86 kB / 0.5433 GB, free: 22.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.5695, allocations: 53.12 kB / 0.5433 GB, free: 22.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.5695, allocations: 0 / 0.5433 GB, free: 22.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5695, allocations: 3.906 kB / 0.5433 GB, free: 22.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5696, allocations: 0 / 0.5433 GB, free: 22.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.5701, allocations: 0.5818 MB / 0.5439 GB, free: 22.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.5701, allocations: 3.953 kB / 0.5439 GB, free: 22.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.5702, allocations: 3.969 kB / 0.5439 GB, free: 22.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5702, allocations: 0 / 0.5439 GB, free: 22.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.5702, allocations: 0 / 0.5439 GB, free: 22.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5702, allocations: 4.031 kB / 0.5439 GB, free: 22.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5702, allocations: 3.141 kB / 0.5439 GB, free: 22.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.5703, allocations: 118.2 kB / 0.544 GB, free: 22.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.5705, allocations: 147.5 kB / 0.5442 GB, free: 22.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.5705, allocations: 0 / 0.5442 GB, free: 22.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.5707, allocations: 7.016 kB / 0.5442 GB, free: 22.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.5707, allocations: 3.188 kB / 0.5442 GB, free: 22.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.5707, allocations: 4.031 kB / 0.5442 GB, free: 22.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006896/0.5714, allocations: 0.9054 MB / 0.5451 GB, free: 21.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5714, allocations: 0 / 0.5451 GB, free: 21.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005223/0.5719, allocations: 172 kB / 0.5452 GB, free: 21.91 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003615/0.5723, allocations: 226.7 kB / 0.5455 GB, free: 21.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.5727, allocations: 383.5 kB / 0.5458 GB, free: 21.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5727, allocations: 3.969 kB / 0.5458 GB, free: 21.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/0.5727, allocations: 7.844 kB / 0.5458 GB, free: 21.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.5734, allocations: 169.2 kB / 0.546 GB, free: 21.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000824/0.5742, allocations: 0.7405 MB / 0.5467 GB, free: 21.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.5745, allocations: 0.8254 MB / 0.5475 GB, free: 20.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002364/0.5748, allocations: 91.17 kB / 0.5476 GB, free: 20.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.5749, allocations: 33.67 kB / 0.5476 GB, free: 20.58 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5749, allocations: 0 / 0.5476 GB, free: 20.58 MB / 394.7 MB Notification: Performance of Templates: time 0.01065/0.5855, allocations: 7.47 MB / 0.5549 GB, free: 18.01 MB / 394.7 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)