Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0008165/0.0008165, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001273/0.00209, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009181/0.0009181, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002113, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9364/0.9364, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1055/1.042, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1103/0.1103, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01106/0.1213, allocations: 6.96 MB / 268.4 MB, free: 6.402 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 269.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.273e-05, allocations: 2.312 kB / 269.7 MB, free: 5.117 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.MethanElectrosynthesis): time 0.1315/0.1315, allocations: 9.136 MB / 278.8 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.1445, allocations: 15.21 MB / 294 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000696/0.1452, allocations: 27.47 kB / 294 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.146, allocations: 449.1 kB / 294.5 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.1481, allocations: 1.317 MB / 295.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004002/0.1521, allocations: 2.242 MB / 298 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001749/0.1538, allocations: 2.483 MB / 300.5 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009962/0.1548, allocations: 1.326 MB / 301.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.156, allocations: 1.715 MB / 303.6 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008442/0.1569, allocations: 1.033 MB / 304.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.1571, allocations: 228 kB / 304.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.1595, allocations: 1.564 MB / 306.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.1598, allocations: 414.7 kB / 306.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005348/0.1603, allocations: 0.659 MB / 307.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.163, allocations: 3.152 MB / 310.6 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.508e-05/0.1631, allocations: 0 / 310.6 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1631, allocations: 0 / 310.6 MB, free: 9.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.1631, allocations: 3.938 kB / 310.6 MB, free: 9.512 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.00286/0.1659, allocations: 3.089 MB / 313.7 MB, free: 6.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.166, allocations: 12.03 kB / 313.7 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.1671, allocations: 0.8752 MB / 314.6 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008516/0.168, allocations: 0.7541 MB / 315.3 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.1681, allocations: 251.2 kB / 315.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.1683, allocations: 196.3 kB / 315.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.1696, allocations: 1.663 MB / 317.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.1697, allocations: 3.938 kB / 317.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1698, allocations: 76 kB / 317.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.1698, allocations: 48 kB / 317.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.171, allocations: 1.25 MB / 318.8 MB, free: 1.109 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.005599/0.1766, allocations: 5.458 MB / 324.3 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.1774, allocations: 0.7654 MB / 325 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.1776, allocations: 286.3 kB / 325.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003657/0.1813, allocations: 2.562 MB / 327.9 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.1813, allocations: 43.16 kB / 327.9 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003545/0.1817, allocations: 179 kB / 328.1 MB, free: 7.602 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 2.043e-06/0.1817, allocations: 0 / 328.1 MB, free: 7.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=115): time 0.01136/0.193, allocations: 5.03 MB / 333.1 MB, free: 2.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1931, allocations: 119.8 kB / 333.2 MB, free: 2.379 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009648/0.1941, allocations: 1.191 MB / 334.4 MB, free: 1.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.1941, allocations: 41.7 kB / 334.5 MB, free: 1.129 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.1944, allocations: 0.9412 MB / 335.4 MB, free: 180 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.1946, allocations: 436.3 kB / 335.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/0.195, allocations: 399.2 kB / 336.2 MB, free: 15.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.195, allocations: 313.2 kB / 336.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.1953, allocations: 242.8 kB / 336.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.1959, allocations: 0.9899 MB / 337.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.1969, allocations: 1.473 MB / 339.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.197, allocations: 8 kB / 339.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002802/0.1998, allocations: 1.666 MB / 340.9 MB, free: 9.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1998, allocations: 19.94 kB / 340.9 MB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.1998, allocations: 24 kB / 340.9 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.2021, allocations: 0.8956 MB / 341.8 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008228/0.2029, allocations: 0.4992 MB / 342.3 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003986/0.2069, allocations: 5.67 MB / 348 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008372/0.2077, allocations: 87.89 kB / 348.1 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.2078, allocations: 95.95 kB / 348.2 MB, free: 2.352 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 (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.0002893/0.2081, allocations: 251.8 kB / 348.4 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.2083, allocations: 111.9 kB / 348.5 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.2106, allocations: 1.278 MB / 349.8 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.2106, allocations: 15.94 kB / 349.8 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2106, allocations: 4 kB / 349.8 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2106, allocations: 7.922 kB / 349.8 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.214, allocations: 2.201 MB / 352 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.214, allocations: 0 / 352 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.2144, allocations: 223.7 kB / 352.3 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.715e-05/0.2145, allocations: 107.1 kB / 352.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/0.2166, allocations: 0.8039 MB / 353.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/0.2167, allocations: 43.97 kB / 353.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/0.22, allocations: 5.081 MB / 358.3 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.22, allocations: 3.938 kB / 358.3 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.2223, allocations: 1.594 MB / 359.9 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.2225, allocations: 24 kB / 359.9 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.2228, allocations: 35.92 kB / 359.9 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.223, allocations: 112.7 kB / 360.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.655e-05/0.223, allocations: 43.97 kB / 360.1 MB, free: 5.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003962/0.2234, allocations: 0.579 MB / 360.7 MB, free: 5.398 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2234, allocations: 0 / 360.7 MB, free: 5.398 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001489/0.2249, allocations: 0.7876 MB / 361.5 MB, free: 4.609 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 (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.0007818/0.2257, allocations: 0.7265 MB / 362.2 MB, free: 3.875 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.2275, allocations: 1.49 MB / 363.7 MB, free: 2.344 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.343e-05/0.2275, allocations: 31.84 kB / 363.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007672/0.2283, allocations: 0.8204 MB / 364.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007676/0.2291, allocations: 416.6 kB / 364.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.2412, allocations: 2.99 MB / 367.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.2414, allocations: 296.3 kB / 368.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006033/0.242, allocations: 297.4 kB / 368.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/0.2425, allocations: 365.1 kB / 368.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.2425, allocations: 0 / 368.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of Templates: time 0.03537/0.2779, allocations: 35.7 MB / 404.6 MB, free: 9.578 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5242600571364164]