Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.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.001573/0.001573, allocations: 72.47 kB / 19.9 MB, free: 4.512 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.0008223/0.0008223, allocations: 165.9 kB / 23.18 MB, free: 1.23 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.9172/0.9172, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.08617/0.08617, allocations: 17.37 MB / 277.4 MB, free: 11.88 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.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [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.0009563/0.0009563, allocations: 65.42 kB / 412.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08579/0.08675, allocations: 59.84 MB / 472.7 MB, free: 13.87 MB / 378.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.MethanElectrosynthesis): time 0.03005/0.1168, allocations: 29.42 MB / 0.4903 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01576/0.1326, allocations: 19.47 MB / 0.5093 GB, free: 12.96 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.1339, allocations: 31.75 kB / 0.5094 GB, free: 12.93 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.1351, allocations: 0.527 MB / 0.5099 GB, free: 12.39 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003029/0.1381, allocations: 1.315 MB / 0.5112 GB, free: 11.07 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006865/0.145, allocations: 3.359 MB / 0.5144 GB, free: 7.691 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002653/0.1476, allocations: 2.398 MB / 0.5168 GB, free: 5.281 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.1491, allocations: 1.236 MB / 0.518 GB, free: 4 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.1504, allocations: 1.594 MB / 0.5195 GB, free: 2.398 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009592/0.1513, allocations: 1.085 MB / 0.5206 GB, free: 1.309 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.1515, allocations: 232 kB / 0.5208 GB, free: 1.082 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004448/0.156, allocations: 2.234 MB / 0.523 GB, free: 14.84 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.1564, allocations: 0.5374 MB / 0.5235 GB, free: 14.3 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000835/0.1572, allocations: 0.9532 MB / 0.5245 GB, free: 13.35 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008567/0.1658, allocations: 5.054 MB / 0.5294 GB, free: 8.273 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1658, allocations: 0 / 0.5294 GB, free: 8.273 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1658, allocations: 0 / 0.5294 GB, free: 8.273 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.119e-05/0.1658, allocations: 0 / 0.5294 GB, free: 8.273 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.00331/0.1692, allocations: 2.655 MB / 0.532 GB, free: 5.574 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1692, allocations: 12.03 kB / 0.532 GB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.1706, allocations: 0.5028 MB / 0.5325 GB, free: 5.059 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.1719, allocations: 1.141 MB / 0.5336 GB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.172, allocations: 262.8 kB / 0.5339 GB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.1722, allocations: 188 kB / 0.534 GB, free: 3.418 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.1748, allocations: 2.715 MB / 0.5367 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.1749, allocations: 7.938 kB / 0.5367 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.175, allocations: 76 kB / 0.5368 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.175, allocations: 48 kB / 0.5368 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/0.1783, allocations: 3.31 MB / 0.5401 GB, free: 13.19 MB / 458.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.007928/0.1862, allocations: 7.3 MB / 0.5472 GB, free: 5.738 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.1876, allocations: 1.105 MB / 0.5483 GB, free: 4.613 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/0.1883, allocations: 0.595 MB / 0.5488 GB, free: 4.008 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004703/0.193, allocations: 3.374 MB / 0.5521 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.193, allocations: 51.2 kB / 0.5522 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005092/0.1935, allocations: 186.9 kB / 0.5524 GB, free: 372 kB / 458.7 MB Notification: Performance of pre-optimization done (n=81): time 2.365e-06/0.1935, allocations: 4 kB / 0.5524 GB, free: 368 kB / 458.7 MB Notification: Performance of matching and sorting (n=115): time 0.01437/0.2079, allocations: 6.921 MB / 0.5591 GB, free: 9.383 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.208, allocations: 119.8 kB / 0.5592 GB, free: 9.242 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.2098, allocations: 1.831 MB / 0.561 GB, free: 7.398 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.591e-05/0.2099, allocations: 45.69 kB / 0.5611 GB, free: 7.348 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/0.2104, allocations: 1.045 MB / 0.5621 GB, free: 6.289 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.2106, allocations: 440.4 kB / 0.5625 GB, free: 5.855 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003886/0.211, allocations: 419.4 kB / 0.5629 GB, free: 5.438 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.2111, allocations: 301.1 kB / 0.5632 GB, free: 5.141 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000884/0.2119, allocations: 0.8746 MB / 0.5641 GB, free: 4.262 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.2132, allocations: 1.6 MB / 0.5656 GB, free: 2.316 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/0.2155, allocations: 2.356 MB / 0.5679 GB, free: 15.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.2155, allocations: 4 kB / 0.5679 GB, free: 15.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00453/0.22, allocations: 3.319 MB / 0.5712 GB, free: 12.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.22, allocations: 16 kB / 0.5712 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.2201, allocations: 24 kB / 0.5712 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/0.2225, allocations: 1.031 MB / 0.5722 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/0.2233, allocations: 435.3 kB / 0.5726 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006378/0.2297, allocations: 7.058 MB / 0.5795 GB, free: 3.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.2308, allocations: 103.9 kB / 0.5796 GB, free: 3.273 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.231, allocations: 120 kB / 0.5797 GB, free: 3.156 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,15), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007216/0.2317, allocations: 397.1 kB / 0.5801 GB, free: 2.758 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.232, allocations: 143.1 kB / 0.5802 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003999/0.236, allocations: 2.163 MB / 0.5824 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.236, allocations: 12 kB / 0.5824 GB, free: 420 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.236, allocations: 4 kB / 0.5824 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.236, allocations: 7.969 kB / 0.5824 GB, free: 408 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2084/0.4444, allocations: 3.503 MB / 0.5858 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.4444, allocations: 2.734 kB / 0.5858 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.4448, allocations: 173.8 kB / 0.586 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002375/0.4472, allocations: 0.9272 MB / 0.5869 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.457e-05/0.4473, allocations: 47.56 kB / 0.5869 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004322/0.4516, allocations: 6.341 MB / 0.5931 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4516, allocations: 2.594 kB / 0.5931 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.4557, allocations: 2.889 MB / 0.5959 GB, free: 99.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.456, allocations: 129 kB / 0.5961 GB, free: 99.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.4561, allocations: 22.53 kB / 0.5961 GB, free: 99.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.4566, allocations: 32.22 kB / 0.5961 GB, free: 99.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/0.4568, allocations: 118.8 kB / 0.5962 GB, free: 99.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.878e-05/0.4569, allocations: 54.23 kB / 0.5963 GB, free: 99.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009058/0.4578, allocations: 1.253 MB / 0.5975 GB, free: 98.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4578, allocations: 0 / 0.5975 GB, free: 98.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001983/0.4598, allocations: 0.9747 MB / 0.5985 GB, free: 98.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.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 (90): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,17), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001204/0.461, allocations: 1.006 MB / 0.5994 GB, free: 98.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00263/0.4636, allocations: 2.36 MB / 0.6017 GB, free: 97.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4636, allocations: 1.094 kB / 0.6017 GB, free: 97.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.4647, allocations: 1.095 MB / 0.6028 GB, free: 96.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.4655, allocations: 227.9 kB / 0.603 GB, free: 96.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.4687, allocations: 3.217 MB / 0.6062 GB, free: 94.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.469, allocations: 0.7325 MB / 0.6069 GB, free: 94.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005961/0.4696, allocations: 330.6 kB / 0.6072 GB, free: 94.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.4698, allocations: 172.1 kB / 0.6074 GB, free: 93.99 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4698, allocations: 0 / 0.6074 GB, free: 93.99 MB / 490.7 MB Notification: Performance of Templates: time 0.02754/0.4974, allocations: 35.83 MB / 0.6424 GB, free: 60 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.088372743921354] Failed to read output from testmodel.py, exit status != 0: 0.6472160210832953 0.509669525 0.342477147 Calling exit ...