Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 78.09 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 157.9 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.342/1.342, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1215/0.1215, allocations: 17.45 MB / 277.2 MB, free: 15.16 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 64.12 kB / 412.6 MB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1032, allocations: 59.88 MB / 472.5 MB, free: 9.551 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638: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 master/Obsolete.mo:12638:6-12638: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.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG): time 0.3852/0.4884, allocations: 23.85 MB / 496.3 MB, free: 39.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00499/0.4934, allocations: 5.561 MB / 0.4901 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.4936, allocations: 11.16 kB / 0.4901 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.494, allocations: 151.5 kB / 0.4903 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004869/0.4945, allocations: 251.5 kB / 0.4905 GB, free: 36.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.4962, allocations: 0.9776 MB / 0.4915 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.4966, allocations: 0.517 MB / 0.492 GB, free: 35.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.4968, allocations: 168.6 kB / 0.4921 GB, free: 35.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.497, allocations: 251.3 kB / 0.4924 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.4973, allocations: 252.9 kB / 0.4926 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.4974, allocations: 33.16 kB / 0.4926 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008432/0.4982, allocations: 0.5192 MB / 0.4931 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.065e-05/0.4983, allocations: 97.72 kB / 0.4932 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.4984, allocations: 170.4 kB / 0.4934 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4995, allocations: 1.084 MB / 0.4945 GB, free: 34.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.4995, allocations: 0 / 0.4945 GB, free: 34.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4995, allocations: 0 / 0.4945 GB, free: 34.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4995, allocations: 0 / 0.4945 GB, free: 34.96 MB / 446.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.0008263/0.5004, allocations: 0.7331 MB / 0.4952 GB, free: 34.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.5004, allocations: 9.125 kB / 0.4952 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004786/0.5009, allocations: 115.7 kB / 0.4953 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.5013, allocations: 335.6 kB / 0.4956 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.5013, allocations: 18.5 kB / 0.4956 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.5013, allocations: 30.66 kB / 0.4957 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.5018, allocations: 448.4 kB / 0.4961 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5018, allocations: 0 / 0.4961 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.5019, allocations: 11.31 kB / 0.4961 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5019, allocations: 6.25 kB / 0.4961 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.5025, allocations: 0.578 MB / 0.4967 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.5042, allocations: 1.611 MB / 0.4982 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.5044, allocations: 130.7 kB / 0.4984 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.5045, allocations: 78.16 kB / 0.4984 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/0.5062, allocations: 0.9145 MB / 0.4993 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.5062, allocations: 35.72 kB / 0.4994 GB, free: 31.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.5062, allocations: 0 / 0.4994 GB, free: 31.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003429/0.5065, allocations: 183.3 kB / 0.4995 GB, free: 31.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.5066, allocations: 56.69 kB / 0.4996 GB, free: 31.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.5069, allocations: 408.4 kB / 0.5 GB, free: 31.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.5069, allocations: 30.8 kB / 0.5 GB, free: 31.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.507, allocations: 268.4 kB / 0.5003 GB, free: 31.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.5071, allocations: 44.52 kB / 0.5003 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.049e-05/0.5071, allocations: 83 kB / 0.5004 GB, free: 31.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.5072, allocations: 341.4 kB / 0.5007 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.5073, allocations: 72.55 kB / 0.5008 GB, free: 30.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.5075, allocations: 290.7 kB / 0.5011 GB, free: 30.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.5078, allocations: 389.8 kB / 0.5014 GB, free: 30.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5078, allocations: 2.219 kB / 0.5014 GB, free: 30.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004963/0.5083, allocations: 379.7 kB / 0.5018 GB, free: 30.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5083, allocations: 8.875 kB / 0.5018 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.5083, allocations: 8.375 kB / 0.5018 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.5083, allocations: 13.69 kB / 0.5018 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.5086, allocations: 93.36 kB / 0.5019 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.5086, allocations: 14.25 kB / 0.5019 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.5088, allocations: 49.59 kB / 0.502 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.5089, allocations: 27.09 kB / 0.502 GB, free: 30.02 MB / 446.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.0001146/0.509, allocations: 158.7 kB / 0.5022 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.509, allocations: 34.67 kB / 0.5022 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.5094, allocations: 240.8 kB / 0.5024 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5094, allocations: 4.547 kB / 0.5024 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5094, allocations: 0 / 0.5024 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5094, allocations: 4.969 kB / 0.5024 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.5098, allocations: 461.9 kB / 0.5029 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5098, allocations: 3.938 kB / 0.5029 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.5098, allocations: 2.312 kB / 0.5029 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.5098, allocations: 0 / 0.5029 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.5098, allocations: 5.125 kB / 0.5029 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5098, allocations: 3.938 kB / 0.5029 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5098, allocations: 0 / 0.5029 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.444e-05/0.5099, allocations: 106.9 kB / 0.503 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.51, allocations: 24.5 kB / 0.503 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.51, allocations: 10.02 kB / 0.503 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.5101, allocations: 7.359 kB / 0.503 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.5101, allocations: 1.156 kB / 0.503 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.5101, allocations: 3.938 kB / 0.503 GB, free: 29.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003029/0.5104, allocations: 312.9 kB / 0.5033 GB, free: 29.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5104, allocations: 4.031 kB / 0.5033 GB, free: 29.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005206/0.5109, allocations: 182.2 kB / 0.5035 GB, free: 28.98 MB / 446.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.0003938/0.5113, allocations: 297 kB / 0.5038 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.5116, allocations: 156.5 kB / 0.5039 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5116, allocations: 5.312 kB / 0.5039 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.419e-05/0.5116, allocations: 11.88 kB / 0.504 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.512, allocations: 78.34 kB / 0.504 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.5127, allocations: 0.5433 MB / 0.5046 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.5128, allocations: 176.9 kB / 0.5047 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.5131, allocations: 95.16 kB / 0.5048 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.5131, allocations: 47.11 kB / 0.5049 GB, free: 28.25 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5131, allocations: 0 / 0.5049 GB, free: 28.25 MB / 446.1 MB Notification: Performance of Templates: time 0.00948/0.5226, allocations: 6.127 MB / 0.5108 GB, free: 27.48 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.665293910074979] Failed to read output from testmodel.py, exit status != 0: 0.5301192500628531 0.540257973 0.038197209 Calling exit ...