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: "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001286/0.001286, allocations: 195.8 kB / 16.26 MB, free: 6.621 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.286/1.286, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2077/0.2077, allocations: 15.32 MB / 305.4 MB, free: 15.27 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 369.9 MB, free: 4.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.09727, allocations: 53.61 MB / 423.5 MB, free: 14.55 MB / 366.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.3014/0.3987, allocations: 22.81 MB / 446.4 MB, free: 40.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004984/0.4037, allocations: 6.237 MB / 452.6 MB, free: 36.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.404, allocations: 18.22 kB / 452.6 MB, free: 36.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.4044, allocations: 143.5 kB / 452.7 MB, free: 36.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.4048, allocations: 227 kB / 453 MB, free: 36.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.4064, allocations: 0.8564 MB / 453.8 MB, free: 36.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.4068, allocations: 0.5086 MB / 454.3 MB, free: 36.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.407, allocations: 207.3 kB / 454.5 MB, free: 36.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.4072, allocations: 248 kB / 454.8 MB, free: 36.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.4075, allocations: 260.4 kB / 455 MB, free: 36.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.611e-05/0.4075, allocations: 33.03 kB / 455.1 MB, free: 36.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009364/0.4085, allocations: 0.564 MB / 455.6 MB, free: 35.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.814e-05/0.4086, allocations: 98.09 kB / 455.7 MB, free: 35.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.4087, allocations: 220.7 kB / 455.9 MB, free: 35.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009968/0.4097, allocations: 1.012 MB / 457 MB, free: 35.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4097, allocations: 0 / 457 MB, free: 35.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4097, allocations: 0 / 457 MB, free: 35.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.4098, allocations: 0 / 457 MB, free: 35.57 MB / 366.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.0008711/0.4106, allocations: 0.7855 MB / 457.7 MB, free: 35.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4107, allocations: 9.406 kB / 457.7 MB, free: 35.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.991e-05/0.4107, allocations: 63.45 kB / 457.8 MB, free: 34.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004836/0.4112, allocations: 123.5 kB / 457.9 MB, free: 34.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.4116, allocations: 371.6 kB / 458.3 MB, free: 34.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.4116, allocations: 17.28 kB / 458.3 MB, free: 34.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.4117, allocations: 30.25 kB / 458.3 MB, free: 34.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.4122, allocations: 450.5 kB / 458.8 MB, free: 34.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.4122, allocations: 0 / 458.8 MB, free: 34.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.4123, allocations: 9.938 kB / 458.8 MB, free: 34.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.4123, allocations: 9.094 kB / 458.8 MB, free: 34.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006699/0.4129, allocations: 0.576 MB / 459.4 MB, free: 34.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.4146, allocations: 1.764 MB / 461.1 MB, free: 33.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.4149, allocations: 135.2 kB / 461.3 MB, free: 33.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.415, allocations: 89.19 kB / 461.4 MB, free: 33.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/0.4165, allocations: 1.889 MB / 463.2 MB, free: 31.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.4166, allocations: 33.41 kB / 463.3 MB, free: 31.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.4166, allocations: 0 / 463.3 MB, free: 31.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000332/0.4169, allocations: 183.8 kB / 463.5 MB, free: 31.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.417, allocations: 55.34 kB / 463.5 MB, free: 31.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.4173, allocations: 432.2 kB / 463.9 MB, free: 31.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.4173, allocations: 31.94 kB / 464 MB, free: 31.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.4174, allocations: 267.6 kB / 464.2 MB, free: 31.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.4175, allocations: 36.81 kB / 464.3 MB, free: 31.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.4176, allocations: 81.23 kB / 464.3 MB, free: 31.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.4176, allocations: 345.9 kB / 464.7 MB, free: 30.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.4177, allocations: 73.19 kB / 464.8 MB, free: 30.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.4179, allocations: 283.7 kB / 465 MB, free: 30.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.4182, allocations: 387.4 kB / 465.4 MB, free: 30.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4182, allocations: 0 / 465.4 MB, free: 30.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004865/0.4187, allocations: 392.1 kB / 465.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4187, allocations: 12.56 kB / 465.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4187, allocations: 6.156 kB / 465.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4188, allocations: 12.91 kB / 465.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.419, allocations: 90.78 kB / 465.9 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.419, allocations: 19.78 kB / 465.9 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.4192, allocations: 43.78 kB / 466 MB, free: 29.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.4193, allocations: 29.97 kB / 466 MB, free: 29.79 MB / 366.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.0001078/0.4194, allocations: 167.6 kB / 466.2 MB, free: 29.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.4194, allocations: 35.16 kB / 466.2 MB, free: 29.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.4198, allocations: 237.6 kB / 466.4 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4198, allocations: 11.19 kB / 466.4 MB, free: 29.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4198, allocations: 4 kB / 466.4 MB, free: 29.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.4199, allocations: 0 / 466.4 MB, free: 29.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.4202, allocations: 0.5317 MB / 467 MB, free: 28.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4202, allocations: 1.062 kB / 467 MB, free: 28.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.4203, allocations: 5.125 kB / 467 MB, free: 28.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4203, allocations: 1.125 kB / 467 MB, free: 28.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.4203, allocations: 0 / 467 MB, free: 28.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4203, allocations: 1.125 kB / 467 MB, free: 28.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4203, allocations: 4.031 kB / 467 MB, free: 28.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.4204, allocations: 112 kB / 467.1 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.4205, allocations: 118.3 kB / 467.2 MB, free: 28.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.4205, allocations: 9.281 kB / 467.2 MB, free: 28.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.4206, allocations: 1.219 kB / 467.2 MB, free: 28.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.4206, allocations: 0 / 467.2 MB, free: 28.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.4207, allocations: 1.094 kB / 467.2 MB, free: 28.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003461/0.421, allocations: 365.8 kB / 467.6 MB, free: 28.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.421, allocations: 0 / 467.6 MB, free: 28.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.4216, allocations: 168.1 kB / 467.7 MB, free: 28.55 MB / 366.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.0006302/0.4222, allocations: 0.8369 MB / 468.6 MB, free: 27.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.4225, allocations: 171.6 kB / 468.8 MB, free: 27.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4225, allocations: 0 / 468.8 MB, free: 27.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.4225, allocations: 10.34 kB / 468.8 MB, free: 27.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.423, allocations: 101.6 kB / 468.9 MB, free: 27.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.4262, allocations: 3.612 MB / 472.5 MB, free: 25.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.4264, allocations: 0.7868 MB / 473.3 MB, free: 24.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.4267, allocations: 100.2 kB / 473.4 MB, free: 24.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.4269, allocations: 135.6 kB / 473.5 MB, free: 24.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4269, allocations: 0 / 473.5 MB, free: 24.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.4486, allocations: 10.06 MB / 483.6 MB, free: 23.36 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/0.4487, allocations: 205.8 kB / 483.8 MB, free: 23.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.3, allocations: 7.875 kB / 483.8 MB, free: 23.1 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG.fmu > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1)