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.004582/0.004582, allocations: 103 kB / 15.74 MB, free: 6.496 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.001216/0.001216, allocations: 192.9 kB / 16.68 MB, free: 6.375 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1829/0.1829, allocations: 15.32 MB / 305.9 MB, free: 15.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.89 kB / 424.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2282, allocations: 53.6 MB / 478.3 MB, free: 25.6 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.03005/0.2583, allocations: 23.27 MB / 0.4898 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005705/0.264, allocations: 6.284 MB / 0.496 GB, free: 5.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003959/0.2644, allocations: 11.94 kB / 0.496 GB, free: 5.145 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005418/0.265, allocations: 162.8 kB / 0.4961 GB, free: 4.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007639/0.2657, allocations: 246 kB / 0.4964 GB, free: 4.742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.2681, allocations: 0.9626 MB / 0.4973 GB, free: 3.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005081/0.2686, allocations: 0.5098 MB / 0.4978 GB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.2688, allocations: 200.8 kB / 0.498 GB, free: 3.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.269, allocations: 247.2 kB / 0.4982 GB, free: 2.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.2693, allocations: 267 kB / 0.4985 GB, free: 2.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.257e-05/0.2694, allocations: 28 kB / 0.4985 GB, free: 2.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.2705, allocations: 0.546 MB / 0.499 GB, free: 1.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/0.2706, allocations: 103.7 kB / 0.4991 GB, free: 1.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.2708, allocations: 199 kB / 0.4993 GB, free: 1.684 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.272, allocations: 1.074 MB / 0.5004 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.272, allocations: 3.938 kB / 0.5004 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.272, allocations: 0 / 0.5004 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.272, allocations: 0 / 0.5004 GB, free: 0.6016 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.0009577/0.273, allocations: 0.8091 MB / 0.5012 GB, free: 15.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.273, allocations: 8.031 kB / 0.5012 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.347e-05/0.2731, allocations: 66.66 kB / 0.5012 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005192/0.2737, allocations: 116.3 kB / 0.5014 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.2742, allocations: 392.1 kB / 0.5017 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2742, allocations: 20.94 kB / 0.5017 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.2743, allocations: 27.94 kB / 0.5018 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.275, allocations: 450 kB / 0.5022 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.275, allocations: 0 / 0.5022 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.2751, allocations: 12 kB / 0.5022 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.2751, allocations: 7.984 kB / 0.5022 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000875/0.276, allocations: 0.5755 MB / 0.5028 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.2783, allocations: 1.757 MB / 0.5045 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.2786, allocations: 146.5 kB / 0.5046 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.2788, allocations: 80.83 kB / 0.5047 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002403/0.2812, allocations: 1.884 MB / 0.5066 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.2812, allocations: 38.56 kB / 0.5066 GB, free: 9.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.2812, allocations: 0 / 0.5066 GB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004175/0.2817, allocations: 181.5 kB / 0.5068 GB, free: 9.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.2817, allocations: 59.34 kB / 0.5068 GB, free: 9.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/0.2822, allocations: 437.8 kB / 0.5072 GB, free: 9.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2823, allocations: 25.7 kB / 0.5073 GB, free: 9.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.2825, allocations: 263.6 kB / 0.5075 GB, free: 8.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.2825, allocations: 35.73 kB / 0.5076 GB, free: 8.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.2826, allocations: 81.64 kB / 0.5076 GB, free: 8.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.2828, allocations: 346.8 kB / 0.508 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.283, allocations: 71.95 kB / 0.508 GB, free: 8.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.2833, allocations: 294.7 kB / 0.5083 GB, free: 7.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.2838, allocations: 389.5 kB / 0.5087 GB, free: 7.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2838, allocations: 384 / 0.5087 GB, free: 7.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006136/0.2844, allocations: 385.6 kB / 0.5091 GB, free: 6.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.2844, allocations: 14.25 kB / 0.5091 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.2845, allocations: 11.98 kB / 0.5091 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.2845, allocations: 19.88 kB / 0.5091 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.2848, allocations: 91.83 kB / 0.5092 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.2848, allocations: 11.94 kB / 0.5092 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.2851, allocations: 43.67 kB / 0.5092 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.2851, allocations: 31.98 kB / 0.5093 GB, free: 6.742 MB / 382.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.0001646/0.2853, allocations: 165.6 kB / 0.5094 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.542e-05/0.2854, allocations: 51.72 kB / 0.5095 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.2858, allocations: 227.8 kB / 0.5097 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2859, allocations: 3.938 kB / 0.5097 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2859, allocations: 0 / 0.5097 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2859, allocations: 3.938 kB / 0.5097 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005856/0.2865, allocations: 0.5337 MB / 0.5102 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2865, allocations: 4 kB / 0.5102 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.2865, allocations: 7.938 kB / 0.5102 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2865, allocations: 0 / 0.5102 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.2865, allocations: 0 / 0.5102 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2865, allocations: 0 / 0.5102 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2865, allocations: 0 / 0.5102 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.2867, allocations: 120.8 kB / 0.5103 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.2868, allocations: 116.8 kB / 0.5105 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.2869, allocations: 4 kB / 0.5105 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.287, allocations: 0 / 0.5105 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.287, allocations: 0 / 0.5105 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.287, allocations: 3.984 kB / 0.5105 GB, free: 5.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004163/0.2874, allocations: 358.9 kB / 0.5108 GB, free: 5.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2874, allocations: 0 / 0.5108 GB, free: 5.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000572/0.288, allocations: 187.4 kB / 0.511 GB, free: 4.836 MB / 382.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.0008428/0.2889, allocations: 0.8381 MB / 0.5118 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.2892, allocations: 169.5 kB / 0.512 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2892, allocations: 3.938 kB / 0.512 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.64e-05/0.2892, allocations: 7.984 kB / 0.512 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.2897, allocations: 100.5 kB / 0.5121 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/0.2939, allocations: 3.474 MB / 0.5155 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.2944, allocations: 0.7912 MB / 0.5162 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.2947, allocations: 95.27 kB / 0.5163 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.2949, allocations: 131.4 kB / 0.5165 GB, free: 14.9 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.295, allocations: 0 / 0.5165 GB, free: 14.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.3287, allocations: 10.23 MB / 0.5264 GB, free: 4.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.263/8.592, allocations: 12 kB / 0.5265 GB, free: 4.734 MB / 398.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)