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.001548/0.001548, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001852/0.001852, allocations: 220.7 kB / 22.25 MB, free: 5.254 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.785 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.132/0.132, allocations: 23.89 MB / 336.3 MB, free: 10.93 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.001972/0.001972, allocations: 71.88 kB / 471.6 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2731, allocations: 59.86 MB / 0.519 GB, free: 9.77 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.06421/0.3373, allocations: 23.77 MB / 0.5422 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007849/0.3451, allocations: 5.566 MB / 0.5477 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.3455, allocations: 11.88 kB / 0.5477 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00047/0.3459, allocations: 140.8 kB / 0.5478 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007534/0.3467, allocations: 251.8 kB / 0.548 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.3489, allocations: 0.9857 MB / 0.549 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007811/0.3496, allocations: 0.5031 MB / 0.5495 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.35, allocations: 171 kB / 0.5497 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.3503, allocations: 248.4 kB / 0.5499 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.3508, allocations: 273.1 kB / 0.5502 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.649e-05/0.3509, allocations: 32 kB / 0.5502 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.3522, allocations: 0.5362 MB / 0.5507 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3524, allocations: 100.6 kB / 0.5508 GB, free: 7.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.3526, allocations: 168.5 kB / 0.551 GB, free: 7.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.3546, allocations: 1.09 MB / 0.552 GB, free: 6.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3546, allocations: 0 / 0.552 GB, free: 6.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3546, allocations: 0 / 0.552 GB, free: 6.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.3546, allocations: 0 / 0.552 GB, free: 6.715 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.001404/0.356, allocations: 0.7271 MB / 0.5527 GB, free: 6.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3561, allocations: 13.02 kB / 0.5528 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006092/0.3567, allocations: 118.1 kB / 0.5529 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006554/0.3573, allocations: 335.2 kB / 0.5532 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.3574, allocations: 25.72 kB / 0.5532 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.3574, allocations: 28.12 kB / 0.5532 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.3582, allocations: 443.5 kB / 0.5537 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3582, allocations: 0 / 0.5537 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.3583, allocations: 12 kB / 0.5537 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3583, allocations: 12.59 kB / 0.5537 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009393/0.3592, allocations: 0.5728 MB / 0.5543 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.3617, allocations: 1.616 MB / 0.5558 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.362, allocations: 128.4 kB / 0.556 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.3622, allocations: 80.77 kB / 0.556 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002154/0.3643, allocations: 0.9138 MB / 0.5569 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.3644, allocations: 31.08 kB / 0.557 GB, free: 2.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3644, allocations: 0 / 0.557 GB, free: 2.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004268/0.3648, allocations: 182.5 kB / 0.5571 GB, free: 1.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.3648, allocations: 56.06 kB / 0.5572 GB, free: 1.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.3653, allocations: 404.3 kB / 0.5576 GB, free: 1.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3653, allocations: 29.7 kB / 0.5576 GB, free: 1.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.3656, allocations: 276.1 kB / 0.5579 GB, free: 1.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.3656, allocations: 35.5 kB / 0.5579 GB, free: 1.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.3657, allocations: 79.81 kB / 0.558 GB, free: 1.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3659, allocations: 346.2 kB / 0.5583 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.366, allocations: 70.64 kB / 0.5584 GB, free: 0.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.3663, allocations: 289.4 kB / 0.5586 GB, free: 300 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.3668, allocations: 385.2 kB / 0.559 GB, free: 15.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3668, allocations: 4 kB / 0.559 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006517/0.3675, allocations: 381.1 kB / 0.5594 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3675, allocations: 12.56 kB / 0.5594 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3675, allocations: 7.984 kB / 0.5594 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3675, allocations: 12.81 kB / 0.5594 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.3678, allocations: 87.66 kB / 0.5595 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.3678, allocations: 17.81 kB / 0.5595 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.3681, allocations: 48.45 kB / 0.5596 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.3681, allocations: 28.75 kB / 0.5596 GB, free: 15.28 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.0001789/0.3683, allocations: 160.9 kB / 0.5597 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.3684, allocations: 39.7 kB / 0.5598 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.3688, allocations: 239 kB / 0.56 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3688, allocations: 0.5625 kB / 0.56 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3688, allocations: 0 / 0.56 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3688, allocations: 4.312 kB / 0.56 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.3694, allocations: 466 kB / 0.5604 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3694, allocations: 0 / 0.5604 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.3694, allocations: 5.359 kB / 0.5605 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3694, allocations: 3.938 kB / 0.5605 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.3694, allocations: 0 / 0.5605 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3694, allocations: 8 kB / 0.5605 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3694, allocations: 0.5156 kB / 0.5605 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.3696, allocations: 105.7 kB / 0.5606 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.3696, allocations: 29.83 kB / 0.5606 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.3697, allocations: 4.562 kB / 0.5606 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.3698, allocations: 4.5 kB / 0.5606 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.3698, allocations: 0.6094 kB / 0.5606 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.3698, allocations: 4 kB / 0.5606 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003815/0.3702, allocations: 308.9 kB / 0.5609 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3702, allocations: 0 / 0.5609 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006174/0.3708, allocations: 196.1 kB / 0.5611 GB, free: 13.77 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.0005883/0.3714, allocations: 300.3 kB / 0.5614 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.3717, allocations: 151.1 kB / 0.5615 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3717, allocations: 0 / 0.5615 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.3717, allocations: 21.95 kB / 0.5615 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.3721, allocations: 75.72 kB / 0.5616 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009029/0.373, allocations: 0.5478 MB / 0.5621 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.3732, allocations: 179.8 kB / 0.5623 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.3735, allocations: 96.47 kB / 0.5624 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.792e-05/0.3736, allocations: 43.23 kB / 0.5625 GB, free: 12.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3736, allocations: 0 / 0.5625 GB, free: 12.47 MB / 414.1 MB Notification: Performance of Templates: time 0.01181/0.3854, allocations: 6.665 MB / 0.569 GB, free: 6.18 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: 4.591677425894886] Failed to read output from testmodel.py, exit status != 0: 0.39376330096274614 0.407975948 0.050388401000000006 Calling exit ...