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.001825/0.001825, allocations: 115.2 kB / 17.13 MB, free: 6.004 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.002084/0.002084, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1411/0.1411, allocations: 23.86 MB / 333.4 MB, free: 1.305 MB / 254.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.001972/0.001972, allocations: 72.47 kB / 467.2 MB, free: 30.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.11, allocations: 59.82 MB / 0.5146 GB, free: 12.48 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.03953/0.1495, allocations: 26.47 MB / 0.5405 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02152/0.171, allocations: 16.75 MB / 0.5568 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009543/0.172, allocations: 23.81 kB / 0.5569 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009749/0.173, allocations: 329.5 kB / 0.5572 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.1772, allocations: 1.49 MB / 0.5586 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005448/0.1827, allocations: 2.008 MB / 0.5606 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002586/0.1852, allocations: 1.545 MB / 0.5621 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.1863, allocations: 0.7107 MB / 0.5628 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.1874, allocations: 0.7794 MB / 0.5636 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.1886, allocations: 0.8644 MB / 0.5644 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.1889, allocations: 136 kB / 0.5645 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005388/0.1943, allocations: 1.81 MB / 0.5663 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003921/0.1946, allocations: 323 kB / 0.5666 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008438/0.1955, allocations: 0.6846 MB / 0.5673 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00786/0.2033, allocations: 3.447 MB / 0.5706 GB, free: 3.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2034, allocations: 0 / 0.5706 GB, free: 3.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2034, allocations: 0 / 0.5706 GB, free: 3.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.631e-05/0.2034, allocations: 0 / 0.5706 GB, free: 3.031 MB / 430.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.003839/0.2072, allocations: 1.852 MB / 0.5724 GB, free: 1.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2073, allocations: 16.03 kB / 0.5725 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.2086, allocations: 275.5 kB / 0.5727 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.2097, allocations: 0.6731 MB / 0.5734 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.2098, allocations: 112.4 kB / 0.5735 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.2101, allocations: 120.3 kB / 0.5736 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.2125, allocations: 1.325 MB / 0.5749 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.2125, allocations: 4 kB / 0.5749 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.2126, allocations: 48 kB / 0.5749 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.2126, allocations: 27.94 kB / 0.575 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.2155, allocations: 1.699 MB / 0.5766 GB, free: 12.73 MB / 446.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.007339/0.2229, allocations: 4.295 MB / 0.5808 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003733/0.2266, allocations: 2.211 MB / 0.583 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009247/0.2275, allocations: 0.5381 MB / 0.5835 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2571/0.4846, allocations: 5.402 MB / 0.5888 GB, free: 64.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.4847, allocations: 42.28 kB / 0.5888 GB, free: 64.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.976e-06/0.4847, allocations: 3.531 kB / 0.5888 GB, free: 64.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.0152/0.4999, allocations: 3.57 MB / 0.5923 GB, free: 63.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.4999, allocations: 61.38 kB / 0.5924 GB, free: 63.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007884/0.5007, allocations: 0.5875 MB / 0.593 GB, free: 63.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.5008, allocations: 41.39 kB / 0.593 GB, free: 63.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.501, allocations: 0.5473 MB / 0.5935 GB, free: 63.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.5013, allocations: 360.4 kB / 0.5939 GB, free: 62.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/0.5016, allocations: 227.7 kB / 0.5941 GB, free: 62.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5017, allocations: 400.1 kB / 0.5945 GB, free: 62.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006154/0.5023, allocations: 355.5 kB / 0.5948 GB, free: 62.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007928/0.5031, allocations: 0.7457 MB / 0.5955 GB, free: 61.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.5047, allocations: 1.203 MB / 0.5967 GB, free: 60.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.5047, allocations: 7.219 kB / 0.5967 GB, free: 60.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003998/0.5087, allocations: 1.476 MB / 0.5982 GB, free: 60.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.5087, allocations: 12.91 kB / 0.5982 GB, free: 60.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.5087, allocations: 11.62 kB / 0.5982 GB, free: 60.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/0.5107, allocations: 249.8 kB / 0.5984 GB, free: 60.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.5123, allocations: 326.8 kB / 0.5987 GB, free: 60.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004957/0.5172, allocations: 3.855 MB / 0.6025 GB, free: 56.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.5183, allocations: 45.3 kB / 0.6025 GB, free: 56.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.5184, allocations: 68.3 kB / 0.6026 GB, free: 56.62 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.0005156/0.5189, allocations: 275.5 kB / 0.6029 GB, free: 56.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.5191, allocations: 86.97 kB / 0.6029 GB, free: 56.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/0.5231, allocations: 1.338 MB / 0.6043 GB, free: 55.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.5231, allocations: 13.89 kB / 0.6043 GB, free: 55.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5231, allocations: 1.125 kB / 0.6043 GB, free: 55.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.5232, allocations: 5.906 kB / 0.6043 GB, free: 55.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.5246, allocations: 1.064 MB / 0.6053 GB, free: 55.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.5246, allocations: 1.375 kB / 0.6053 GB, free: 55.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.5259, allocations: 221 kB / 0.6055 GB, free: 55.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/0.5278, allocations: 227.8 kB / 0.6057 GB, free: 55.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.5279, allocations: 35.41 kB / 0.6058 GB, free: 55.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004291/0.5322, allocations: 3.777 MB / 0.6095 GB, free: 51.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.5322, allocations: 1.812 kB / 0.6095 GB, free: 51.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00434/0.5366, allocations: 1.742 MB / 0.6112 GB, free: 50.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.5368, allocations: 161.5 kB / 0.6113 GB, free: 50.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.5369, allocations: 21.5 kB / 0.6113 GB, free: 50.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.5374, allocations: 22.12 kB / 0.6114 GB, free: 50.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.5376, allocations: 82.38 kB / 0.6114 GB, free: 50.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.5377, allocations: 35.11 kB / 0.6115 GB, free: 50.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004265/0.5381, allocations: 397 kB / 0.6119 GB, free: 50.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5381, allocations: 0 / 0.6119 GB, free: 50.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002078/0.5402, allocations: 0.6795 MB / 0.6125 GB, free: 50.53 MB / 446.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.001378/0.5415, allocations: 0.8246 MB / 0.6133 GB, free: 50.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.5436, allocations: 1.194 MB / 0.6145 GB, free: 49.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5436, allocations: 0 / 0.6145 GB, free: 49.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008799/0.5445, allocations: 0.6993 MB / 0.6152 GB, free: 49.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/0.5454, allocations: 206.3 kB / 0.6154 GB, free: 49.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.5483, allocations: 2.046 MB / 0.6174 GB, free: 48.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.5487, allocations: 1.039 MB / 0.6184 GB, free: 47.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/0.5491, allocations: 203 kB / 0.6186 GB, free: 47.48 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5491, allocations: 0 / 0.6186 GB, free: 47.48 MB / 446.1 MB Notification: Performance of Templates: time 0.0235/0.5726, allocations: 26.77 MB / 0.6447 GB, free: 24.94 MB / 446.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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.957236046990147] Failed to read output from testmodel.py, exit status != 0: 0.5799192610138562 0.587986276 0.382462922 Calling exit ...