Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction2.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.000769/0.000769, allocations: 76.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.0007667/0.0007667, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.8611/0.8611, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.08327/0.08327, allocations: 17.37 MB / 277.3 MB, free: 11.86 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 412.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.533e-05, allocations: 7.625 kB / 412.7 MB, free: 15.92 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.SimpleReaction2): time 0.02002/0.02003, allocations: 25.76 MB / 438.5 MB, free: 6.238 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1527/0.1727, allocations: 10.26 MB / 448.7 MB, free: 59.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004106/0.1731, allocations: 15.47 kB / 448.7 MB, free: 59.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.1736, allocations: 239.4 kB / 449 MB, free: 59.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.175, allocations: 1.042 MB / 450 MB, free: 59.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.1771, allocations: 1.573 MB / 451.6 MB, free: 59.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008618/0.178, allocations: 1.301 MB / 452.9 MB, free: 58.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004576/0.1784, allocations: 0.5657 MB / 453.4 MB, free: 58.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005181/0.179, allocations: 0.8548 MB / 454.3 MB, free: 58.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.1794, allocations: 0.5391 MB / 454.8 MB, free: 58.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.285e-05/0.1795, allocations: 106.6 kB / 454.9 MB, free: 58.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.1808, allocations: 1.228 MB / 456.2 MB, free: 57.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1809, allocations: 269.2 kB / 456.4 MB, free: 57.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.1811, allocations: 406.8 kB / 456.8 MB, free: 57.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.1826, allocations: 2.737 MB / 459.6 MB, free: 56.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.1826, allocations: 0 / 459.6 MB, free: 56.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1826, allocations: 0 / 459.6 MB, free: 56.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1826, allocations: 0 / 459.6 MB, free: 56.64 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001148/0.1838, allocations: 1.44 MB / 461 MB, free: 55.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.1838, allocations: 12.09 kB / 461 MB, free: 55.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.1842, allocations: 214.8 kB / 461.2 MB, free: 55.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.1847, allocations: 0.5236 MB / 461.8 MB, free: 55.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/0.1848, allocations: 125.6 kB / 461.9 MB, free: 55.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.142e-05/0.1848, allocations: 91.7 kB / 462 MB, free: 55.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/0.1857, allocations: 1.046 MB / 463 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1857, allocations: 3.188 kB / 463 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.1858, allocations: 34.44 kB / 463.1 MB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1858, allocations: 26.77 kB / 463.1 MB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.1868, allocations: 1.261 MB / 464.3 MB, free: 54.43 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.002398/0.1892, allocations: 2.699 MB / 467 MB, free: 52.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.1903, allocations: 1.227 MB / 468.3 MB, free: 52.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.1906, allocations: 409.1 kB / 468.7 MB, free: 52.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002025/0.1927, allocations: 2.07 MB / 470.7 MB, free: 51.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.1927, allocations: 41.64 kB / 470.8 MB, free: 51.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 1.523e-06/0.1927, allocations: 2.656 kB / 470.8 MB, free: 51.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=63): time 0.001644/0.1943, allocations: 1.589 MB / 472.4 MB, free: 50.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.1944, allocations: 58.03 kB / 472.4 MB, free: 50.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.1946, allocations: 0.4995 MB / 472.9 MB, free: 50.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1946, allocations: 40.64 kB / 473 MB, free: 50.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1948, allocations: 480.6 kB / 473.4 MB, free: 49.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.939e-05/0.1948, allocations: 231.2 kB / 473.7 MB, free: 49.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1949, allocations: 176 kB / 473.8 MB, free: 49.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.195, allocations: 378.1 kB / 474.2 MB, free: 49.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.1952, allocations: 209.5 kB / 474.4 MB, free: 49.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.1955, allocations: 0.5331 MB / 474.9 MB, free: 48.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/0.196, allocations: 0.8194 MB / 475.8 MB, free: 48.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.196, allocations: 3.125 kB / 475.8 MB, free: 48.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0007086/0.1967, allocations: 0.8507 MB / 476.6 MB, free: 47.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1967, allocations: 11.31 kB / 476.6 MB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1967, allocations: 11.94 kB / 476.6 MB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1968, allocations: 15.59 kB / 476.6 MB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.1972, allocations: 263.6 kB / 476.9 MB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.1972, allocations: 22.44 kB / 476.9 MB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.1974, allocations: 35.56 kB / 477 MB, free: 47.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.1975, allocations: 53.38 kB / 477 MB, free: 47.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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.0001507/0.1976, allocations: 231.7 kB / 477.2 MB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.1977, allocations: 72.92 kB / 477.3 MB, free: 47.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006526/0.1983, allocations: 0.6827 MB / 478 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.1983, allocations: 9.719 kB / 478 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1983, allocations: 0 / 478 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1983, allocations: 3.469 kB / 478 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.1987, allocations: 0.579 MB / 478.6 MB, free: 46.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1987, allocations: 2.969 kB / 478.6 MB, free: 46.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.1991, allocations: 173.4 kB / 478.8 MB, free: 46.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1991, allocations: 3.031 kB / 478.8 MB, free: 46.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.1991, allocations: 21.53 kB / 478.8 MB, free: 46.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1991, allocations: 9.625 kB / 478.8 MB, free: 46.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1991, allocations: 8.328 kB / 478.8 MB, free: 46.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007494/0.1999, allocations: 0.9511 MB / 479.8 MB, free: 46.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.2, allocations: 111.4 kB / 479.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.2, allocations: 15.12 kB / 479.9 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2002, allocations: 18.31 kB / 479.9 MB, free: 46.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.2002, allocations: 59.31 kB / 479.9 MB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.2003, allocations: 27 kB / 480 MB, free: 46.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002181/0.2005, allocations: 320.2 kB / 480.3 MB, free: 46.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2005, allocations: 0 / 480.3 MB, free: 46.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000669/0.2012, allocations: 481.6 kB / 480.8 MB, free: 46.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * 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.0006383/0.2018, allocations: 0.6184 MB / 481.4 MB, free: 45.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005495/0.2023, allocations: 0.5697 MB / 481.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2023, allocations: 0 / 481.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.2026, allocations: 263.2 kB / 482.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.203, allocations: 161 kB / 482.4 MB, free: 45.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.2043, allocations: 1.452 MB / 483.8 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.2045, allocations: 369.7 kB / 484.2 MB, free: 44.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.2047, allocations: 127.5 kB / 484.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2047, allocations: 1.062 kB / 484.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of Templates: time 0.01212/0.2168, allocations: 13.14 MB / 497.4 MB, free: 43.65 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.957225572317839] Failed to read output from testmodel.py, exit status != 0: 0.22154488880187273 0.227153652 0.043304832 Calling exit ...