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.0008799/0.0008799, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006023/0.006023, allocations: 173 kB / 16.26 MB, free: 6.613 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2047/0.2047, allocations: 15.27 MB / 306.7 MB, free: 15.67 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.000315, allocations: 8 kB / 372.1 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2835, allocations: 54.63 MB / 426.7 MB, free: 40.18 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.02448/0.308, allocations: 21.79 MB / 448.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006664/0.3147, allocations: 6.229 MB / 454.7 MB, free: 30.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006463/0.3154, allocations: 14.25 kB / 454.7 MB, free: 30.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.3159, allocations: 136.4 kB / 454.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006256/0.3165, allocations: 227.8 kB / 455.1 MB, free: 29.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.3191, allocations: 0.8487 MB / 456 MB, free: 29.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.3198, allocations: 0.5003 MB / 456.5 MB, free: 29.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.3201, allocations: 170.4 kB / 456.6 MB, free: 29.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.3204, allocations: 227.7 kB / 456.8 MB, free: 29.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.3208, allocations: 252.7 kB / 457.1 MB, free: 29.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.3209, allocations: 14.47 kB / 457.1 MB, free: 29.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.323, allocations: 0.5424 MB / 457.6 MB, free: 29.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.3232, allocations: 87.42 kB / 457.7 MB, free: 29.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.3235, allocations: 211.3 kB / 457.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.3255, allocations: 0.9778 MB / 458.9 MB, free: 28.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.3256, allocations: 5.375 kB / 458.9 MB, free: 28.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.3256, allocations: 0 / 458.9 MB, free: 28.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3256, allocations: 3.938 kB / 458.9 MB, free: 28.55 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.001106/0.3267, allocations: 0.6908 MB / 459.6 MB, free: 27.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3267, allocations: 8.531 kB / 459.6 MB, free: 27.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005707/0.3273, allocations: 116.1 kB / 459.7 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.3278, allocations: 361.2 kB / 460.1 MB, free: 27.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.3278, allocations: 18.88 kB / 460.1 MB, free: 27.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.3279, allocations: 33.41 kB / 460.1 MB, free: 27.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007266/0.3286, allocations: 446.6 kB / 460.6 MB, free: 27.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3287, allocations: 5 kB / 460.6 MB, free: 27.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.3287, allocations: 10.94 kB / 460.6 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.3287, allocations: 7.156 kB / 460.6 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009906/0.3297, allocations: 0.5782 MB / 461.2 MB, free: 27.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.3317, allocations: 1.749 MB / 462.9 MB, free: 25.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.332, allocations: 138.4 kB / 463.1 MB, free: 25.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3322, allocations: 83.02 kB / 463.1 MB, free: 25.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/0.3339, allocations: 1.831 MB / 465 MB, free: 24.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.334, allocations: 43.03 kB / 465 MB, free: 24.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.334, allocations: 3.938 kB / 465 MB, free: 24.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003973/0.3344, allocations: 180.2 kB / 465.2 MB, free: 24.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.3344, allocations: 59.89 kB / 465.3 MB, free: 24.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.3349, allocations: 437.7 kB / 465.7 MB, free: 23.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3349, allocations: 25.7 kB / 465.7 MB, free: 23.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3351, allocations: 264.8 kB / 466 MB, free: 23.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.3351, allocations: 39.97 kB / 466 MB, free: 23.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.3351, allocations: 29.14 kB / 466 MB, free: 23.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.3352, allocations: 348.7 kB / 466.4 MB, free: 23.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.3354, allocations: 71.61 kB / 466.4 MB, free: 23.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.3356, allocations: 285.4 kB / 466.7 MB, free: 22.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.3359, allocations: 391.1 kB / 467.1 MB, free: 22.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.3359, allocations: 1.375 kB / 467.1 MB, free: 22.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005303/0.3365, allocations: 390.2 kB / 467.5 MB, free: 22.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3365, allocations: 9.281 kB / 467.5 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3365, allocations: 7 kB / 467.5 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.3366, allocations: 10.28 kB / 467.5 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.3368, allocations: 89.11 kB / 467.6 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.3369, allocations: 22.61 kB / 467.6 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.3371, allocations: 47.41 kB / 467.7 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.3372, allocations: 26.03 kB / 467.7 MB, free: 22.28 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.0001411/0.3373, allocations: 163 kB / 467.8 MB, free: 22.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.3374, allocations: 40.44 kB / 467.9 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004816/0.3379, allocations: 242.5 kB / 468.1 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3379, allocations: 1 kB / 468.1 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3379, allocations: 3.938 kB / 468.1 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3379, allocations: 3.938 kB / 468.1 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.3385, allocations: 0.5255 MB / 468.7 MB, free: 21.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3385, allocations: 5.5 kB / 468.7 MB, free: 21.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.3385, allocations: 4.719 kB / 468.7 MB, free: 21.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3385, allocations: 9.469 kB / 468.7 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3385, allocations: 0 / 468.7 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3385, allocations: 0 / 468.7 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3385, allocations: 432 / 468.7 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.3387, allocations: 110 kB / 468.8 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.3388, allocations: 137.3 kB / 468.9 MB, free: 21.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.3389, allocations: 0 / 468.9 MB, free: 21.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.134e-05/0.339, allocations: 5.312 kB / 468.9 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.339, allocations: 7.969 kB / 468.9 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.339, allocations: 1.375 kB / 468.9 MB, free: 21.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004078/0.3394, allocations: 361.6 kB / 469.3 MB, free: 21.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3394, allocations: 0 / 469.3 MB, free: 21.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007343/0.3402, allocations: 176.4 kB / 469.5 MB, free: 21.03 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.0005844/0.3408, allocations: 283.2 kB / 469.7 MB, free: 20.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003583/0.3411, allocations: 165.9 kB / 469.9 MB, free: 20.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3411, allocations: 0 / 469.9 MB, free: 20.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.07e-05/0.3412, allocations: 13.28 kB / 469.9 MB, free: 20.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/0.3418, allocations: 80.64 kB / 470 MB, free: 20.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.3429, allocations: 0.6732 MB / 470.7 MB, free: 20.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3432, allocations: 0.7833 MB / 471.4 MB, free: 19.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003662/0.3435, allocations: 105.4 kB / 471.6 MB, free: 19.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3437, allocations: 41.66 kB / 471.6 MB, free: 19.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3437, allocations: 4 kB / 471.6 MB, free: 19.62 MB / 350.1 MB Notification: Performance of Templates: time 0.01124/0.3549, allocations: 6.161 MB / 477.8 MB, free: 16.2 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)