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.001188/0.001188, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00108/0.00108, allocations: 173 kB / 23.49 MB, free: 1.059 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.9513/0.9513, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.105/0.105, allocations: 17.37 MB / 277.6 MB, free: 11.73 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.874e-06/1.874e-06, allocations: 0 / 353.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.978e-05, allocations: 2.312 kB / 353.5 MB, free: 10.3 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.05293/0.05296, allocations: 33.03 MB / 386.5 MB, free: 9.391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01854/0.0715, allocations: 22.12 MB / 408.6 MB, free: 3.191 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.07299, allocations: 27.81 kB / 408.6 MB, free: 3.164 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.07423, allocations: 0.5425 MB / 409.2 MB, free: 2.617 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.07733, allocations: 1.357 MB / 410.5 MB, free: 1.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1475/0.2248, allocations: 3.438 MB / 414 MB, free: 35.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003471/0.2283, allocations: 2.481 MB / 416.5 MB, free: 34.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.2305, allocations: 1.303 MB / 417.8 MB, free: 34.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.2336, allocations: 1.54 MB / 419.3 MB, free: 34.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.2355, allocations: 1.002 MB / 420.3 MB, free: 34.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006882/0.2362, allocations: 237.8 kB / 420.5 MB, free: 34.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005926/0.2421, allocations: 2.247 MB / 422.8 MB, free: 34.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008198/0.2429, allocations: 0.5542 MB / 423.3 MB, free: 34.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.2443, allocations: 0.8204 MB / 424.2 MB, free: 34.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.2543, allocations: 4.368 MB / 428.5 MB, free: 32.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2543, allocations: 2.656 kB / 428.5 MB, free: 32.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2543, allocations: 0 / 428.5 MB, free: 32.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.776e-05/0.2543, allocations: 0 / 428.5 MB, free: 32.98 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.003705/0.258, allocations: 2.765 MB / 431.3 MB, free: 31.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2581, allocations: 12.91 kB / 431.3 MB, free: 31.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.2597, allocations: 0.8893 MB / 432.2 MB, free: 30.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.261, allocations: 1.157 MB / 433.4 MB, free: 30.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.2611, allocations: 252.8 kB / 433.6 MB, free: 30.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.2613, allocations: 193.2 kB / 433.8 MB, free: 30.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.2635, allocations: 1.834 MB / 435.6 MB, free: 29.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.2635, allocations: 3.562 kB / 435.6 MB, free: 29.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.2636, allocations: 84.97 kB / 435.7 MB, free: 29.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.2637, allocations: 48.16 kB / 435.8 MB, free: 29.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.2658, allocations: 1.695 MB / 437.5 MB, free: 28.77 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.006783/0.2726, allocations: 7.013 MB / 444.5 MB, free: 22.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.2739, allocations: 0.877 MB / 445.3 MB, free: 21.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.2744, allocations: 381.2 kB / 445.7 MB, free: 21.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004738/0.2791, allocations: 3.207 MB / 448.9 MB, free: 18.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.2792, allocations: 46.05 kB / 449 MB, free: 18.12 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005574/0.2797, allocations: 181.6 kB / 449.1 MB, free: 17.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 4.198e-06/0.2797, allocations: 3.469 kB / 449.1 MB, free: 17.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.01614/0.2959, allocations: 5.821 MB / 455 MB, free: 12.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.2959, allocations: 119.8 kB / 455.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.297, allocations: 1.322 MB / 456.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/0.2971, allocations: 41.7 kB / 456.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.2975, allocations: 1.104 MB / 457.6 MB, free: 9.574 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.2978, allocations: 438.1 kB / 458 MB, free: 9.152 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.2982, allocations: 421 kB / 458.4 MB, free: 8.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.2982, allocations: 476.8 kB / 458.9 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006431/0.2989, allocations: 363.8 kB / 459.2 MB, free: 7.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009595/0.2998, allocations: 1.397 MB / 460.6 MB, free: 6.051 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.3016, allocations: 1.903 MB / 462.5 MB, free: 3.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/0.3016, allocations: 8 kB / 462.5 MB, free: 3.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004599/0.3062, allocations: 2.227 MB / 464.7 MB, free: 1.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.3062, allocations: 16 kB / 464.8 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.3062, allocations: 24 kB / 464.8 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003492/0.3097, allocations: 0.9345 MB / 465.7 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.3107, allocations: 429 kB / 466.1 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007177/0.3179, allocations: 8.006 MB / 474.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.3191, allocations: 98.47 kB / 474.2 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.3193, allocations: 124 kB / 474.4 MB, free: 7.855 MB / 346.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.0005005/0.3198, allocations: 283 kB / 474.6 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.3202, allocations: 177.8 kB / 474.8 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/0.3243, allocations: 1.616 MB / 476.4 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.3243, allocations: 12 kB / 476.4 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3243, allocations: 4 kB / 476.4 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.3243, allocations: 6.672 kB / 476.5 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006115/0.3304, allocations: 2.822 MB / 479.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.3304, allocations: 6.656 kB / 479.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.3309, allocations: 172.6 kB / 479.4 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003295/0.3342, allocations: 0.8185 MB / 480.3 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.634e-05/0.3343, allocations: 43.97 kB / 480.3 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005758/0.3401, allocations: 7.379 MB / 487.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3401, allocations: 2.656 kB / 487.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003675/0.3438, allocations: 2.136 MB / 489.8 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.344, allocations: 123.1 kB / 489.9 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.3442, allocations: 24 kB / 490 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.3446, allocations: 34.64 kB / 490 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.3449, allocations: 119.6 kB / 490.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.178e-05/0.345, allocations: 51.97 kB / 490.2 MB, free: 7.762 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007516/0.3457, allocations: 0.7796 MB / 491 MB, free: 6.977 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3457, allocations: 0 / 491 MB, free: 6.977 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002357/0.3481, allocations: 0.9741 MB / 491.9 MB, free: 6 MB / 362.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.001547/0.3496, allocations: 1.038 MB / 493 MB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002679/0.3523, allocations: 1.898 MB / 494.9 MB, free: 3.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3523, allocations: 0 / 494.9 MB, free: 3.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.3535, allocations: 1.105 MB / 496 MB, free: 2.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/0.3544, allocations: 270.9 kB / 496.2 MB, free: 1.883 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.004583/0.359, allocations: 2.934 MB / 499.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.3593, allocations: 296.3 kB / 499.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006819/0.3599, allocations: 321 kB / 499.8 MB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/0.3602, allocations: 179.2 kB / 499.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3602, allocations: 0 / 499.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of Templates: time 0.03771/0.3979, allocations: 36.37 MB / 0.5237 GB, free: 10.86 MB / 410.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: 4.173942000139505]