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: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 86.02 kB / 15.06 MB, free: 1.09 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.001252/0.001252, allocations: 168.7 kB / 15.95 MB, free: 204 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.347/1.347, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.19/0.19, allocations: 15.27 MB / 306.4 MB, free: 15.74 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 8 kB / 371.5 MB, free: 3.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2766, allocations: 54.61 MB / 426.1 MB, free: 40.03 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.003027/0.2797, allocations: 3.139 MB / 429.2 MB, free: 39.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005096/0.2848, allocations: 5.795 MB / 435 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004337/0.2853, allocations: 21.81 kB / 435.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.2857, allocations: 150.7 kB / 435.2 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006847/0.2864, allocations: 255.8 kB / 435.5 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.2883, allocations: 0.7874 MB / 436.2 MB, free: 36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.2889, allocations: 487 kB / 436.7 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.2892, allocations: 168.1 kB / 436.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.2895, allocations: 186 kB / 437.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.2899, allocations: 235.6 kB / 437.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.488e-05/0.2899, allocations: 16.22 kB / 437.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.2913, allocations: 0.5263 MB / 437.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.2914, allocations: 76.92 kB / 437.9 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.2915, allocations: 97.27 kB / 438 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009343/0.2925, allocations: 0.7871 MB / 438.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2925, allocations: 0 / 438.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2925, allocations: 3.281 kB / 438.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.2925, allocations: 0 / 438.8 MB, free: 35.04 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.001043/0.2936, allocations: 0.6972 MB / 439.5 MB, free: 34.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2936, allocations: 8.875 kB / 439.5 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005241/0.2942, allocations: 117.1 kB / 439.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.2947, allocations: 359.9 kB / 440 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.2947, allocations: 18.41 kB / 440 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.2948, allocations: 24.28 kB / 440 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.2953, allocations: 444.4 kB / 440.4 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2953, allocations: 3.156 kB / 440.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.2954, allocations: 11.25 kB / 440.5 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.2954, allocations: 5.938 kB / 440.5 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006748/0.2961, allocations: 0.5776 MB / 441 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.2978, allocations: 1.753 MB / 442.8 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.2981, allocations: 142.1 kB / 442.9 MB, free: 32.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.2982, allocations: 81.09 kB / 443 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/0.2998, allocations: 1.829 MB / 444.8 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.2998, allocations: 30.56 kB / 444.9 MB, free: 30.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.2998, allocations: 3.938 kB / 444.9 MB, free: 30.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003508/0.3002, allocations: 185 kB / 445.1 MB, free: 30.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.3002, allocations: 51.41 kB / 445.1 MB, free: 30.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.3006, allocations: 436.1 kB / 445.5 MB, free: 30.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3006, allocations: 33.64 kB / 445.6 MB, free: 30.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.3007, allocations: 268.7 kB / 445.8 MB, free: 30.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.3008, allocations: 29.91 kB / 445.9 MB, free: 30.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.3008, allocations: 7.156 kB / 445.9 MB, free: 30.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.291e-05/0.3009, allocations: 352.7 kB / 446.2 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.301, allocations: 64.48 kB / 446.3 MB, free: 29.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.3011, allocations: 289.5 kB / 446.6 MB, free: 29.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3013, allocations: 115.3 kB / 446.7 MB, free: 29.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3013, allocations: 3.156 kB / 446.7 MB, free: 29.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005016/0.3018, allocations: 389.1 kB / 447.1 MB, free: 29.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3019, allocations: 12.78 kB / 447.1 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3019, allocations: 9.812 kB / 447.1 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3019, allocations: 8.875 kB / 447.1 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.3022, allocations: 90.03 kB / 447.2 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.3022, allocations: 13.19 kB / 447.2 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.3024, allocations: 49.62 kB / 447.2 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.3025, allocations: 25.19 kB / 447.3 MB, free: 29.12 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.0001321/0.3026, allocations: 172.4 kB / 447.4 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.3027, allocations: 43.02 kB / 447.5 MB, free: 28.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000409/0.3031, allocations: 228.7 kB / 447.7 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3031, allocations: 7.969 kB / 447.7 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3031, allocations: 3.188 kB / 447.7 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3031, allocations: 0 / 447.7 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.3035, allocations: 0.525 MB / 448.2 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3036, allocations: 0 / 448.2 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.3036, allocations: 10.56 kB / 448.2 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3036, allocations: 0 / 448.2 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3036, allocations: 0 / 448.2 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3036, allocations: 4.031 kB / 448.2 MB, free: 28.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3036, allocations: 3.312 kB / 448.2 MB, free: 28.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.519e-05/0.3037, allocations: 111.8 kB / 448.4 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.723e-05/0.3038, allocations: 127.3 kB / 448.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.3039, allocations: 7.922 kB / 448.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.304, allocations: 3.094 kB / 448.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.304, allocations: 0 / 448.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.304, allocations: 4.031 kB / 448.5 MB, free: 28.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002899/0.3043, allocations: 338.6 kB / 448.8 MB, free: 27.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3043, allocations: 0 / 448.8 MB, free: 27.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005691/0.3049, allocations: 172.8 kB / 449 MB, free: 27.9 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.0004893/0.3054, allocations: 291.1 kB / 449.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.3056, allocations: 158.2 kB / 449.4 MB, free: 27.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3057, allocations: 8 kB / 449.4 MB, free: 27.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.3057, allocations: 8.875 kB / 449.4 MB, free: 27.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.3062, allocations: 90.67 kB / 449.5 MB, free: 27.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007641/0.3069, allocations: 0.6482 MB / 450.2 MB, free: 27.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.3071, allocations: 0.7796 MB / 451 MB, free: 26.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003272/0.3075, allocations: 99.83 kB / 451.1 MB, free: 26.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.3076, allocations: 45.62 kB / 451.1 MB, free: 26.51 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3076, allocations: 0 / 451.1 MB, free: 26.51 MB / 350.1 MB Notification: Performance of Templates: time 0.01015/0.3177, allocations: 5.904 MB / 457 MB, free: 25.97 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile (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 & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1)