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.09453/0.09453, allocations: 15.26 MB / 22.73 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 185 kB / 27.52 MB, free: 6.113 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.444/1.444, allocations: 221.5 MB / 253.7 MB, free: 10.41 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.0008726/0.0008725, allocations: 94.39 kB / 308.8 MB, free: 10.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.604e-05/1.606e-05, allocations: 0 / 369.6 MB, free: 54.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 54.63 MB / 424.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4323/0.5482, allocations: 94.61 MB / 0.5067 GB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.5485, allocations: 67.05 kB / 0.5067 GB, free: 12.36 MB / 362.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.02716/0.5757, allocations: 12.2 MB / 0.5186 GB, free: 27.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5757, allocations: 3.75 kB / 0.5186 GB, free: 27.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.221e-05/0.5757, allocations: 7.625 kB / 0.5186 GB, free: 27.3 MB / 378.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.001167/0.5769, allocations: 0.6667 MB / 0.5193 GB, free: 26.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.577, allocations: 9.609 kB / 0.5193 GB, free: 26.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005924/0.5776, allocations: 147.2 kB / 0.5194 GB, free: 26.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.5783, allocations: 425.2 kB / 0.5199 GB, free: 26.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.5783, allocations: 11.48 kB / 0.5199 GB, free: 26.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.5784, allocations: 19.53 kB / 0.5199 GB, free: 26.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001109/0.5795, allocations: 1.077 MB / 0.5209 GB, free: 26.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.5801, allocations: 0.5201 MB / 0.5214 GB, free: 26.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.5802, allocations: 7.875 kB / 0.5215 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.5802, allocations: 0 / 0.5215 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.5802, allocations: 11.72 kB / 0.5215 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.583, allocations: 2.338 MB / 0.5237 GB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.34e-05/0.583, allocations: 26.14 kB / 0.5238 GB, free: 25.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.5831, allocations: 16.33 kB / 0.5238 GB, free: 25.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.5831, allocations: 3.953 kB / 0.5238 GB, free: 25.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.5831, allocations: 34.56 kB / 0.5238 GB, free: 25.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.5831, allocations: 0 / 0.5238 GB, free: 25.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001903/0.5833, allocations: 91.02 kB / 0.5239 GB, free: 25.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.5834, allocations: 51.41 kB / 0.524 GB, free: 25.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009688/0.5843, allocations: 1.076 MB / 0.525 GB, free: 24.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.5843, allocations: 25.7 kB / 0.525 GB, free: 24.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.5845, allocations: 326.8 kB / 0.5253 GB, free: 24.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.376e-06/0.5846, allocations: 7.531 kB / 0.5254 GB, free: 24.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.5846, allocations: 0 / 0.5254 GB, free: 24.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5847, allocations: 362.3 kB / 0.5257 GB, free: 24.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.585, allocations: 289.1 kB / 0.526 GB, free: 24.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.5853, allocations: 423 kB / 0.5264 GB, free: 24.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/0.5863, allocations: 470.9 kB / 0.5268 GB, free: 24.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.5863, allocations: 3.75 kB / 0.5268 GB, free: 24.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001421/0.5877, allocations: 0.8969 MB / 0.5277 GB, free: 24.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.5878, allocations: 8.5 kB / 0.5277 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5878, allocations: 11.86 kB / 0.5277 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.5878, allocations: 7.75 kB / 0.5277 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.5881, allocations: 87.97 kB / 0.5278 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.5881, allocations: 7.5 kB / 0.5278 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.5885, allocations: 39.12 kB / 0.5279 GB, free: 24.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.5885, allocations: 22.92 kB / 0.5279 GB, free: 24.12 MB / 378.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 () * 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.0001168/0.5887, allocations: 116.7 kB / 0.528 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.5887, allocations: 42.81 kB / 0.528 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.408e-05/0.5888, allocations: 45.5 kB / 0.5281 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5888, allocations: 3.953 kB / 0.5281 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5888, allocations: 0 / 0.5281 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5888, allocations: 0 / 0.5281 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.5894, allocations: 0.5454 MB / 0.5286 GB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5894, allocations: 4 kB / 0.5286 GB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.5894, allocations: 7.062 kB / 0.5286 GB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5894, allocations: 3.938 kB / 0.5286 GB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.5894, allocations: 3.953 kB / 0.5286 GB, free: 23.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5894, allocations: 4.031 kB / 0.5286 GB, free: 23.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5895, allocations: 0 / 0.5286 GB, free: 23.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.5896, allocations: 113.7 kB / 0.5287 GB, free: 23.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.5897, allocations: 143.6 kB / 0.5289 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/0.5898, allocations: 3.141 kB / 0.5289 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.5899, allocations: 3.953 kB / 0.5289 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.5899, allocations: 0 / 0.5289 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.5899, allocations: 7.906 kB / 0.5289 GB, free: 23.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006795/0.5906, allocations: 0.8413 MB / 0.5297 GB, free: 23.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5906, allocations: 0 / 0.5297 GB, free: 23.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000475/0.5911, allocations: 164 kB / 0.5299 GB, free: 23.27 MB / 378.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 () * 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.0003671/0.5915, allocations: 235.4 kB / 0.5301 GB, free: 23.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003827/0.5919, allocations: 364.2 kB / 0.5304 GB, free: 23.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5919, allocations: 4.062 kB / 0.5304 GB, free: 23.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.5919, allocations: 10.17 kB / 0.5305 GB, free: 23.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.5926, allocations: 142.6 kB / 0.5306 GB, free: 23.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.5933, allocations: 389.4 kB / 0.531 GB, free: 22.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.5936, allocations: 0.818 MB / 0.5318 GB, free: 22.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002796/0.5939, allocations: 83.38 kB / 0.5318 GB, free: 22.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.594, allocations: 33.69 kB / 0.5319 GB, free: 22.2 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.594, allocations: 0 / 0.5319 GB, free: 22.2 MB / 378.7 MB Notification: Performance of Templates: time 0.01029/0.6043, allocations: 6.262 MB / 0.538 GB, free: 19.47 MB / 378.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)