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.0007764/0.0007764, allocations: 97.56 kB / 15.36 MB, free: 0.7305 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.0008146/0.0008147, allocations: 172.8 kB / 16.27 MB, free: 6.664 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.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1812/0.1812, allocations: 15.28 MB / 306.7 MB, free: 15.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002974, allocations: 8 kB / 372.2 MB, free: 3.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2774, allocations: 54.62 MB / 426.8 MB, free: 40.42 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.02251/0.3, allocations: 22.43 MB / 449.3 MB, free: 33.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0056/0.3056, allocations: 6.227 MB / 455.5 MB, free: 30.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.306, allocations: 14 kB / 455.5 MB, free: 30.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.3064, allocations: 141.2 kB / 455.6 MB, free: 29.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.307, allocations: 220 kB / 455.8 MB, free: 29.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.3089, allocations: 0.8481 MB / 456.7 MB, free: 29.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005629/0.3094, allocations: 0.5013 MB / 457.2 MB, free: 29.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.3097, allocations: 180.1 kB / 457.4 MB, free: 29.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.3099, allocations: 227.6 kB / 457.6 MB, free: 29.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.3103, allocations: 255.5 kB / 457.8 MB, free: 29.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.3103, allocations: 17.72 kB / 457.9 MB, free: 29.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.3116, allocations: 0.5411 MB / 458.4 MB, free: 29.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.857e-05/0.3117, allocations: 88.7 kB / 458.5 MB, free: 29.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.3119, allocations: 211.5 kB / 458.7 MB, free: 28.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.313, allocations: 0.9738 MB / 459.7 MB, free: 28.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.313, allocations: 0 / 459.7 MB, free: 28.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.313, allocations: 1.094 kB / 459.7 MB, free: 28.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.313, allocations: 3.938 kB / 459.7 MB, free: 28.54 MB / 350.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.0008091/0.3138, allocations: 0.6917 MB / 460.4 MB, free: 27.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3139, allocations: 9.688 kB / 460.4 MB, free: 27.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.146e-05/0.314, allocations: 66 kB / 460.4 MB, free: 27.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004794/0.3144, allocations: 116 kB / 460.6 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.3148, allocations: 364 kB / 460.9 MB, free: 27.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3149, allocations: 24 kB / 460.9 MB, free: 27.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.3149, allocations: 28.09 kB / 461 MB, free: 27.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/0.3155, allocations: 448.5 kB / 461.4 MB, free: 27.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3155, allocations: 0 / 461.4 MB, free: 27.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.3155, allocations: 11.91 kB / 461.4 MB, free: 27.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3156, allocations: 10.78 kB / 461.4 MB, free: 27.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/0.3163, allocations: 0.5811 MB / 462 MB, free: 27.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.3181, allocations: 1.74 MB / 463.7 MB, free: 25.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.3183, allocations: 138.1 kB / 463.9 MB, free: 25.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.3185, allocations: 82.56 kB / 464 MB, free: 25.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001615/0.3201, allocations: 1.841 MB / 465.8 MB, free: 24.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.3201, allocations: 30.56 kB / 465.8 MB, free: 24.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.3202, allocations: 5.359 kB / 465.8 MB, free: 24.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003429/0.3205, allocations: 182.4 kB / 466 MB, free: 24.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.3205, allocations: 60.72 kB / 466.1 MB, free: 24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.3209, allocations: 435.1 kB / 466.5 MB, free: 23.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.3209, allocations: 29.7 kB / 466.5 MB, free: 23.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3211, allocations: 265 kB / 466.8 MB, free: 23.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3211, allocations: 32.12 kB / 466.8 MB, free: 23.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.3212, allocations: 34.38 kB / 466.8 MB, free: 23.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.3212, allocations: 349.1 kB / 467.2 MB, free: 23.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3213, allocations: 75.91 kB / 467.3 MB, free: 23.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3215, allocations: 285.6 kB / 467.5 MB, free: 22.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.3218, allocations: 390.3 kB / 467.9 MB, free: 22.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3219, allocations: 2.219 kB / 467.9 MB, free: 22.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005164/0.3224, allocations: 385.5 kB / 468.3 MB, free: 22.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3224, allocations: 8.25 kB / 468.3 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3224, allocations: 8.25 kB / 468.3 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3224, allocations: 10.44 kB / 468.3 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.3227, allocations: 100.9 kB / 468.4 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.3227, allocations: 19.31 kB / 468.4 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.323, allocations: 42.66 kB / 468.5 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.323, allocations: 30.8 kB / 468.5 MB, free: 22.2 MB / 350.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.0001224/0.3232, allocations: 161.7 kB / 468.7 MB, free: 22.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.3232, allocations: 40.28 kB / 468.7 MB, free: 22.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.3236, allocations: 235.8 kB / 468.9 MB, free: 21.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3236, allocations: 5.156 kB / 468.9 MB, free: 21.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3237, allocations: 3.938 kB / 469 MB, free: 21.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3237, allocations: 4.578 kB / 469 MB, free: 21.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.3241, allocations: 0.5282 MB / 469.5 MB, free: 21.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3241, allocations: 4.062 kB / 469.5 MB, free: 21.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.3241, allocations: 6.969 kB / 469.5 MB, free: 21.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3241, allocations: 0 / 469.5 MB, free: 21.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.3241, allocations: 0 / 469.5 MB, free: 21.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3241, allocations: 1.281 kB / 469.5 MB, free: 21.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3241, allocations: 0 / 469.5 MB, free: 21.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.793e-05/0.3242, allocations: 113 kB / 469.6 MB, free: 21.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/0.3243, allocations: 134 kB / 469.7 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.3244, allocations: 4.875 kB / 469.7 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.3245, allocations: 0 / 469.7 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.3245, allocations: 1.344 kB / 469.7 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.3245, allocations: 0 / 469.7 MB, free: 21.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003349/0.3248, allocations: 363.7 kB / 470.1 MB, free: 21.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3248, allocations: 0 / 470.1 MB, free: 21.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005695/0.3254, allocations: 172 kB / 470.3 MB, free: 20.96 MB / 350.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.0005917/0.326, allocations: 0.8422 MB / 471.1 MB, free: 20.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.3263, allocations: 161.6 kB / 471.3 MB, free: 20.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3263, allocations: 0 / 471.3 MB, free: 20.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.571e-05/0.3263, allocations: 9.047 kB / 471.3 MB, free: 20.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.3269, allocations: 90.7 kB / 471.4 MB, free: 20.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.3299, allocations: 3.648 MB / 475 MB, free: 16.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.3301, allocations: 0.7775 MB / 475.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.3304, allocations: 113 kB / 475.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3305, allocations: 132.4 kB / 476 MB, free: 15.67 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3305, allocations: 0 / 476 MB, free: 15.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.351, allocations: 9.766 MB / 485.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/0.3512, allocations: 211.9 kB / 486 MB, free: 9.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.228, allocations: 3.938 kB / 486 MB, free: 9.602 MB / 350.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)