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.001489/0.001489, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001608/0.001608, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.506/1.506, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.1386/0.1386, allocations: 23.86 MB / 332.7 MB, free: 12.45 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.002236/0.002236, allocations: 71.89 kB / 466.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3316, allocations: 59.82 MB / 0.5139 GB, free: 9.156 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.03468/0.3663, allocations: 23.67 MB / 0.5371 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008442/0.3747, allocations: 6.358 MB / 0.5433 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003761/0.3751, allocations: 7.938 kB / 0.5433 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.3757, allocations: 160.5 kB / 0.5434 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007491/0.3764, allocations: 253.3 kB / 0.5437 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.3791, allocations: 0.974 MB / 0.5446 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008057/0.3799, allocations: 0.5076 MB / 0.5451 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.3802, allocations: 182.6 kB / 0.5453 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003173/0.3805, allocations: 247.2 kB / 0.5455 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004113/0.3809, allocations: 265.2 kB / 0.5458 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/0.381, allocations: 28 kB / 0.5458 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.3826, allocations: 0.5634 MB / 0.5464 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3828, allocations: 96.19 kB / 0.5465 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.383, allocations: 208 kB / 0.5467 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.3851, allocations: 1.085 MB / 0.5477 GB, free: 7.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3851, allocations: 0 / 0.5477 GB, free: 7.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3851, allocations: 0 / 0.5477 GB, free: 7.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3851, allocations: 0 / 0.5477 GB, free: 7.055 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.001362/0.3864, allocations: 0.8065 MB / 0.5485 GB, free: 6.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3865, allocations: 12.03 kB / 0.5485 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005876/0.3871, allocations: 118.5 kB / 0.5486 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006237/0.3877, allocations: 400.5 kB / 0.549 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.3877, allocations: 16.94 kB / 0.549 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.3878, allocations: 28.12 kB / 0.549 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.3885, allocations: 447.8 kB / 0.5495 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3885, allocations: 0 / 0.5495 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.3886, allocations: 20 kB / 0.5495 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.3886, allocations: 8 kB / 0.5495 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009507/0.3895, allocations: 0.584 MB / 0.5501 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.3921, allocations: 1.757 MB / 0.5518 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.3924, allocations: 132.6 kB / 0.5519 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.3926, allocations: 80.97 kB / 0.552 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002594/0.3951, allocations: 1.877 MB / 0.5538 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3952, allocations: 31.55 kB / 0.5539 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.522e-06/0.3952, allocations: 4 kB / 0.5539 GB, free: 0.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004849/0.3957, allocations: 190.2 kB / 0.554 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.3957, allocations: 55.53 kB / 0.5541 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005711/0.3963, allocations: 439.6 kB / 0.5545 GB, free: 328 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3963, allocations: 26.22 kB / 0.5545 GB, free: 296 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.3965, allocations: 274.4 kB / 0.5548 GB, free: 36 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.3966, allocations: 35.31 kB / 0.5548 GB, free: 4 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.3968, allocations: 81.14 kB / 0.5549 GB, free: 15.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3969, allocations: 351.4 kB / 0.5552 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3971, allocations: 66.83 kB / 0.5553 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.3974, allocations: 285.8 kB / 0.5556 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.3979, allocations: 384.6 kB / 0.5559 GB, free: 14.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3979, allocations: 4.891 kB / 0.556 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000701/0.3986, allocations: 393.1 kB / 0.5563 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3987, allocations: 8.766 kB / 0.5563 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3987, allocations: 12 kB / 0.5563 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.3987, allocations: 12.84 kB / 0.5564 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.399, allocations: 91.17 kB / 0.5564 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.399, allocations: 17.42 kB / 0.5565 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.3993, allocations: 44.28 kB / 0.5565 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.3994, allocations: 29.36 kB / 0.5565 GB, free: 14.14 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.0001883/0.3996, allocations: 156.8 kB / 0.5567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.3996, allocations: 39.72 kB / 0.5567 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.4001, allocations: 240.6 kB / 0.5569 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.4001, allocations: 0 / 0.5569 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.4001, allocations: 3.938 kB / 0.557 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4001, allocations: 0.7969 kB / 0.557 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/0.4008, allocations: 0.5362 MB / 0.5575 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4008, allocations: 0 / 0.5575 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.4008, allocations: 8.641 kB / 0.5575 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.4008, allocations: 4.5 kB / 0.5575 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.4009, allocations: 3.938 kB / 0.5575 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4009, allocations: 0 / 0.5575 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4009, allocations: 0.7031 kB / 0.5575 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.401, allocations: 113.6 kB / 0.5576 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.4011, allocations: 120.1 kB / 0.5577 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.4012, allocations: 0.75 kB / 0.5577 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4013, allocations: 8 kB / 0.5577 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.4013, allocations: 0.7031 kB / 0.5577 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.4013, allocations: 0 / 0.5577 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004671/0.4018, allocations: 360.4 kB / 0.5581 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4018, allocations: 3.938 kB / 0.5581 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006821/0.4024, allocations: 175.7 kB / 0.5582 GB, free: 12.41 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.000602/0.403, allocations: 312.6 kB / 0.5585 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.4034, allocations: 154.5 kB / 0.5587 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4034, allocations: 0.6875 kB / 0.5587 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.4034, allocations: 17.5 kB / 0.5587 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.404, allocations: 81.69 kB / 0.5588 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/0.4049, allocations: 0.5462 MB / 0.5593 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.4054, allocations: 0.7831 MB / 0.5601 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003052/0.4057, allocations: 109.1 kB / 0.5602 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.4058, allocations: 43.84 kB / 0.5602 GB, free: 10.47 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4058, allocations: 0 / 0.5602 GB, free: 10.47 MB / 414.1 MB Notification: Performance of Templates: time 0.01274/0.4185, allocations: 6.537 MB / 0.5666 GB, free: 4.477 MB / 414.1 MB " [Timeout remaining time 660] 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.021011609584093] Failed to read output from testmodel.py, exit status != 0: 0.42698194459080696 0.45151709199999995 0.061618559 Calling exit ...