Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001083/0.001083, allocations: 76.55 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.0007862/0.0007862, allocations: 181.9 kB / 23.22 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.8308/0.8308, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.0776/0.0776, allocations: 17.46 MB / 277.4 MB, free: 11.77 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 412.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.384e-05, allocations: 2.281 kB / 412.9 MB, free: 15.73 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.01936/0.01938, allocations: 26.46 MB / 439.3 MB, free: 5.348 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1572/0.1766, allocations: 14.7 MB / 454 MB, free: 58.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.177, allocations: 21.38 kB / 454.1 MB, free: 58.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.1775, allocations: 305.3 kB / 454.4 MB, free: 57.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.1794, allocations: 1.519 MB / 455.9 MB, free: 57.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.1821, allocations: 2.086 MB / 458 MB, free: 55.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008174/0.1829, allocations: 1.594 MB / 459.6 MB, free: 55.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000452/0.1834, allocations: 0.7001 MB / 460.3 MB, free: 54.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.1839, allocations: 1.072 MB / 461.3 MB, free: 54.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005277/0.1844, allocations: 0.6952 MB / 462 MB, free: 54.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.1845, allocations: 138.2 kB / 462.2 MB, free: 54.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.1868, allocations: 1.709 MB / 463.9 MB, free: 53.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1869, allocations: 334.7 kB / 464.2 MB, free: 53.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.1872, allocations: 0.4949 MB / 464.7 MB, free: 53.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.1897, allocations: 3.656 MB / 468.3 MB, free: 51.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1897, allocations: 4 kB / 468.3 MB, free: 51.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1897, allocations: 3.938 kB / 468.4 MB, free: 51.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.1897, allocations: 0 / 468.4 MB, free: 51.84 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.00163/0.1913, allocations: 1.752 MB / 470.1 MB, free: 50.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1914, allocations: 9.719 kB / 470.1 MB, free: 50.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006177/0.192, allocations: 272.7 kB / 470.4 MB, free: 50.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006108/0.1926, allocations: 0.614 MB / 471 MB, free: 50.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.504e-05/0.1927, allocations: 141.2 kB / 471.1 MB, free: 50.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.1928, allocations: 111 kB / 471.2 MB, free: 50.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.194, allocations: 1.336 MB / 472.6 MB, free: 49.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.194, allocations: 3.281 kB / 472.6 MB, free: 49.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.714e-05/0.1941, allocations: 45.66 kB / 472.6 MB, free: 49.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.1941, allocations: 32.53 kB / 472.7 MB, free: 49.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.1955, allocations: 1.674 MB / 474.3 MB, free: 49.12 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.003329/0.1989, allocations: 3.373 MB / 477.7 MB, free: 47.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.2006, allocations: 1.882 MB / 479.6 MB, free: 46.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/0.2011, allocations: 0.5285 MB / 480.1 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003181/0.2043, allocations: 2.783 MB / 482.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2043, allocations: 44.69 kB / 482.9 MB, free: 45.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.124e-06/0.2043, allocations: 1.188 kB / 482.9 MB, free: 45.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.007059/0.2114, allocations: 3.431 MB / 486.4 MB, free: 43.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.2114, allocations: 66.22 kB / 486.4 MB, free: 43.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.2118, allocations: 0.5674 MB / 487 MB, free: 43.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.2119, allocations: 41.05 kB / 487 MB, free: 43.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.212, allocations: 0.5514 MB / 487.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.2122, allocations: 349 kB / 487.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.2124, allocations: 227.8 kB / 488.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.2125, allocations: 394.5 kB / 488.5 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.2129, allocations: 358.6 kB / 488.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.2134, allocations: 0.7522 MB / 489.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2144, allocations: 1.201 MB / 490.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.2144, allocations: 4.625 kB / 490.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002175/0.2166, allocations: 1.471 MB / 492.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.2166, allocations: 10.78 kB / 492.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.2167, allocations: 16.66 kB / 492.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008664/0.2175, allocations: 248.2 kB / 492.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/0.2183, allocations: 324.4 kB / 492.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/0.2211, allocations: 3.582 MB / 496.5 MB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.2215, allocations: 43.22 kB / 496.5 MB, free: 36.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.2216, allocations: 71.44 kB / 496.6 MB, free: 36.91 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.0003115/0.2219, allocations: 273.7 kB / 496.9 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.222, allocations: 85.72 kB / 497 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.2241, allocations: 1.325 MB / 498.3 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.2241, allocations: 13.95 kB / 498.3 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2241, allocations: 1.125 kB / 498.3 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.2241, allocations: 6.938 kB / 498.3 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/0.2249, allocations: 0.8005 MB / 499.1 MB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.2249, allocations: 1.219 kB / 499.1 MB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.2255, allocations: 219.2 kB / 499.3 MB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008184/0.2263, allocations: 228.7 kB / 499.5 MB, free: 35.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.2264, allocations: 33.53 kB / 499.6 MB, free: 35.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.2287, allocations: 3.478 MB / 0.4913 GB, free: 32.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2287, allocations: 4.969 kB / 0.4913 GB, free: 32.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.231, allocations: 1.742 MB / 0.493 GB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.231, allocations: 71.97 kB / 0.493 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.2311, allocations: 23.03 kB / 0.4931 GB, free: 31.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2313, allocations: 24.73 kB / 0.4931 GB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.2315, allocations: 85.97 kB / 0.4932 GB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.2315, allocations: 41.31 kB / 0.4932 GB, free: 31.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000272/0.2318, allocations: 360.7 kB / 0.4935 GB, free: 31.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2318, allocations: 0 / 0.4935 GB, free: 31.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001353/0.2331, allocations: 0.6793 MB / 0.4942 GB, free: 31.27 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.0009383/0.2341, allocations: 0.8556 MB / 0.495 GB, free: 30.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.2353, allocations: 1.189 MB / 0.4962 GB, free: 30.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2353, allocations: 0 / 0.4962 GB, free: 30.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005608/0.2358, allocations: 0.6918 MB / 0.4969 GB, free: 29.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.2364, allocations: 195.3 kB / 0.4971 GB, free: 29.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.2383, allocations: 1.954 MB / 0.499 GB, free: 28.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2386, allocations: 453.3 kB / 0.4994 GB, free: 28.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.2389, allocations: 203.3 kB / 0.4996 GB, free: 28.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2389, allocations: 1.531 kB / 0.4996 GB, free: 28.75 MB / 410.7 MB Notification: Performance of Templates: time 0.01455/0.2534, allocations: 27.27 MB / 0.5262 GB, free: 4.797 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.207811784930527] Failed to read output from testmodel.py, exit status != 0: 0.25845844112336636 0.26526931899999995 0.07397924899999994 Calling exit ...