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.0008352/0.0008352, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001205/0.00204, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007148/0.0007148, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009335/0.001648, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9106/0.9106, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09033/1.001, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.1169/0.1169, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01256/0.1295, allocations: 6.928 MB / 268.4 MB, free: 6.41 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: Performance of FrontEnd - loaded program: time 9.61e-07/9.61e-07, allocations: 0 / 269.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.191e-05, allocations: 6.109 kB / 269.8 MB, free: 5.098 MB / 266.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.1411/0.1411, allocations: 9.133 MB / 278.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01536/0.1564, allocations: 15.21 MB / 294.1 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.158, allocations: 28.06 kB / 294.1 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.1591, allocations: 450.1 kB / 294.6 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003632/0.1627, allocations: 1.311 MB / 295.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00577/0.1685, allocations: 2.248 MB / 298.1 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.1715, allocations: 2.475 MB / 300.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.1732, allocations: 1.329 MB / 301.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.175, allocations: 1.72 MB / 303.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.1762, allocations: 1.029 MB / 304.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003683/0.1766, allocations: 235.9 kB / 304.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003624/0.1802, allocations: 1.564 MB / 306.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.1805, allocations: 406.8 kB / 306.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006531/0.1812, allocations: 0.6629 MB / 307.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006674/0.1879, allocations: 3.148 MB / 310.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.787e-05/0.1879, allocations: 4 kB / 310.7 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1879, allocations: 4 kB / 310.7 MB, free: 9.523 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.884e-05/0.188, allocations: 0 / 310.7 MB, free: 9.523 MB / 298.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.00353/0.1915, allocations: 3.089 MB / 313.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1915, allocations: 15.97 kB / 313.8 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.1929, allocations: 0.8749 MB / 314.7 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.194, allocations: 0.7503 MB / 315.4 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.1941, allocations: 255.2 kB / 315.7 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.1943, allocations: 192.3 kB / 315.9 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.1963, allocations: 1.663 MB / 317.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.1963, allocations: 7.938 kB / 317.5 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.1965, allocations: 76 kB / 317.6 MB, free: 2.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-05/0.1965, allocations: 48 kB / 317.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.1979, allocations: 1.247 MB / 318.9 MB, free: 1.121 MB / 298.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.00647/0.2043, allocations: 5.458 MB / 324.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008009/0.2051, allocations: 0.7707 MB / 325.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.2054, allocations: 285.2 kB / 325.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003694/0.2091, allocations: 2.562 MB / 328 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.2091, allocations: 51.09 kB / 328 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004473/0.2096, allocations: 179 kB / 328.2 MB, free: 7.602 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 2.796e-06/0.2096, allocations: 0 / 328.2 MB, free: 7.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.01383/0.2234, allocations: 5.538 MB / 333.7 MB, free: 2.008 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.2235, allocations: 119.8 kB / 333.8 MB, free: 1.867 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009215/0.2244, allocations: 1.187 MB / 335 MB, free: 0.668 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.2244, allocations: 45.7 kB / 335.1 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.2248, allocations: 0.9452 MB / 336 MB, free: 15.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.2251, allocations: 436.4 kB / 336.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.2254, allocations: 403.1 kB / 336.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.2255, allocations: 301.1 kB / 337.1 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.2258, allocations: 250.8 kB / 337.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008874/0.2267, allocations: 0.9755 MB / 338.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.2279, allocations: 1.578 MB / 339.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.2279, allocations: 8 kB / 339.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.002728/0.2306, allocations: 1.662 MB / 341.6 MB, free: 9.336 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.2306, allocations: 19.94 kB / 341.6 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.2307, allocations: 24 kB / 341.6 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.2332, allocations: 0.8979 MB / 342.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008942/0.2341, allocations: 0.4953 MB / 343 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004899/0.239, allocations: 5.669 MB / 348.7 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.2401, allocations: 91.89 kB / 348.8 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.2402, allocations: 95.95 kB / 348.9 MB, free: 1.75 MB / 330.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 (225): * Single equations (assignments): 220 * 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.0004439/0.2407, allocations: 251.9 kB / 349.1 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.2408, allocations: 115.8 kB / 349.2 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.2432, allocations: 1.265 MB / 350.5 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.2432, allocations: 12 kB / 350.5 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2432, allocations: 4 kB / 350.5 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.2433, allocations: 3.984 kB / 350.5 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003949/0.2472, allocations: 2.208 MB / 352.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2472, allocations: 0 / 352.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.2476, allocations: 219.7 kB / 353 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.2478, allocations: 115.1 kB / 353.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/0.2501, allocations: 0.7959 MB / 353.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-05/0.2501, allocations: 44.06 kB / 353.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003895/0.254, allocations: 5.078 MB / 359 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.254, allocations: 4 kB / 359 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.2565, allocations: 1.59 MB / 360.6 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.2567, allocations: 24 kB / 360.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.2571, allocations: 27.98 kB / 360.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.2573, allocations: 116.7 kB / 360.7 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.705e-05/0.2574, allocations: 43.91 kB / 360.8 MB, free: 5.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004563/0.2578, allocations: 0.5712 MB / 361.4 MB, free: 4.824 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2578, allocations: 0 / 361.4 MB, free: 4.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001953/0.2598, allocations: 0.7953 MB / 362.2 MB, free: 4.027 MB / 346.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 (89): * Single equations (assignments): 84 * 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.0009985/0.2608, allocations: 0.7292 MB / 362.9 MB, free: 3.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.2627, allocations: 1.51 MB / 364.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.003e-05/0.2628, allocations: 31.84 kB / 364.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009087/0.2637, allocations: 0.8901 MB / 365.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.2653, allocations: 1.613 MB / 366.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.278, allocations: 2.974 MB / 369.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.2783, allocations: 296.4 kB / 370.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008216/0.2791, allocations: 294.6 kB / 370.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/0.2797, allocations: 369.1 kB / 370.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of SimCode: time 1.713e-06/0.2797, allocations: 4 kB / 370.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of Templates: time 0.0378/0.3175, allocations: 35.22 MB / 406.1 MB, free: 7.938 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5237519964575768]