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.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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.0009038/0.0009037, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001023/0.001023, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.2128/0.2128, allocations: 15.25 MB / 306.2 MB, free: 15.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003068, allocations: 12 kB / 371.5 MB, free: 3.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2642, allocations: 54.61 MB / 426.1 MB, free: 39.86 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo:3011:6-3011: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.0/package.mo:3011:6-3011: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.003316/0.2676, allocations: 2.941 MB / 429 MB, free: 39.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00518/0.2728, allocations: 5.381 MB / 434.4 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004859/0.2733, allocations: 14.09 kB / 434.4 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.2738, allocations: 140.9 kB / 434.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007796/0.2746, allocations: 322.8 kB / 434.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.2772, allocations: 0.8727 MB / 435.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007856/0.278, allocations: 361.5 kB / 436.1 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.2783, allocations: 169.2 kB / 436.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.2786, allocations: 171.7 kB / 436.4 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.2789, allocations: 231.9 kB / 436.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.687e-05/0.2789, allocations: 16.06 kB / 436.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.2807, allocations: 0.6369 MB / 437.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.2808, allocations: 81.3 kB / 437.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.2809, allocations: 94.67 kB / 437.5 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.282, allocations: 0.6169 MB / 438.1 MB, free: 35.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.282, allocations: 0 / 438.1 MB, free: 35.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.282, allocations: 0 / 438.1 MB, free: 35.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.282, allocations: 0 / 438.1 MB, free: 35.42 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.001075/0.2831, allocations: 0.7074 MB / 438.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.2832, allocations: 9.531 kB / 438.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.883e-05/0.2833, allocations: 59.69 kB / 438.9 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.2838, allocations: 116.3 kB / 439 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.2843, allocations: 339.2 kB / 439.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.2843, allocations: 20.84 kB / 439.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.2843, allocations: 31.41 kB / 439.4 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/0.2849, allocations: 437.9 kB / 439.8 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2849, allocations: 3.938 kB / 439.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.285, allocations: 11.28 kB / 439.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.285, allocations: 13.81 kB / 439.8 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.2857, allocations: 0.5775 MB / 440.4 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.2874, allocations: 1.731 MB / 442.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.2876, allocations: 139 kB / 442.3 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/0.2892, allocations: 1.8 MB / 444.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.2893, allocations: 34.5 kB / 444.1 MB, free: 31.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.2893, allocations: 0 / 444.1 MB, free: 31.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003591/0.2896, allocations: 185.8 kB / 444.3 MB, free: 30.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.2897, allocations: 59 kB / 444.3 MB, free: 30.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.2901, allocations: 438.2 kB / 444.8 MB, free: 30.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.2901, allocations: 25.7 kB / 444.8 MB, free: 30.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.2902, allocations: 261 kB / 445 MB, free: 30.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.2902, allocations: 42.06 kB / 445.1 MB, free: 30.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.2903, allocations: 7.062 kB / 445.1 MB, free: 30.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.2904, allocations: 349.4 kB / 445.4 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.2905, allocations: 70.42 kB / 445.5 MB, free: 30.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.2906, allocations: 277.5 kB / 445.8 MB, free: 29.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.2908, allocations: 118.9 kB / 445.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2908, allocations: 3.953 kB / 445.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004614/0.2913, allocations: 384.8 kB / 446.3 MB, free: 29.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2913, allocations: 6.406 kB / 446.3 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.2913, allocations: 13.95 kB / 446.3 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.2914, allocations: 9.562 kB / 446.3 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.2916, allocations: 94.34 kB / 446.4 MB, free: 29.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.2917, allocations: 17.03 kB / 446.4 MB, free: 29.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.2919, allocations: 43.72 kB / 446.4 MB, free: 29.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.292, allocations: 26.03 kB / 446.5 MB, free: 29.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.2921, allocations: 167.5 kB / 446.6 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.2922, allocations: 39.33 kB / 446.7 MB, free: 29.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.2926, allocations: 236.1 kB / 446.9 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2926, allocations: 3.25 kB / 446.9 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2926, allocations: 0 / 446.9 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2926, allocations: 0 / 446.9 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.2931, allocations: 0.532 MB / 447.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2931, allocations: 4.062 kB / 447.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.2931, allocations: 7.312 kB / 447.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2932, allocations: 0 / 447.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2932, allocations: 0 / 447.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2932, allocations: 0 / 447.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2932, allocations: 0 / 447.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.2933, allocations: 115.6 kB / 447.6 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2934, allocations: 123.7 kB / 447.7 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.2935, allocations: 4.031 kB / 447.7 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.2936, allocations: 0 / 447.7 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.2936, allocations: 0 / 447.7 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.2936, allocations: 7.094 kB / 447.7 MB, free: 28.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002937/0.2939, allocations: 333.7 kB / 448 MB, free: 28.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2939, allocations: 0 / 448 MB, free: 28.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005279/0.2944, allocations: 182 kB / 448.2 MB, free: 28.27 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 (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.0005783/0.295, allocations: 0.8333 MB / 449 MB, free: 27.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.2953, allocations: 162.6 kB / 449.2 MB, free: 27.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2953, allocations: 3.938 kB / 449.2 MB, free: 27.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.2953, allocations: 13.86 kB / 449.2 MB, free: 27.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.2957, allocations: 79.84 kB / 449.3 MB, free: 27.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.2988, allocations: 7.228 MB / 456.5 MB, free: 21.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.299, allocations: 0.7932 MB / 457.3 MB, free: 20.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000371/0.2994, allocations: 103.3 kB / 457.4 MB, free: 20.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.2995, allocations: 129.9 kB / 457.5 MB, free: 20.23 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2996, allocations: 0 / 457.5 MB, free: 20.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.324, allocations: 9.597 MB / 467.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.3242, allocations: 180.8 kB / 467.3 MB, free: 19.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.082, allocations: 0 / 467.3 MB, free: 19.18 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/linux/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) Environment - environmentSimulation: