Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction.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.0007873/0.0007873, 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.0007599/0.0007599, 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.876/0.876, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.08993/0.08993, allocations: 17.37 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 412.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.537e-05, allocations: 2.281 kB / 412.7 MB, free: 15.95 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66: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:14337:7-14337:66: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.SimpleReaction): time 0.01952/0.01954, allocations: 25.08 MB / 437.8 MB, free: 6.934 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1574/0.1769, allocations: 7.058 MB / 444.8 MB, free: 59.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.1774, allocations: 12.81 kB / 444.9 MB, free: 59.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.1778, allocations: 182.3 kB / 445 MB, free: 59.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.1789, allocations: 0.7226 MB / 445.8 MB, free: 59.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1805, allocations: 1.069 MB / 446.8 MB, free: 59.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.1809, allocations: 0.9709 MB / 447.8 MB, free: 59.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.1812, allocations: 428.5 kB / 448.2 MB, free: 59.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.1815, allocations: 0.6327 MB / 448.8 MB, free: 59.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.1818, allocations: 401 kB / 449.2 MB, free: 59.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.1819, allocations: 82.28 kB / 449.3 MB, free: 59.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007666/0.1827, allocations: 0.8328 MB / 450.1 MB, free: 59.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1828, allocations: 194.4 kB / 450.3 MB, free: 59.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.1829, allocations: 300.9 kB / 450.6 MB, free: 59.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.184, allocations: 1.916 MB / 452.5 MB, free: 58.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.184, allocations: 0 / 452.5 MB, free: 58.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.184, allocations: 6.141 kB / 452.6 MB, free: 58.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.184, allocations: 2.656 kB / 452.6 MB, free: 58.52 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.0009435/0.185, allocations: 1.102 MB / 453.7 MB, free: 57.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.185, allocations: 9.469 kB / 453.7 MB, free: 57.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.1854, allocations: 153.9 kB / 453.8 MB, free: 57.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.1858, allocations: 425.1 kB / 454.2 MB, free: 57.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/0.1859, allocations: 102.7 kB / 454.3 MB, free: 57.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/0.1859, allocations: 73.3 kB / 454.4 MB, free: 57.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.1866, allocations: 0.7762 MB / 455.2 MB, free: 57.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1866, allocations: 3.406 kB / 455.2 MB, free: 57.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.1866, allocations: 23.59 kB / 455.2 MB, free: 57.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1866, allocations: 22.75 kB / 455.2 MB, free: 57.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/0.1874, allocations: 0.8715 MB / 456.1 MB, free: 56.8 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.1891, allocations: 1.985 MB / 458.1 MB, free: 55.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008229/0.1899, allocations: 0.8127 MB / 458.9 MB, free: 55.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.1902, allocations: 278.8 kB / 459.2 MB, free: 55.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001488/0.1917, allocations: 1.5 MB / 460.7 MB, free: 54.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.1917, allocations: 36.62 kB / 460.7 MB, free: 54.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 1.262e-06/0.1917, allocations: 0 / 460.7 MB, free: 54.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.001215/0.1929, allocations: 1.167 MB / 461.9 MB, free: 53.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.1929, allocations: 54.38 kB / 461.9 MB, free: 53.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.1931, allocations: 405.6 kB / 462.3 MB, free: 53.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1931, allocations: 29.7 kB / 462.4 MB, free: 53.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.451e-05/0.1932, allocations: 381.4 kB / 462.7 MB, free: 53.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.1933, allocations: 169.3 kB / 462.9 MB, free: 53.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.609e-05/0.1934, allocations: 123.8 kB / 463 MB, free: 53.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.1934, allocations: 363 kB / 463.4 MB, free: 52.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.1936, allocations: 150 kB / 463.5 MB, free: 52.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.1937, allocations: 391.5 kB / 463.9 MB, free: 52.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.1941, allocations: 0.5838 MB / 464.5 MB, free: 52.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1941, allocations: 0 / 464.5 MB, free: 52.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004948/0.1946, allocations: 0.6148 MB / 465.1 MB, free: 51.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1946, allocations: 9.531 kB / 465.1 MB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1946, allocations: 6.531 kB / 465.1 MB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1947, allocations: 13 kB / 465.1 MB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.195, allocations: 205.9 kB / 465.3 MB, free: 51.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.195, allocations: 23.75 kB / 465.3 MB, free: 51.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.1951, allocations: 21.72 kB / 465.4 MB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.1952, allocations: 38.38 kB / 465.4 MB, free: 51.79 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 (83): * Single equations (assignments): 83 * 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.0001227/0.1953, allocations: 207.6 kB / 465.6 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.1953, allocations: 50.48 kB / 465.7 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.1958, allocations: 0.4929 MB / 466.2 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1958, allocations: 12.44 kB / 466.2 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1958, allocations: 0 / 466.2 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1958, allocations: 0 / 466.2 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.1962, allocations: 489.3 kB / 466.6 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1962, allocations: 2.656 kB / 466.6 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.1964, allocations: 140.9 kB / 466.8 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1964, allocations: 5.812 kB / 466.8 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.1964, allocations: 14.34 kB / 466.8 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1964, allocations: 6.781 kB / 466.8 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1965, allocations: 5.812 kB / 466.8 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.197, allocations: 0.7242 MB / 467.5 MB, free: 50.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.1971, allocations: 79.08 kB / 467.6 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.1971, allocations: 11.16 kB / 467.6 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1972, allocations: 9.906 kB / 467.6 MB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.1973, allocations: 51.69 kB / 467.7 MB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1973, allocations: 19.47 kB / 467.7 MB, free: 50.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1974, allocations: 255.9 kB / 468 MB, free: 50.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1974, allocations: 0 / 468 MB, free: 50.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004453/0.1978, allocations: 334.8 kB / 468.3 MB, free: 50.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.logn) * 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 (53): * Single equations (assignments): 53 * 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.0004391/0.1983, allocations: 454 kB / 468.7 MB, free: 50.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.1987, allocations: 417.1 kB / 469.1 MB, free: 50.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1987, allocations: 3.938 kB / 469.1 MB, free: 50.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.1988, allocations: 189.8 kB / 469.3 MB, free: 50.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1992, allocations: 133.9 kB / 469.5 MB, free: 50.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.2002, allocations: 1.147 MB / 470.6 MB, free: 49.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.2004, allocations: 292.5 kB / 470.9 MB, free: 49.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.2005, allocations: 96.33 kB / 471 MB, free: 49.3 MB / 410.7 MB Notification: Performance of SimCode: time 4.8e-07/0.2005, allocations: 0 / 471 MB, free: 49.3 MB / 410.7 MB Notification: Performance of Templates: time 0.008641/0.2091, allocations: 9.588 MB / 480.6 MB, free: 48.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.023155125789344] Failed to read output from testmodel.py, exit status != 0: 0.21400710567831993 0.22161481899999996 0.035999989 Calling exit ...