Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.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.001184/0.001184, allocations: 80.53 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.001216/0.001216, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.836/0.836, allocations: 177.1 MB / 203.5 MB, free: 5.699 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.07849/0.07849, allocations: 17.36 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.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 412.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.554e-05, allocations: 5.094 kB / 412.7 MB, free: 15.93 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.ClimateChange.HydrogenotrophicMethanogenesis): time 0.01756/0.01757, allocations: 26.46 MB / 439.2 MB, free: 5.531 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1505/0.1681, allocations: 14.7 MB / 453.9 MB, free: 58.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/0.1685, allocations: 21.22 kB / 453.9 MB, free: 58.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005313/0.169, allocations: 314.3 kB / 454.2 MB, free: 58.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.1706, allocations: 1.518 MB / 455.7 MB, free: 57.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.1729, allocations: 2.084 MB / 457.8 MB, free: 56.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007193/0.1736, allocations: 1.592 MB / 459.4 MB, free: 55.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000457/0.174, allocations: 0.6965 MB / 460.1 MB, free: 54.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005479/0.1746, allocations: 1.072 MB / 461.2 MB, free: 54.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005193/0.1751, allocations: 0.6999 MB / 461.9 MB, free: 54.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.1752, allocations: 132.3 kB / 462 MB, free: 54.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.1768, allocations: 1.718 MB / 463.7 MB, free: 53.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.177, allocations: 333.9 kB / 464 MB, free: 53.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.1772, allocations: 0.4967 MB / 464.5 MB, free: 53.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.1793, allocations: 3.662 MB / 468.2 MB, free: 52.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1793, allocations: 0 / 468.2 MB, free: 52.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1793, allocations: 0 / 468.2 MB, free: 52.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1793, allocations: 0 / 468.2 MB, free: 52.03 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.001491/0.1808, allocations: 1.75 MB / 469.9 MB, free: 51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1808, allocations: 13.22 kB / 470 MB, free: 50.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000562/0.1814, allocations: 275.8 kB / 470.2 MB, free: 50.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/0.182, allocations: 0.6102 MB / 470.8 MB, free: 50.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.085e-05/0.182, allocations: 138.3 kB / 471 MB, free: 50.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.1822, allocations: 123.1 kB / 471.1 MB, free: 50.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.1833, allocations: 1.331 MB / 472.4 MB, free: 49.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1833, allocations: 192 / 472.4 MB, free: 49.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.888e-05/0.1834, allocations: 45.56 kB / 472.5 MB, free: 49.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.1834, allocations: 35.22 kB / 472.5 MB, free: 49.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.1848, allocations: 1.673 MB / 474.2 MB, free: 49.3 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.003111/0.1879, allocations: 3.386 MB / 477.6 MB, free: 47.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.1896, allocations: 1.868 MB / 479.4 MB, free: 46.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.1901, allocations: 0.5358 MB / 480 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00303/0.1931, allocations: 2.78 MB / 482.7 MB, free: 45.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.1931, allocations: 45.69 kB / 482.8 MB, free: 45.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/0.1931, allocations: 0 / 482.8 MB, free: 45.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.006886/0.2, allocations: 3.425 MB / 486.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.2, allocations: 65.38 kB / 486.3 MB, free: 44.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.2004, allocations: 0.5713 MB / 486.9 MB, free: 43.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.2005, allocations: 45.3 kB / 486.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.2006, allocations: 0.5467 MB / 487.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.2008, allocations: 348.6 kB / 487.8 MB, free: 43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.2009, allocations: 228.8 kB / 488 MB, free: 42.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.201, allocations: 387 kB / 488.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.2014, allocations: 360.3 kB / 488.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.2019, allocations: 0.7504 MB / 489.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.2029, allocations: 1.202 MB / 490.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.2029, allocations: 4.406 kB / 490.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00209/0.205, allocations: 1.473 MB / 492.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.205, allocations: 10.19 kB / 492.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.2051, allocations: 16.5 kB / 492.2 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008438/0.2059, allocations: 254.8 kB / 492.4 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/0.2066, allocations: 324.1 kB / 492.8 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.2092, allocations: 3.578 MB / 496.3 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.2095, allocations: 43.45 kB / 496.4 MB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/0.2096, allocations: 71.44 kB / 496.4 MB, free: 37.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000247/0.2098, allocations: 278.2 kB / 496.7 MB, free: 36.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-05/0.2099, allocations: 86.28 kB / 496.8 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.212, allocations: 1.327 MB / 498.1 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.212, allocations: 17.09 kB / 498.1 MB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.212, allocations: 0 / 498.1 MB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.212, allocations: 6.359 kB / 498.2 MB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.2127, allocations: 0.7839 MB / 498.9 MB, free: 35.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2127, allocations: 1.734 kB / 498.9 MB, free: 35.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/0.2133, allocations: 218.8 kB / 499.2 MB, free: 35.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008154/0.2141, allocations: 232.7 kB / 499.4 MB, free: 35.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.2142, allocations: 32.86 kB / 499.4 MB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.2164, allocations: 3.482 MB / 0.4911 GB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2164, allocations: 1.094 kB / 0.4911 GB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.2187, allocations: 1.744 MB / 0.4928 GB, free: 31.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.2187, allocations: 80.27 kB / 0.4929 GB, free: 31.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.2188, allocations: 18.61 kB / 0.4929 GB, free: 31.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.219, allocations: 26.27 kB / 0.4929 GB, free: 31.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.2192, allocations: 87.48 kB / 0.493 GB, free: 31.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.2192, allocations: 41.16 kB / 0.4931 GB, free: 31.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002463/0.2194, allocations: 361 kB / 0.4934 GB, free: 31.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2194, allocations: 0 / 0.4934 GB, free: 31.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001276/0.2207, allocations: 0.6788 MB / 0.4941 GB, free: 31.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (solution.temperature,CH4.logn,CO2.logn,H2O.logn,H2.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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009783/0.2217, allocations: 0.851 MB / 0.4949 GB, free: 31.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.2229, allocations: 1.195 MB / 0.4961 GB, free: 30.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2229, allocations: 2.656 kB / 0.4961 GB, free: 30.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005581/0.2234, allocations: 0.6841 MB / 0.4967 GB, free: 30.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.224, allocations: 205.1 kB / 0.4969 GB, free: 30.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.2259, allocations: 1.948 MB / 0.4988 GB, free: 29.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.2262, allocations: 450.6 kB / 0.4993 GB, free: 28.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.2266, allocations: 202.2 kB / 0.4994 GB, free: 28.94 MB / 410.7 MB Notification: Performance of SimCode: time 6.42e-07/0.2266, allocations: 2.625 kB / 0.4995 GB, free: 28.94 MB / 410.7 MB Notification: Performance of Templates: time 0.01586/0.2424, allocations: 27.27 MB / 0.5261 GB, free: 5.059 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.542993235401809] Failed to read output from testmodel.py, exit status != 0: 0.24741662107408047 0.25496791199999996 0.07400508700000001 Calling exit ...