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.0007215/0.0007215, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001842/0.002563, allocations: 440 kB / 10.41 MB, free: 280 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.001134/0.001134, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002738, allocations: 475.6 kB / 11.79 MB, free: 2.371 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 1.064/1.064, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09715/1.161, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.09424/0.09424, allocations: 17.37 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0126/0.1068, allocations: 6.926 MB / 268.4 MB, free: 6.41 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.443e-06/1.443e-06, allocations: 0 / 269.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.88e-05, allocations: 6.25 kB / 269.7 MB, free: 5.105 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.SimpleReaction2): time 0.1495/0.1496, allocations: 5.204 MB / 274.9 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.1634, allocations: 11.68 MB / 286.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008446/0.1642, allocations: 14.56 kB / 286.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.1649, allocations: 245.8 kB / 286.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.1681, allocations: 1.016 MB / 287.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005002/0.1731, allocations: 1.571 MB / 289.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.1749, allocations: 1.286 MB / 290.8 MB, free: 10 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008964/0.1758, allocations: 0.599 MB / 291.4 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.1771, allocations: 0.906 MB / 292.3 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.1782, allocations: 0.5547 MB / 292.8 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002846/0.1784, allocations: 106.3 kB / 292.9 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003849/0.1823, allocations: 1.29 MB / 294.2 MB, free: 8.793 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.1825, allocations: 193 kB / 294.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.183, allocations: 323 kB / 294.7 MB, free: 8.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.1868, allocations: 2.139 MB / 296.9 MB, free: 7.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.516e-05/0.1868, allocations: 7.984 kB / 296.9 MB, free: 7.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1868, allocations: 0 / 296.9 MB, free: 7.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.1869, allocations: 3.938 kB / 296.9 MB, free: 7.426 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002287/0.1892, allocations: 1.773 MB / 298.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1892, allocations: 16.02 kB / 298.7 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007374/0.1899, allocations: 408.7 kB / 299.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/0.1905, allocations: 419.2 kB / 299.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.1906, allocations: 122 kB / 299.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.1907, allocations: 104.3 kB / 299.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/0.1914, allocations: 0.7818 MB / 300.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1915, allocations: 4.188 kB / 300.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003264/0.1918, allocations: 36.12 kB / 300.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.1918, allocations: 25.25 kB / 300.5 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006699/0.1925, allocations: 0.637 MB / 301.2 MB, free: 3.016 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.002589/0.1951, allocations: 2.131 MB / 303.3 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.1963, allocations: 1.232 MB / 304.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.1965, allocations: 199.8 kB / 304.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/0.1987, allocations: 1.837 MB / 306.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1988, allocations: 39.06 kB / 306.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 1.924e-06/0.1988, allocations: 4 kB / 306.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.002676/0.2014, allocations: 1.485 MB / 308.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.2015, allocations: 60 kB / 308.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.2017, allocations: 470.8 kB / 308.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.2018, allocations: 37.69 kB / 308.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.202, allocations: 436.6 kB / 309.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.2021, allocations: 234 kB / 309.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.2022, allocations: 174.5 kB / 309.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2023, allocations: 382.6 kB / 309.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.2024, allocations: 90.09 kB / 309.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.2027, allocations: 438.5 kB / 310.4 MB, free: 9.492 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.2032, allocations: 0.6371 MB / 311 MB, free: 8.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2032, allocations: 8 kB / 311 MB, free: 8.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0005294/0.2037, allocations: 0.5276 MB / 311.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.2037, allocations: 15.98 kB / 311.6 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.2037, allocations: 8 kB / 311.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.2038, allocations: 20 kB / 311.6 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/0.2043, allocations: 307.8 kB / 311.9 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.2043, allocations: 27.92 kB / 311.9 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.2045, allocations: 24 kB / 311.9 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.2046, allocations: 42.56 kB / 312 MB, free: 7.727 MB / 298.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.0001551/0.2048, allocations: 184.2 kB / 312.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/0.2048, allocations: 59.94 kB / 312.2 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.2053, allocations: 444.1 kB / 312.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2053, allocations: 8 kB / 312.7 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.2053, allocations: 0 / 312.7 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2053, allocations: 3.984 kB / 312.7 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.2058, allocations: 0.5123 MB / 313.2 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2059, allocations: 0 / 313.2 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.2063, allocations: 211.9 kB / 313.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.2064, allocations: 87.44 kB / 313.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.2064, allocations: 7.938 kB / 313.5 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.2064, allocations: 16 kB / 313.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.2064, allocations: 7.984 kB / 313.5 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.2064, allocations: 7.938 kB / 313.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.2069, allocations: 0.5928 MB / 314.1 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.207, allocations: 16 kB / 314.1 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.2071, allocations: 12 kB / 314.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.2072, allocations: 56.5 kB / 314.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.2072, allocations: 16 kB / 314.2 MB, free: 5.422 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.2073, allocations: 192.4 kB / 314.4 MB, free: 5.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2073, allocations: 0 / 314.4 MB, free: 5.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001352/0.2087, allocations: 486.6 kB / 314.9 MB, free: 4.758 MB / 298.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.0009816/0.2097, allocations: 0.6431 MB / 315.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000445/0.2101, allocations: 417.3 kB / 315.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.002e-05/0.2101, allocations: 20.44 kB / 315.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.2103, allocations: 235 kB / 316.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/0.2111, allocations: 1.082 MB / 317.2 MB, free: 2.195 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/0.2175, allocations: 1.415 MB / 318.6 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.2176, allocations: 163.3 kB / 318.8 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004039/0.218, allocations: 162.5 kB / 319 MB, free: 404 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.2184, allocations: 237.2 kB / 319.2 MB, free: 164 kB / 298.7 MB Notification: Performance of SimCode: time 2.134e-06/0.2184, allocations: 0 / 319.2 MB, free: 164 kB / 298.7 MB Notification: Performance of Templates: time 0.01861/0.237, allocations: 16.47 MB / 335.7 MB, free: 15.86 MB / 330.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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.099645420908928]