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.001006/0.001006, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.000956/0.000956, allocations: 173 kB / 23.02 MB, free: 1.551 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.9517/0.9517, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.08738/0.08738, allocations: 17.38 MB / 277.3 MB, free: 11.66 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 1.452e-06/1.452e-06, allocations: 0 / 353.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.517e-05, allocations: 6.25 kB / 353.4 MB, free: 9.977 MB / 282.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.03036/0.03038, allocations: 32.82 MB / 386.3 MB, free: 9.266 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.0452, allocations: 15.18 MB / 401.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.04642, allocations: 31.75 kB / 401.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.04746, allocations: 420.3 kB / 401.9 MB, free: 9.594 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.05053, allocations: 1.334 MB / 403.2 MB, free: 8.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004292/0.05482, allocations: 2.26 MB / 405.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002853/0.05768, allocations: 2.483 MB / 408 MB, free: 3.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.05933, allocations: 1.302 MB / 409.3 MB, free: 2.129 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.06145, allocations: 1.599 MB / 410.9 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1437/0.2052, allocations: 1.025 MB / 411.9 MB, free: 39.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009547/0.2061, allocations: 230.9 kB / 412.1 MB, free: 39.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00454/0.2107, allocations: 1.504 MB / 413.6 MB, free: 39.01 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007621/0.2114, allocations: 0.5606 MB / 414.2 MB, free: 39.01 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.2131, allocations: 0.8262 MB / 415 MB, free: 39.01 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007231/0.2204, allocations: 3.46 MB / 418.5 MB, free: 38.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.2204, allocations: 0 / 418.5 MB, free: 38.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2204, allocations: 2.688 kB / 418.5 MB, free: 38.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001315/0.2205, allocations: 1.188 kB / 418.5 MB, free: 38.79 MB / 330.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.005821/0.2263, allocations: 2.632 MB / 421.1 MB, free: 37.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.2264, allocations: 9.406 kB / 421.1 MB, free: 37.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.2282, allocations: 0.8459 MB / 422 MB, free: 37.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.2296, allocations: 0.9792 MB / 422.9 MB, free: 36.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.2298, allocations: 260.6 kB / 423.2 MB, free: 36.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.23, allocations: 191.2 kB / 423.4 MB, free: 36.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.2324, allocations: 1.833 MB / 425.2 MB, free: 36.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/0.2324, allocations: 0 / 425.2 MB, free: 36.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.2325, allocations: 82.56 kB / 425.3 MB, free: 36.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.2326, allocations: 45.12 kB / 425.3 MB, free: 36.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.2346, allocations: 1.707 MB / 427 MB, free: 36.5 MB / 330.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.007221/0.2419, allocations: 7.021 MB / 434.1 MB, free: 32.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.2429, allocations: 0.8719 MB / 434.9 MB, free: 31.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.2433, allocations: 382.4 kB / 435.3 MB, free: 31.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004045/0.2473, allocations: 3.206 MB / 438.5 MB, free: 29.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.2474, allocations: 48.73 kB / 438.6 MB, free: 29.79 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005431/0.2479, allocations: 181.9 kB / 438.7 MB, free: 29.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 4.188e-06/0.2479, allocations: 0 / 438.7 MB, free: 29.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.0124/0.2603, allocations: 5.832 MB / 444.6 MB, free: 24.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.2604, allocations: 123.1 kB / 444.7 MB, free: 24.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000951/0.2613, allocations: 1.318 MB / 446 MB, free: 23.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.2614, allocations: 49.7 kB / 446.1 MB, free: 23.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.2617, allocations: 1.1 MB / 447.2 MB, free: 22.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.2619, allocations: 437.6 kB / 447.6 MB, free: 21.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.2623, allocations: 421 kB / 448 MB, free: 21.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.58e-05/0.2623, allocations: 480.8 kB / 448.5 MB, free: 20.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.2628, allocations: 362.5 kB / 448.8 MB, free: 20.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/0.2635, allocations: 1.395 MB / 450.2 MB, free: 18.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.2649, allocations: 1.908 MB / 452.1 MB, free: 16.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.2649, allocations: 8 kB / 452.1 MB, free: 16.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00362/0.2685, allocations: 2.218 MB / 454.3 MB, free: 14.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.2685, allocations: 16 kB / 454.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/0.2686, allocations: 24 kB / 454.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/0.2713, allocations: 0.9299 MB / 455.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/0.2722, allocations: 427.1 kB / 455.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004992/0.2772, allocations: 8.013 MB / 463.7 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.2785, allocations: 97.14 kB / 463.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.2786, allocations: 122.7 kB / 464 MB, free: 4.48 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.0005175/0.2792, allocations: 288.2 kB / 464.2 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.2794, allocations: 177.7 kB / 464.4 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/0.2822, allocations: 1.616 MB / 466 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.2822, allocations: 18.66 kB / 466.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2823, allocations: 0 / 466.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.2823, allocations: 11.36 kB / 466.1 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004537/0.2868, allocations: 2.82 MB / 468.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.2868, allocations: 0 / 468.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.2872, allocations: 175.3 kB / 469.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002547/0.2897, allocations: 0.8189 MB / 469.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.2898, allocations: 47.97 kB / 469.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004932/0.2948, allocations: 7.368 MB / 477.3 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2948, allocations: 4 kB / 477.3 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003897/0.2987, allocations: 2.136 MB / 479.4 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.2991, allocations: 127.1 kB / 479.6 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.2992, allocations: 26.66 kB / 479.6 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.2996, allocations: 31.98 kB / 479.6 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/0.2999, allocations: 116.2 kB / 479.7 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.779e-05/0.3, allocations: 55.97 kB / 479.8 MB, free: 4.379 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007932/0.3008, allocations: 0.7796 MB / 480.6 MB, free: 3.594 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3008, allocations: 0 / 480.6 MB, free: 3.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002454/0.3032, allocations: 0.794 MB / 481.3 MB, free: 2.801 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.00124/0.3045, allocations: 0.6978 MB / 482 MB, free: 2.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002839/0.3073, allocations: 1.887 MB / 483.9 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3073, allocations: 5.391 kB / 483.9 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.3085, allocations: 1.104 MB / 485 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3096, allocations: 263.4 kB / 485.3 MB, free: 14.97 MB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/0.3149, allocations: 2.943 MB / 488.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3152, allocations: 309.6 kB / 488.5 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008863/0.3161, allocations: 314.3 kB / 488.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003043/0.3164, allocations: 180.4 kB / 489 MB, free: 11.34 MB / 362.7 MB Notification: Performance of SimCode: time 2.454e-06/0.3164, allocations: 0 / 489 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Templates: time 0.04156/0.358, allocations: 34.89 MB / 0.5116 GB, free: 9.5 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.9746795813553035]