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.006577/0.006577, allocations: 104.6 kB / 15.74 MB, free: 6.488 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.001246/0.001246, allocations: 193 kB / 16.67 MB, free: 6.379 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1873/0.1873, allocations: 15.32 MB / 305.9 MB, free: 15.27 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 424.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2373, allocations: 53.59 MB / 478.3 MB, free: 25.59 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.02966/0.267, allocations: 22.69 MB / 0.4893 GB, free: 12.06 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005305/0.2723, allocations: 6.284 MB / 0.4954 GB, free: 5.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003732/0.2728, allocations: 11.94 kB / 0.4954 GB, free: 5.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.2732, allocations: 158.8 kB / 0.4956 GB, free: 5.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005741/0.2738, allocations: 250 kB / 0.4958 GB, free: 5.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.2756, allocations: 0.9626 MB / 0.4967 GB, free: 4.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.2761, allocations: 0.506 MB / 0.4972 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.2764, allocations: 204.8 kB / 0.4974 GB, free: 3.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.2766, allocations: 247.2 kB / 0.4977 GB, free: 3.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.2768, allocations: 267 kB / 0.4979 GB, free: 3.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.2769, allocations: 28 kB / 0.4979 GB, free: 3.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.2781, allocations: 0.55 MB / 0.4985 GB, free: 2.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.2782, allocations: 99.62 kB / 0.4986 GB, free: 2.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.2783, allocations: 203 kB / 0.4988 GB, free: 2.273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.2795, allocations: 1.07 MB / 0.4998 GB, free: 1.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2795, allocations: 0 / 0.4998 GB, free: 1.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2795, allocations: 0 / 0.4998 GB, free: 1.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2795, allocations: 0 / 0.4998 GB, free: 1.199 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.0008681/0.2804, allocations: 0.7908 MB / 0.5006 GB, free: 368 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2804, allocations: 12.03 kB / 0.5006 GB, free: 356 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.2805, allocations: 58.73 kB / 0.5006 GB, free: 288 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.281, allocations: 116.1 kB / 0.5008 GB, free: 172 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.2815, allocations: 391.7 kB / 0.5011 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.2815, allocations: 16.94 kB / 0.5011 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.2816, allocations: 31.94 kB / 0.5012 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.2822, allocations: 446.1 kB / 0.5016 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2822, allocations: 3.938 kB / 0.5016 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.2823, allocations: 12 kB / 0.5016 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2823, allocations: 8 kB / 0.5016 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.2831, allocations: 0.5755 MB / 0.5022 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.2852, allocations: 1.756 MB / 0.5039 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.2855, allocations: 138.5 kB / 0.504 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.2856, allocations: 92.83 kB / 0.5041 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00209/0.2877, allocations: 1.872 MB / 0.506 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2878, allocations: 42.5 kB / 0.506 GB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.2878, allocations: 0 / 0.506 GB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003715/0.2881, allocations: 181.3 kB / 0.5062 GB, free: 10.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.2882, allocations: 59.34 kB / 0.5062 GB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.2886, allocations: 433.8 kB / 0.5066 GB, free: 9.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2887, allocations: 26.08 kB / 0.5067 GB, free: 9.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.2888, allocations: 259.1 kB / 0.5069 GB, free: 9.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.2889, allocations: 39.55 kB / 0.5069 GB, free: 9.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-05/0.289, allocations: 69.61 kB / 0.507 GB, free: 9.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2891, allocations: 354.7 kB / 0.5073 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.2893, allocations: 71.95 kB / 0.5074 GB, free: 8.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.2895, allocations: 290.7 kB / 0.5077 GB, free: 8.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.2899, allocations: 389.6 kB / 0.5081 GB, free: 7.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2899, allocations: 0 / 0.5081 GB, free: 7.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005689/0.2905, allocations: 389.2 kB / 0.5084 GB, free: 7.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2905, allocations: 8.156 kB / 0.5084 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2906, allocations: 12 kB / 0.5085 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.2906, allocations: 8 kB / 0.5085 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.2909, allocations: 95.81 kB / 0.5086 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.2909, allocations: 19.92 kB / 0.5086 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.2911, allocations: 55.42 kB / 0.5086 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.2912, allocations: 20 kB / 0.5086 GB, free: 7.379 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.0001465/0.2913, allocations: 169.6 kB / 0.5088 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.2914, allocations: 39.47 kB / 0.5088 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.2918, allocations: 239.6 kB / 0.5091 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2918, allocations: 3.938 kB / 0.5091 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2918, allocations: 0 / 0.5091 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2918, allocations: 4 kB / 0.5091 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.2924, allocations: 0.5375 MB / 0.5096 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2924, allocations: 0 / 0.5096 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.2924, allocations: 3.938 kB / 0.5096 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2924, allocations: 0 / 0.5096 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2924, allocations: 8 kB / 0.5096 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2924, allocations: 0 / 0.5096 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2924, allocations: 0 / 0.5096 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.2926, allocations: 104.7 kB / 0.5097 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.2927, allocations: 116.6 kB / 0.5098 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.2927, allocations: 7.938 kB / 0.5098 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.2928, allocations: 3.984 kB / 0.5098 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.2929, allocations: 3.938 kB / 0.5098 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.2929, allocations: 0 / 0.5098 GB, free: 6.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003622/0.2932, allocations: 358.9 kB / 0.5102 GB, free: 5.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2932, allocations: 4 kB / 0.5102 GB, free: 5.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005499/0.2938, allocations: 171.9 kB / 0.5104 GB, free: 5.484 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.0007381/0.2945, allocations: 0.8421 MB / 0.5112 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.2948, allocations: 157.7 kB / 0.5113 GB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2948, allocations: 4.062 kB / 0.5113 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.2949, allocations: 15.86 kB / 0.5113 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.2954, allocations: 98.95 kB / 0.5114 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.2992, allocations: 3.451 MB / 0.5148 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.2996, allocations: 0.7873 MB / 0.5156 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002783/0.2998, allocations: 103.2 kB / 0.5157 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.3, allocations: 131.4 kB / 0.5158 GB, free: 15.57 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3, allocations: 0 / 0.5158 GB, free: 15.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.3304, allocations: 10.35 MB / 0.5259 GB, free: 5.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.371, allocations: 7.938 kB / 0.5259 GB, free: 5.289 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)