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.00128/0.00128, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001396/0.001396, allocations: 214.5 kB / 22.25 MB, free: 5.129 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.953 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.1348/0.1348, allocations: 23.85 MB / 336.3 MB, free: 11.15 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.002129/0.002129, allocations: 72.17 kB / 471.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.268, allocations: 59.86 MB / 0.5191 GB, free: 9.836 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.03329/0.3013, allocations: 23.91 MB / 0.5424 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008518/0.3098, allocations: 6.372 MB / 0.5486 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/0.3102, allocations: 11.88 kB / 0.5486 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.3107, allocations: 153.5 kB / 0.5488 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000816/0.3115, allocations: 259.2 kB / 0.549 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.314, allocations: 0.9854 MB / 0.55 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008594/0.3148, allocations: 0.5037 MB / 0.5505 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.3152, allocations: 170.7 kB / 0.5507 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.3156, allocations: 247.3 kB / 0.5509 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.3161, allocations: 276.9 kB / 0.5512 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.952e-05/0.3162, allocations: 32 kB / 0.5512 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.3177, allocations: 0.5602 MB / 0.5517 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.3178, allocations: 96.66 kB / 0.5518 GB, free: 7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.318, allocations: 199.5 kB / 0.552 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.3199, allocations: 1.089 MB / 0.5531 GB, free: 5.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3199, allocations: 0 / 0.5531 GB, free: 5.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3199, allocations: 0 / 0.5531 GB, free: 5.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.3199, allocations: 0 / 0.5531 GB, free: 5.906 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.00129/0.3212, allocations: 0.7366 MB / 0.5538 GB, free: 5.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3212, allocations: 15.97 kB / 0.5538 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005702/0.3218, allocations: 118.2 kB / 0.5539 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000635/0.3224, allocations: 330 kB / 0.5542 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.3225, allocations: 21.03 kB / 0.5543 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.3225, allocations: 28.12 kB / 0.5543 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.3233, allocations: 451.7 kB / 0.5547 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3233, allocations: 0 / 0.5547 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.3233, allocations: 12.75 kB / 0.5547 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3234, allocations: 4 kB / 0.5547 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009669/0.3243, allocations: 0.5808 MB / 0.5553 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.3268, allocations: 1.731 MB / 0.557 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.3271, allocations: 128.7 kB / 0.5571 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3273, allocations: 76.64 kB / 0.5572 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.3293, allocations: 0.9494 MB / 0.5581 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3293, allocations: 30.56 kB / 0.5581 GB, free: 1.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3293, allocations: 0 / 0.5581 GB, free: 1.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004241/0.3297, allocations: 198.2 kB / 0.5583 GB, free: 0.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3298, allocations: 60.19 kB / 0.5584 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.3303, allocations: 431.7 kB / 0.5588 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3304, allocations: 29.7 kB / 0.5588 GB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.3306, allocations: 266.8 kB / 0.5591 GB, free: 236 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/0.3306, allocations: 43.3 kB / 0.5591 GB, free: 196 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3307, allocations: 72.05 kB / 0.5592 GB, free: 124 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3309, allocations: 351.4 kB / 0.5595 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.3311, allocations: 66.92 kB / 0.5596 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.3314, allocations: 293.4 kB / 0.5599 GB, free: 15.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.3319, allocations: 393.3 kB / 0.5602 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3319, allocations: 4 kB / 0.5602 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006507/0.3325, allocations: 385.1 kB / 0.5606 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3325, allocations: 8 kB / 0.5606 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3326, allocations: 9.5 kB / 0.5606 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.3326, allocations: 8 kB / 0.5606 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.3329, allocations: 95.55 kB / 0.5607 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.3329, allocations: 21.14 kB / 0.5608 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.3331, allocations: 40.48 kB / 0.5608 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.3332, allocations: 29.27 kB / 0.5608 GB, free: 14.33 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.0001668/0.3334, allocations: 165 kB / 0.561 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.832e-05/0.3334, allocations: 43.72 kB / 0.561 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/0.3339, allocations: 236.7 kB / 0.5612 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3339, allocations: 4 kB / 0.5612 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3339, allocations: 3.938 kB / 0.5613 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.3339, allocations: 0 / 0.5613 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.3345, allocations: 0.5042 MB / 0.5617 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3345, allocations: 64 / 0.5617 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.3346, allocations: 12.56 kB / 0.5618 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3346, allocations: 4.547 kB / 0.5618 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3346, allocations: 4 kB / 0.5618 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3346, allocations: 0 / 0.5618 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3346, allocations: 0.6562 kB / 0.5618 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.3347, allocations: 106 kB / 0.5619 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.734e-05/0.3348, allocations: 46.19 kB / 0.5619 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/0.3348, allocations: 5.25 kB / 0.5619 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.3349, allocations: 4.75 kB / 0.5619 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.335, allocations: 0 / 0.5619 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.335, allocations: 0 / 0.5619 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004422/0.3354, allocations: 365 kB / 0.5623 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3354, allocations: 3.938 kB / 0.5623 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005674/0.336, allocations: 179.7 kB / 0.5624 GB, free: 12.71 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.000521/0.3365, allocations: 300.5 kB / 0.5627 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.3368, allocations: 158.4 kB / 0.5629 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.3368, allocations: 0 / 0.5629 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.3368, allocations: 6.109 kB / 0.5629 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.3373, allocations: 91.48 kB / 0.563 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.3385, allocations: 0.5629 MB / 0.5635 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.339, allocations: 0.7861 MB / 0.5643 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.3392, allocations: 101.7 kB / 0.5644 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.3393, allocations: 47.94 kB / 0.5644 GB, free: 10.77 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3393, allocations: 4 kB / 0.5644 GB, free: 10.77 MB / 414.1 MB Notification: Performance of Templates: time 0.0125/0.3518, allocations: 6.644 MB / 0.5709 GB, free: 4.391 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.633471868000925] Failed to read output from testmodel.py, exit status != 0: 0.36044671991840005 0.37517281999999996 0.052174330000000005 Calling exit ...