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.0008675/0.0008675, 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.0007419/0.0007419, 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.8242/0.8242, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.08166/0.08166, allocations: 17.36 MB / 277.3 MB, free: 11.84 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 412.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.331e-05, allocations: 10.22 kB / 412.7 MB, free: 15.91 MB / 394.7 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.018/0.01802, allocations: 24.15 MB / 436.9 MB, free: 7.836 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004576/0.0226, allocations: 5.553 MB / 442.4 MB, free: 2.262 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.02284, allocations: 11.88 kB / 442.4 MB, free: 2.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.0232, allocations: 142.9 kB / 442.6 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.02364, allocations: 277.7 kB / 442.8 MB, free: 1.836 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009877/0.02463, allocations: 1.005 MB / 443.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.02506, allocations: 0.5253 MB / 444.4 MB, free: 304 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.02526, allocations: 168.8 kB / 444.5 MB, free: 128 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1534/0.1787, allocations: 319 kB / 444.9 MB, free: 60.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.179, allocations: 226.1 kB / 445.1 MB, free: 60.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.1791, allocations: 30.67 kB / 445.1 MB, free: 60.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.1802, allocations: 0.5248 MB / 445.6 MB, free: 60.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.1803, allocations: 94.62 kB / 445.7 MB, free: 60.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1804, allocations: 142.2 kB / 445.9 MB, free: 60.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000996/0.1814, allocations: 1.145 MB / 447 MB, free: 60.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1814, allocations: 2.125 kB / 447 MB, free: 60.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1814, allocations: 0 / 447 MB, free: 60.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1814, allocations: 0 / 447 MB, free: 60.48 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.0006235/0.182, allocations: 0.7392 MB / 447.7 MB, free: 60 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.182, allocations: 9.406 kB / 447.8 MB, free: 60 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.1823, allocations: 115.2 kB / 447.9 MB, free: 59.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1826, allocations: 328.3 kB / 448.2 MB, free: 59.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1826, allocations: 16.56 kB / 448.2 MB, free: 59.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.1827, allocations: 24.66 kB / 448.2 MB, free: 59.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.183, allocations: 453.5 kB / 448.7 MB, free: 59.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.183, allocations: 2.531 kB / 448.7 MB, free: 59.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.1831, allocations: 13.84 kB / 448.7 MB, free: 59.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.1831, allocations: 6.469 kB / 448.7 MB, free: 59.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.1835, allocations: 0.5723 MB / 449.3 MB, free: 59.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.1846, allocations: 1.613 MB / 450.9 MB, free: 58.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1848, allocations: 132.1 kB / 451 MB, free: 58.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/0.1849, allocations: 76.55 kB / 451.1 MB, free: 58.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008659/0.1857, allocations: 0.917 MB / 452 MB, free: 58.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.124e-05/0.1857, allocations: 34 kB / 452 MB, free: 58.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.1857, allocations: 0 / 452 MB, free: 58.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002735/0.186, allocations: 180.2 kB / 452.2 MB, free: 58.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.186, allocations: 57.97 kB / 452.3 MB, free: 58.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.1863, allocations: 398.9 kB / 452.7 MB, free: 58.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.1863, allocations: 25.7 kB / 452.7 MB, free: 58.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1864, allocations: 274.3 kB / 452.9 MB, free: 57.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.1864, allocations: 41.55 kB / 453 MB, free: 57.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.1865, allocations: 76.12 kB / 453.1 MB, free: 57.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.965e-05/0.1865, allocations: 357.1 kB / 453.4 MB, free: 57.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.756e-05/0.1866, allocations: 66.53 kB / 453.5 MB, free: 57.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1868, allocations: 280.3 kB / 453.8 MB, free: 57.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.187, allocations: 383 kB / 454.1 MB, free: 56.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.187, allocations: 10.38 kB / 454.1 MB, free: 56.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003516/0.1873, allocations: 385.7 kB / 454.5 MB, free: 56.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1874, allocations: 9.844 kB / 454.5 MB, free: 56.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1874, allocations: 9.625 kB / 454.5 MB, free: 56.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1874, allocations: 9.562 kB / 454.5 MB, free: 56.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1875, allocations: 92.94 kB / 454.6 MB, free: 56.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1876, allocations: 11.97 kB / 454.6 MB, free: 56.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1877, allocations: 44.48 kB / 454.7 MB, free: 56.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.1877, allocations: 28.62 kB / 454.7 MB, free: 56.72 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 9.62e-05/0.1878, allocations: 171.3 kB / 454.9 MB, free: 56.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.1878, allocations: 39.55 kB / 454.9 MB, free: 56.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.1881, allocations: 232.7 kB / 455.1 MB, free: 56.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1881, allocations: 0 / 455.1 MB, free: 56.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1881, allocations: 0 / 455.1 MB, free: 56.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1881, allocations: 0 / 455.1 MB, free: 56.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.1883, allocations: 464.4 kB / 455.6 MB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1883, allocations: 2.781 kB / 455.6 MB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.485e-06/0.1883, allocations: 3.516 kB / 455.6 MB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1883, allocations: 5.375 kB / 455.6 MB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.1883, allocations: 2.75 kB / 455.6 MB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1883, allocations: 0 / 455.6 MB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1883, allocations: 0 / 455.6 MB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.859e-05/0.1884, allocations: 106.3 kB / 455.7 MB, free: 55.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.1884, allocations: 36.62 kB / 455.8 MB, free: 55.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1884, allocations: 9.625 kB / 455.8 MB, free: 55.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.1885, allocations: 0 / 455.8 MB, free: 55.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.1885, allocations: 3.156 kB / 455.8 MB, free: 55.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.1885, allocations: 0 / 455.8 MB, free: 55.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.1887, allocations: 307.3 kB / 456.1 MB, free: 55.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1887, allocations: 0 / 456.1 MB, free: 55.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003044/0.189, allocations: 194.6 kB / 456.3 MB, free: 55.71 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.0003187/0.1893, allocations: 307.6 kB / 456.6 MB, free: 55.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.1895, allocations: 155.4 kB / 456.7 MB, free: 55.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1895, allocations: 0 / 456.7 MB, free: 55.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.125e-06/0.1895, allocations: 16 kB / 456.7 MB, free: 55.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.1897, allocations: 71.86 kB / 456.8 MB, free: 55.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.1902, allocations: 0.5337 MB / 457.3 MB, free: 55.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.242e-05/0.1903, allocations: 182.3 kB / 457.5 MB, free: 55.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.1904, allocations: 63.61 kB / 457.6 MB, free: 55.1 MB / 410.7 MB Notification: Performance of SimCode: time 4.5e-07/0.1904, allocations: 0 / 457.6 MB, free: 55.1 MB / 410.7 MB Notification: Performance of Templates: time 0.004835/0.1952, allocations: 6.14 MB / 463.7 MB, free: 54.86 MB / 410.7 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.9697797959670424] Failed to read output from testmodel.py, exit status != 0: 0.20049593690782785 0.20648804099999996 0.02361807099999994 Calling exit ...