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.001304/0.001304, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001403/0.001403, allocations: 207.8 kB / 22.99 MB, free: 4.957 MB / 14.72 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.1338/0.1338, allocations: 23.88 MB / 337.1 MB, free: 10.97 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.91 kB / 472.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3346, allocations: 59.87 MB / 0.5198 GB, free: 9.816 MB / 382.1 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.06778/0.4024, allocations: 26.03 MB / 0.5452 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02087/0.4233, allocations: 14.71 MB / 0.5595 GB, free: 224 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.4243, allocations: 19.81 kB / 0.5596 GB, free: 204 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.4253, allocations: 304.4 kB / 0.5599 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.4296, allocations: 1.475 MB / 0.5613 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005812/0.4354, allocations: 2.019 MB / 0.5633 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00227/0.4377, allocations: 1.554 MB / 0.5648 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009296/0.4386, allocations: 0.7025 MB / 0.5655 GB, free: 11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008749/0.4395, allocations: 0.7871 MB / 0.5662 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.4406, allocations: 0.8683 MB / 0.5671 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.4408, allocations: 136 kB / 0.5672 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004576/0.4454, allocations: 1.739 MB / 0.5689 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003606/0.4457, allocations: 331 kB / 0.5692 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006464/0.4464, allocations: 0.5759 MB / 0.5698 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00572/0.4521, allocations: 3.44 MB / 0.5731 GB, free: 3.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4521, allocations: 0 / 0.5731 GB, free: 3.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4521, allocations: 0 / 0.5731 GB, free: 3.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.4521, allocations: 0 / 0.5731 GB, free: 3.113 MB / 414.1 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.003459/0.4556, allocations: 1.776 MB / 0.5749 GB, free: 1.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4556, allocations: 16.03 kB / 0.5749 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.4569, allocations: 275.5 kB / 0.5752 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.458, allocations: 0.6127 MB / 0.5758 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.4582, allocations: 138.1 kB / 0.5759 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.4584, allocations: 116.3 kB / 0.576 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.4607, allocations: 1.333 MB / 0.5773 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.4607, allocations: 4 kB / 0.5773 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.4608, allocations: 44 kB / 0.5774 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.4608, allocations: 24 kB / 0.5774 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.4636, allocations: 1.675 MB / 0.579 GB, free: 12.98 MB / 430.1 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.006573/0.4702, allocations: 3.387 MB / 0.5823 GB, free: 9.504 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/0.4736, allocations: 1.87 MB / 0.5841 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000875/0.4745, allocations: 0.5338 MB / 0.5847 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006141/0.4807, allocations: 2.787 MB / 0.5874 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.4807, allocations: 47.16 kB / 0.5874 GB, free: 4.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.605e-06/0.4807, allocations: 0 / 0.5874 GB, free: 4.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01634/0.497, allocations: 3.425 MB / 0.5908 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.4971, allocations: 68.41 kB / 0.5908 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006692/0.4978, allocations: 0.5701 MB / 0.5914 GB, free: 112 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.4978, allocations: 41.7 kB / 0.5914 GB, free: 64 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004249/0.4983, allocations: 0.5546 MB / 0.592 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.4986, allocations: 345 kB / 0.5923 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/0.4989, allocations: 238.8 kB / 0.5925 GB, free: 14.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.4991, allocations: 390.7 kB / 0.5929 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006511/0.4998, allocations: 362.4 kB / 0.5933 GB, free: 14.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009725/0.5008, allocations: 0.7438 MB / 0.594 GB, free: 13.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.5025, allocations: 1.208 MB / 0.5952 GB, free: 11.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5025, allocations: 4 kB / 0.5952 GB, free: 11.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00439/0.5069, allocations: 1.471 MB / 0.5966 GB, free: 10.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.5069, allocations: 12 kB / 0.5966 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.5069, allocations: 15.94 kB / 0.5966 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/0.5092, allocations: 245.6 kB / 0.5969 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.5107, allocations: 319.5 kB / 0.5972 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005874/0.5166, allocations: 3.589 MB / 0.6007 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.5173, allocations: 51.92 kB / 0.6007 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.5174, allocations: 67.98 kB / 0.6008 GB, free: 5.887 MB / 446.1 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.0004432/0.5179, allocations: 273.4 kB / 0.601 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.518, allocations: 79.48 kB / 0.6011 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004367/0.5224, allocations: 1.323 MB / 0.6024 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.5224, allocations: 15.94 kB / 0.6024 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5224, allocations: 0 / 0.6024 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.5224, allocations: 8.125 kB / 0.6024 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.5237, allocations: 0.8039 MB / 0.6032 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5237, allocations: 4 kB / 0.6032 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.5249, allocations: 207.8 kB / 0.6034 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002159/0.5271, allocations: 233.5 kB / 0.6036 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.828e-05/0.5272, allocations: 35.98 kB / 0.6037 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005322/0.5325, allocations: 3.484 MB / 0.6071 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.5325, allocations: 8.031 kB / 0.6071 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/0.5371, allocations: 1.733 MB / 0.6088 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.5372, allocations: 83.45 kB / 0.6089 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.5373, allocations: 20 kB / 0.6089 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005106/0.5379, allocations: 23.92 kB / 0.6089 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.538, allocations: 84.84 kB / 0.609 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/0.5381, allocations: 39.98 kB / 0.609 GB, free: 13.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00043/0.5385, allocations: 359.1 kB / 0.6094 GB, free: 12.78 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5385, allocations: 0 / 0.6094 GB, free: 12.78 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001983/0.5405, allocations: 0.6818 MB / 0.61 GB, free: 12.1 MB / 462.1 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.001551/0.5421, allocations: 0.8378 MB / 0.6109 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.5442, allocations: 1.18 MB / 0.612 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5442, allocations: 0 / 0.612 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.5453, allocations: 0.6949 MB / 0.6127 GB, free: 9.324 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.5464, allocations: 205.7 kB / 0.6129 GB, free: 9.121 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.5499, allocations: 2.001 MB / 0.6148 GB, free: 7.086 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.5504, allocations: 455.4 kB / 0.6153 GB, free: 6.609 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000749/0.5511, allocations: 225.8 kB / 0.6155 GB, free: 6.391 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.5514, allocations: 154.6 kB / 0.6156 GB, free: 6.242 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5514, allocations: 0 / 0.6156 GB, free: 6.242 MB / 462.1 MB Notification: Performance of Templates: time 0.0395/0.5909, allocations: 25.71 MB / 0.6407 GB, free: 12.72 MB / 494.1 MB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.783089702003053] Failed to read output from testmodel.py, exit status != 0: 0.5996229929878609 0.613410702 0.158324987 Calling exit ...