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.0008425/0.0008425, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.001978, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007009/0.0007009, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009246/0.001625, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9806/0.9806, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09279/1.073, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.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.08979/0.08979, allocations: 17.38 MB / 261.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01136/0.1012, allocations: 6.929 MB / 268.3 MB, free: 6.527 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.954e-06/1.954e-06, allocations: 0 / 269.5 MB, free: 5.266 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/2.006e-05, allocations: 2.312 kB / 269.5 MB, free: 5.262 MB / 266.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.01067/0.01069, allocations: 4.419 MB / 273.9 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1479/0.1586, allocations: 8.009 MB / 282 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006687/0.1593, allocations: 14 kB / 282 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.1598, allocations: 182.2 kB / 282.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.162, allocations: 0.7123 MB / 282.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.1653, allocations: 1.069 MB / 283.9 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.1666, allocations: 0.9579 MB / 284.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007076/0.1673, allocations: 470.8 kB / 285.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.1683, allocations: 0.6639 MB / 286 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008056/0.1691, allocations: 416.8 kB / 286.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.1693, allocations: 79.38 kB / 286.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.1719, allocations: 0.8639 MB / 287.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.1721, allocations: 141.1 kB / 287.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003441/0.1724, allocations: 235.2 kB / 287.7 MB, free: 13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002823/0.1752, allocations: 1.494 MB / 289.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-05/0.1753, allocations: 1.375 kB / 289.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1753, allocations: 0 / 289.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.885e-05/0.1753, allocations: 4 kB / 289.2 MB, free: 12.42 MB / 282.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.002208/0.1775, allocations: 1.348 MB / 290.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1775, allocations: 10.17 kB / 290.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007353/0.1783, allocations: 313.3 kB / 290.9 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006387/0.1789, allocations: 351 kB / 291.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.179, allocations: 105.9 kB / 291.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.1791, allocations: 70.48 kB / 291.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.1799, allocations: 0.5945 MB / 292 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1799, allocations: 192 / 292 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.18, allocations: 26.5 kB / 292 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.18, allocations: 22.75 kB / 292 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007853/0.1808, allocations: 450.2 kB / 292.5 MB, free: 10.92 MB / 282.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.002861/0.1836, allocations: 1.561 MB / 294 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.1848, allocations: 0.7692 MB / 294.8 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.185, allocations: 151.3 kB / 295 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00252/0.1875, allocations: 1.335 MB / 296.3 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.1876, allocations: 34.56 kB / 296.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=41): time 2.825e-06/0.1876, allocations: 4 kB / 296.3 MB, free: 7.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=46): time 0.001681/0.1893, allocations: 0.8256 MB / 297.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1893, allocations: 55.41 kB / 297.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.1896, allocations: 375 kB / 297.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1896, allocations: 29.7 kB / 297.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.1898, allocations: 348.6 kB / 298 MB, free: 6.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1899, allocations: 174.5 kB / 298.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.1901, allocations: 126.6 kB / 298.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1902, allocations: 366.6 kB / 298.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.1903, allocations: 68.73 kB / 298.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.1905, allocations: 313 kB / 299 MB, free: 4.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.191, allocations: 448.2 kB / 299.4 MB, free: 4.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.191, allocations: 1.25 kB / 299.4 MB, free: 4.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004717/0.1915, allocations: 405 kB / 299.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.1915, allocations: 8 kB / 299.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.1915, allocations: 9.016 kB / 299.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1915, allocations: 12 kB / 299.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.192, allocations: 240.2 kB / 300.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.192, allocations: 19.92 kB / 300.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.1921, allocations: 16 kB / 300.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.1921, allocations: 32 kB / 300.1 MB, free: 3.691 MB / 282.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.0001365/0.1923, allocations: 156.4 kB / 300.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.1923, allocations: 43.95 kB / 300.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.1928, allocations: 329 kB / 300.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.1928, allocations: 8 kB / 300.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1928, allocations: 2.875 kB / 300.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1928, allocations: 0 / 300.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.1932, allocations: 432.6 kB / 301.1 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1932, allocations: 4 kB / 301.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.1936, allocations: 164 kB / 301.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/0.1937, allocations: 59.66 kB / 301.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.1937, allocations: 7.984 kB / 301.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1937, allocations: 12 kB / 301.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1937, allocations: 0 / 301.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.1937, allocations: 7.938 kB / 301.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.1941, allocations: 497.9 kB / 301.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.1942, allocations: 12 kB / 301.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.284e-05/0.1943, allocations: 16 kB / 301.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.1943, allocations: 36.44 kB / 301.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.1944, allocations: 19.94 kB / 301.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1945, allocations: 144.7 kB / 302.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1945, allocations: 0 / 302.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008166/0.1953, allocations: 335 kB / 302.4 MB, free: 1.371 MB / 282.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.000723/0.196, allocations: 476.5 kB / 302.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.1963, allocations: 294.8 kB / 303.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.272e-05/0.1964, allocations: 12.48 kB / 303.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.1965, allocations: 140.7 kB / 303.3 MB, free: 468 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.1969, allocations: 184 kB / 303.5 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005573/0.2025, allocations: 1.126 MB / 304.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.2026, allocations: 137.8 kB / 304.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003076/0.2029, allocations: 118.7 kB / 304.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.2032, allocations: 189.2 kB / 305 MB, free: 14.66 MB / 298.7 MB Notification: Performance of SimCode: time 2.024e-06/0.2032, allocations: 4 kB / 305 MB, free: 14.66 MB / 298.7 MB Notification: Performance of Templates: time 0.01426/0.2174, allocations: 11.93 MB / 317 MB, free: 2.883 MB / 298.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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.07672087661922]