Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001461/0.001461, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001898/0.001898, allocations: 214.3 kB / 22.3 MB, free: 5.281 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.553/1.553, allocations: 230.6 MB / 256.1 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1567/0.1567, allocations: 23.88 MB / 336.4 MB, free: 10.89 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_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_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.002373/0.002373, allocations: 71.89 kB / 471.7 MB, free: 6.91 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3863, allocations: 59.85 MB / 0.5191 GB, free: 9.773 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.07639/0.4627, allocations: 23.86 MB / 0.5424 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009708/0.4724, allocations: 5.561 MB / 0.5479 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005638/0.473, allocations: 11.88 kB / 0.5479 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007296/0.4737, allocations: 131.9 kB / 0.548 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.4748, allocations: 260 kB / 0.5482 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.4782, allocations: 0.9857 MB / 0.5492 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.4794, allocations: 0.5033 MB / 0.5497 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.4799, allocations: 166.6 kB / 0.5499 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.4803, allocations: 255.3 kB / 0.5501 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004624/0.4807, allocations: 253.7 kB / 0.5503 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.4808, allocations: 32 kB / 0.5504 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.4823, allocations: 0.5173 MB / 0.5509 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.4825, allocations: 100.3 kB / 0.551 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.4828, allocations: 172.8 kB / 0.5511 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.4853, allocations: 1.087 MB / 0.5522 GB, free: 6.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.4853, allocations: 0 / 0.5522 GB, free: 6.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4853, allocations: 0 / 0.5522 GB, free: 6.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.493e-05/0.4853, allocations: 0 / 0.5522 GB, free: 6.645 MB / 398.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.001776/0.4871, allocations: 0.7285 MB / 0.5529 GB, free: 5.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.4872, allocations: 8.031 kB / 0.5529 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006306/0.4878, allocations: 124.9 kB / 0.553 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006679/0.4885, allocations: 335.6 kB / 0.5534 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.4885, allocations: 17.03 kB / 0.5534 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.4886, allocations: 28.12 kB / 0.5534 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008768/0.4894, allocations: 452 kB / 0.5538 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.4895, allocations: 4 kB / 0.5538 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.4895, allocations: 16.5 kB / 0.5538 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.4895, allocations: 4 kB / 0.5539 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009836/0.4905, allocations: 0.5734 MB / 0.5544 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.493, allocations: 1.628 MB / 0.556 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.4934, allocations: 135.6 kB / 0.5561 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.4935, allocations: 76.69 kB / 0.5562 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002073/0.4956, allocations: 0.8986 MB / 0.5571 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.4956, allocations: 30.56 kB / 0.5571 GB, free: 1.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.204e-06/0.4956, allocations: 0 / 0.5571 GB, free: 1.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004924/0.4961, allocations: 190.3 kB / 0.5573 GB, free: 1.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.4962, allocations: 56.06 kB / 0.5573 GB, free: 1.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.4968, allocations: 400.2 kB / 0.5577 GB, free: 1.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.4969, allocations: 33.7 kB / 0.5578 GB, free: 1.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.4972, allocations: 272.7 kB / 0.558 GB, free: 1.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.4972, allocations: 35.12 kB / 0.5581 GB, free: 1.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.4974, allocations: 80.61 kB / 0.5581 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.4976, allocations: 345.5 kB / 0.5585 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.4978, allocations: 71 kB / 0.5585 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.4981, allocations: 289.9 kB / 0.5588 GB, free: 220 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.4987, allocations: 392.2 kB / 0.5592 GB, free: 15.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.4987, allocations: 0 / 0.5592 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007085/0.4994, allocations: 394.2 kB / 0.5596 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4994, allocations: 8 kB / 0.5596 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.4995, allocations: 8.75 kB / 0.5596 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.4995, allocations: 8 kB / 0.5596 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.4998, allocations: 91.12 kB / 0.5597 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.4998, allocations: 17.91 kB / 0.5597 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.5, allocations: 36.28 kB / 0.5597 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.5001, allocations: 28.84 kB / 0.5597 GB, free: 15.2 MB / 414.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.0001911/0.5003, allocations: 169.3 kB / 0.5599 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.5003, allocations: 31.77 kB / 0.5599 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/0.5008, allocations: 239.8 kB / 0.5602 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.5008, allocations: 0 / 0.5602 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5008, allocations: 4 kB / 0.5602 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5009, allocations: 8.672 kB / 0.5602 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.5014, allocations: 461.4 kB / 0.5606 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5014, allocations: 0.6562 kB / 0.5606 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.5014, allocations: 0.75 kB / 0.5606 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5014, allocations: 3.984 kB / 0.5606 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.5014, allocations: 4 kB / 0.5606 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.5014, allocations: 8.688 kB / 0.5606 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5014, allocations: 0 / 0.5606 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.5016, allocations: 105.6 kB / 0.5607 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.5016, allocations: 29.78 kB / 0.5608 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.5017, allocations: 12.66 kB / 0.5608 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.5018, allocations: 4.594 kB / 0.5608 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.5018, allocations: 0 / 0.5608 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.5018, allocations: 4.891 kB / 0.5608 GB, free: 14.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003853/0.5022, allocations: 312.4 kB / 0.5611 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5022, allocations: 0 / 0.5611 GB, free: 13.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006314/0.5028, allocations: 183.7 kB / 0.5613 GB, free: 13.69 MB / 414.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.0007534/0.5036, allocations: 296.9 kB / 0.5615 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003624/0.5039, allocations: 157.1 kB / 0.5617 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5039, allocations: 1.875 kB / 0.5617 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.5039, allocations: 5.969 kB / 0.5617 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.5044, allocations: 77.09 kB / 0.5618 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.5055, allocations: 0.5471 MB / 0.5623 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.5057, allocations: 176.2 kB / 0.5625 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.506, allocations: 103.5 kB / 0.5626 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.574e-05/0.5061, allocations: 40.91 kB / 0.5626 GB, free: 12.4 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5061, allocations: 0 / 0.5626 GB, free: 12.4 MB / 414.1 MB Notification: Performance of Templates: time 0.01325/0.5194, allocations: 6.128 MB / 0.5686 GB, free: 6.621 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.351627537980676] Failed to read output from testmodel.py, exit status != 0: 0.5292099714279175 0.545193799 0.056533818000000007 Calling exit ...