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.0007784/0.0007784, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007654/0.0007654, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8521/0.8521, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 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.08738/0.08738, allocations: 17.45 MB / 277.4 MB, free: 11.76 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 412.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.267e-05, allocations: 2.281 kB / 412.9 MB, free: 15.76 MB / 394.7 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.0184/0.01842, allocations: 24.14 MB / 437 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004301/0.02272, allocations: 5.553 MB / 442.6 MB, free: 2.121 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.0229, allocations: 11.88 kB / 442.6 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.02323, allocations: 146.8 kB / 442.7 MB, free: 1.965 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.02364, allocations: 269.8 kB / 443 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.02465, allocations: 1.013 MB / 444 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.02506, allocations: 0.5214 MB / 444.5 MB, free: 160 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1421/0.1671, allocations: 165.8 kB / 444.7 MB, free: 60.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.1675, allocations: 326.6 kB / 445 MB, free: 60.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.1678, allocations: 219.5 kB / 445.2 MB, free: 60.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.1678, allocations: 33.92 kB / 445.2 MB, free: 60.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.1688, allocations: 0.5263 MB / 445.8 MB, free: 60.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.746e-05/0.1689, allocations: 92.05 kB / 445.9 MB, free: 60.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.169, allocations: 139.4 kB / 446 MB, free: 60.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009154/0.1699, allocations: 1.16 MB / 447.2 MB, free: 60.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1699, allocations: 0 / 447.2 MB, free: 60.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1699, allocations: 0 / 447.2 MB, free: 60.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1699, allocations: 0 / 447.2 MB, free: 60.17 MB / 410.7 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.0007006/0.1706, allocations: 0.7291 MB / 447.9 MB, free: 59.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1707, allocations: 9.938 kB / 447.9 MB, free: 59.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002947/0.171, allocations: 113.3 kB / 448 MB, free: 59.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1713, allocations: 329.4 kB / 448.3 MB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1713, allocations: 23.03 kB / 448.4 MB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.1713, allocations: 26.25 kB / 448.4 MB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.1717, allocations: 446.6 kB / 448.8 MB, free: 59.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1717, allocations: 0 / 448.8 MB, free: 59.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.1717, allocations: 13.47 kB / 448.8 MB, free: 59.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1717, allocations: 9.719 kB / 448.8 MB, free: 59.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/0.1722, allocations: 0.5789 MB / 449.4 MB, free: 59.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.1733, allocations: 1.614 MB / 451 MB, free: 58.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1735, allocations: 130.3 kB / 451.2 MB, free: 58.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.1736, allocations: 77.53 kB / 451.2 MB, free: 58.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008732/0.1744, allocations: 0.918 MB / 452.2 MB, free: 58.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.031e-05/0.1745, allocations: 30.56 kB / 452.2 MB, free: 58.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.1745, allocations: 0 / 452.2 MB, free: 58.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002534/0.1747, allocations: 181.1 kB / 452.4 MB, free: 57.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.1747, allocations: 56.97 kB / 452.4 MB, free: 57.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.175, allocations: 402.4 kB / 452.8 MB, free: 57.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.175, allocations: 25.7 kB / 452.8 MB, free: 57.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.175, allocations: 271.7 kB / 453.1 MB, free: 57.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.1751, allocations: 42.94 kB / 453.1 MB, free: 57.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.1751, allocations: 78.39 kB / 453.2 MB, free: 57.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.928e-05/0.1752, allocations: 349.5 kB / 453.6 MB, free: 57.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.417e-05/0.1752, allocations: 68.75 kB / 453.6 MB, free: 57.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1754, allocations: 287.7 kB / 453.9 MB, free: 56.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1756, allocations: 386.3 kB / 454.3 MB, free: 56.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1756, allocations: 0 / 454.3 MB, free: 56.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003297/0.1759, allocations: 389.5 kB / 454.7 MB, free: 56.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1759, allocations: 9.312 kB / 454.7 MB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1759, allocations: 6.406 kB / 454.7 MB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1759, allocations: 9.719 kB / 454.7 MB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1761, allocations: 88.08 kB / 454.8 MB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1761, allocations: 24.66 kB / 454.8 MB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.1762, allocations: 36.61 kB / 454.8 MB, free: 56.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.1762, allocations: 25.88 kB / 454.9 MB, free: 56.41 MB / 410.7 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 8.789e-05/0.1763, allocations: 175.3 kB / 455 MB, free: 56.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.1764, allocations: 31.31 kB / 455.1 MB, free: 56.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.1766, allocations: 235.7 kB / 455.3 MB, free: 56.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1766, allocations: 0 / 455.3 MB, free: 56.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1766, allocations: 3.062 kB / 455.3 MB, free: 56.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1766, allocations: 0 / 455.3 MB, free: 56.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.1768, allocations: 463.9 kB / 455.7 MB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1768, allocations: 2.625 kB / 455.8 MB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-06/0.1768, allocations: 5.875 kB / 455.8 MB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1768, allocations: 0 / 455.8 MB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.1768, allocations: 0 / 455.8 MB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1768, allocations: 0 / 455.8 MB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1768, allocations: 4.734 kB / 455.8 MB, free: 55.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.019e-05/0.1769, allocations: 109.5 kB / 455.9 MB, free: 55.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.1769, allocations: 35.3 kB / 455.9 MB, free: 55.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1769, allocations: 10.28 kB / 455.9 MB, free: 55.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.872e-05/0.177, allocations: 0 / 455.9 MB, free: 55.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.177, allocations: 0 / 455.9 MB, free: 55.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-06/0.177, allocations: 0 / 455.9 MB, free: 55.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001752/0.1772, allocations: 315.1 kB / 456.2 MB, free: 55.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1772, allocations: 0 / 456.2 MB, free: 55.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.1775, allocations: 188.6 kB / 456.4 MB, free: 55.41 MB / 410.7 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.0003095/0.1778, allocations: 304.4 kB / 456.7 MB, free: 55.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.178, allocations: 162 kB / 456.9 MB, free: 55.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.178, allocations: 0 / 456.9 MB, free: 55.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.876e-06/0.178, allocations: 13.91 kB / 456.9 MB, free: 55.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.1782, allocations: 75.52 kB / 456.9 MB, free: 55.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.1787, allocations: 0.5357 MB / 457.5 MB, free: 54.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.615e-05/0.1788, allocations: 175.4 kB / 457.7 MB, free: 54.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.1789, allocations: 68.11 kB / 457.7 MB, free: 54.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1789, allocations: 0 / 457.7 MB, free: 54.8 MB / 410.7 MB Notification: Performance of Templates: time 0.004545/0.1834, allocations: 6.141 MB / 463.9 MB, free: 54.54 MB / 410.7 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.056480937637389] Failed to read output from testmodel.py, exit status != 0: 0.18805579375475645 0.19416122699999994 0.022678315 Calling exit ...