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.001106/0.001106, allocations: 108.1 kB / 16.41 MB, free: 6.504 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.001197/0.001197, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.306/1.306, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07947/0.07947, allocations: 15.3 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 55.91 kB / 425.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09605, allocations: 53.62 MB / 479.5 MB, free: 5.793 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.0329/0.129, allocations: 22.75 MB / 0.4904 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007069/0.1361, allocations: 6.296 MB / 0.4966 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003407/0.1365, allocations: 7.938 kB / 0.4966 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.137, allocations: 158.8 kB / 0.4968 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006459/0.1377, allocations: 254.1 kB / 0.497 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.14, allocations: 0.9665 MB / 0.4979 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006305/0.1407, allocations: 0.5098 MB / 0.4984 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.141, allocations: 200.8 kB / 0.4986 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.1412, allocations: 247.3 kB / 0.4989 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.1416, allocations: 263 kB / 0.4991 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.192e-05/0.1417, allocations: 28 kB / 0.4991 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.1431, allocations: 0.55 MB / 0.4997 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1433, allocations: 95.62 kB / 0.4998 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.1435, allocations: 207 kB / 0.5 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.145, allocations: 1.063 MB / 0.501 GB, free: 4.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1451, allocations: 0 / 0.501 GB, free: 4.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1451, allocations: 4 kB / 0.501 GB, free: 4.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1451, allocations: 0 / 0.501 GB, free: 4.262 MB / 382.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.00112/0.1462, allocations: 0.7945 MB / 0.5018 GB, free: 3.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1463, allocations: 8.031 kB / 0.5018 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005571/0.1468, allocations: 116.1 kB / 0.5019 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.1474, allocations: 391.8 kB / 0.5023 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1474, allocations: 20.94 kB / 0.5023 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.1475, allocations: 28.12 kB / 0.5023 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.1482, allocations: 446.1 kB / 0.5028 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1482, allocations: 7.938 kB / 0.5028 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.1482, allocations: 8 kB / 0.5028 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1482, allocations: 8 kB / 0.5028 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/0.1491, allocations: 0.5794 MB / 0.5033 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2132/0.3623, allocations: 1.746 MB / 0.505 GB, free: 33.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.3627, allocations: 140.9 kB / 0.5052 GB, free: 33.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.3628, allocations: 85.88 kB / 0.5053 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002042/0.3649, allocations: 1.868 MB / 0.5071 GB, free: 31.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.3649, allocations: 34.67 kB / 0.5071 GB, free: 31.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.3649, allocations: 0 / 0.5071 GB, free: 31.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003893/0.3653, allocations: 192.4 kB / 0.5073 GB, free: 31.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.563e-05/0.3654, allocations: 52.5 kB / 0.5074 GB, free: 31.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/0.3658, allocations: 434.8 kB / 0.5078 GB, free: 31.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.3658, allocations: 33.05 kB / 0.5078 GB, free: 31.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.366, allocations: 259.7 kB / 0.508 GB, free: 31.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.366, allocations: 35.47 kB / 0.5081 GB, free: 31.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3661, allocations: 79.44 kB / 0.5082 GB, free: 31.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.3662, allocations: 348.6 kB / 0.5085 GB, free: 30.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.3663, allocations: 75.06 kB / 0.5086 GB, free: 30.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.3665, allocations: 285.9 kB / 0.5088 GB, free: 30.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.3669, allocations: 392.2 kB / 0.5092 GB, free: 30.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3669, allocations: 2.125 kB / 0.5092 GB, free: 30.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005564/0.3674, allocations: 393.2 kB / 0.5096 GB, free: 30.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3675, allocations: 8.188 kB / 0.5096 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.3675, allocations: 12.31 kB / 0.5096 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.3675, allocations: 11.83 kB / 0.5096 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.3678, allocations: 88.52 kB / 0.5097 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.3678, allocations: 15.22 kB / 0.5097 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.3681, allocations: 51.06 kB / 0.5098 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.3681, allocations: 26.27 kB / 0.5098 GB, free: 30.18 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.0001261/0.3683, allocations: 164.9 kB / 0.5099 GB, free: 30.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.3683, allocations: 36.59 kB / 0.51 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.3687, allocations: 242.7 kB / 0.5102 GB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3687, allocations: 6.844 kB / 0.5102 GB, free: 29.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3687, allocations: 1.625 kB / 0.5102 GB, free: 29.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.3688, allocations: 107.3 kB / 0.5103 GB, free: 29.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.3689, allocations: 6.969 kB / 0.5103 GB, free: 29.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.369, allocations: 3.344 kB / 0.5103 GB, free: 29.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.369, allocations: 1.219 kB / 0.5103 GB, free: 29.81 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001172/0.3691, allocations: 130.8 kB / 0.5105 GB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001147/0.3692, allocations: 257.5 kB / 0.5107 GB, free: 29.47 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.163e-05/0.3693, allocations: 11.11 kB / 0.5107 GB, free: 29.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003428/0.3696, allocations: 341.4 kB / 0.511 GB, free: 29.36 MB / 382.1 MB Notification: Performance of Backend: time 9.82e-07/0.3696, allocations: 0 / 0.511 GB, free: 29.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.3708, allocations: 0.5345 MB / 0.5116 GB, free: 29.23 MB / 382.1 MB Notification: Performance of SimCode: time 0.001123/0.3719, allocations: 1.123 MB / 0.5127 GB, free: 28.44 MB / 382.1 MB Notification: Performance of Templates: time 0.01362/0.3855, allocations: 8.598 MB / 0.5211 GB, free: 27.23 MB / 382.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)