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.001499/0.001499, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001801/0.001801, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9927/0.9927, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.09375/0.09375, allocations: 17.39 MB / 277.6 MB, free: 11.51 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.272e-06/1.272e-06, allocations: 0 / 300.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.311e-05, allocations: 3.516 kB / 300.7 MB, free: 1.809 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.03379/0.03381, allocations: 38.54 MB / 339.2 MB, free: 14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.04748, allocations: 15.1 MB / 354.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.0485, allocations: 27.81 kB / 354.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008504/0.04935, allocations: 444.2 kB / 354.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.05164, allocations: 1.318 MB / 356.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.05536, allocations: 2.253 MB / 358.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.05719, allocations: 2.483 MB / 360.8 MB, free: 8.293 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.05831, allocations: 1.318 MB / 362.1 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.05951, allocations: 1.607 MB / 363.8 MB, free: 5.301 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.06064, allocations: 1.025 MB / 364.8 MB, free: 4.273 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.06091, allocations: 228 kB / 365 MB, free: 4.051 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.06312, allocations: 1.56 MB / 366.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.06342, allocations: 0.5568 MB / 367.1 MB, free: 1.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005578/0.06398, allocations: 0.8264 MB / 367.9 MB, free: 1.102 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002908/0.06689, allocations: 3.459 MB / 371.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.06689, allocations: 0 / 371.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.06689, allocations: 4 kB / 371.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.548e-05/0.06691, allocations: 0 / 371.4 MB, free: 13.62 MB / 346.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.002461/0.06938, allocations: 2.475 MB / 373.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.06941, allocations: 15.97 kB / 373.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.07072, allocations: 0.7951 MB / 374.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009258/0.07164, allocations: 0.7464 MB / 375.4 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.07178, allocations: 259.1 kB / 375.7 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.07196, allocations: 196.3 kB / 375.9 MB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.07348, allocations: 1.663 MB / 377.5 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.07351, allocations: 3.938 kB / 377.6 MB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.07361, allocations: 76 kB / 377.6 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.07364, allocations: 48 kB / 377.7 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.07498, allocations: 1.254 MB / 378.9 MB, free: 5.922 MB / 346.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.005607/0.08059, allocations: 5.441 MB / 384.4 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/0.08137, allocations: 0.7559 MB / 385.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.08165, allocations: 285.2 kB / 385.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003404/0.08505, allocations: 2.64 MB / 388 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.08508, allocations: 55.14 kB / 388.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003666/0.08545, allocations: 175 kB / 388.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 2.835e-06/0.08545, allocations: 3.984 kB / 388.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.01164/0.09709, allocations: 5.022 MB / 393.3 MB, free: 7.281 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.09713, allocations: 119.8 kB / 393.4 MB, free: 7.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007545/0.09789, allocations: 1.191 MB / 394.6 MB, free: 5.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.09794, allocations: 45.7 kB / 394.6 MB, free: 5.887 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.09831, allocations: 0.9334 MB / 395.6 MB, free: 4.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.09853, allocations: 436.3 kB / 396 MB, free: 4.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003636/0.09889, allocations: 403.1 kB / 396.4 MB, free: 4.105 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.214e-05/0.09895, allocations: 301.1 kB / 396.7 MB, free: 3.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.09928, allocations: 250.9 kB / 396.9 MB, free: 3.559 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/0.0999, allocations: 0.9871 MB / 397.9 MB, free: 2.227 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.101, allocations: 1.465 MB / 399.4 MB, free: 428 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.101, allocations: 8 kB / 399.4 MB, free: 420 kB / 362.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002755/0.1038, allocations: 1.662 MB / 401.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1038, allocations: 16 kB / 401.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.1038, allocations: 24 kB / 401.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.1063, allocations: 0.9034 MB / 402 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008091/0.1071, allocations: 459.2 kB / 402.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004268/0.1113, allocations: 5.669 MB / 408.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.1119, allocations: 95.8 kB / 408.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.112, allocations: 95.95 kB / 408.3 MB, free: 7.152 MB / 378.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.0002879/0.1123, allocations: 251.9 kB / 408.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.1125, allocations: 107.9 kB / 408.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.1149, allocations: 1.283 MB / 409.9 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.115, allocations: 15.94 kB / 410 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.115, allocations: 4 kB / 410 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.115, allocations: 3.984 kB / 410 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/0.1185, allocations: 2.208 MB / 412.2 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1185, allocations: 0 / 412.2 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.1189, allocations: 199.9 kB / 412.4 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/0.1211, allocations: 0.7897 MB / 413.2 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/0.1212, allocations: 47.97 kB / 413.2 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.1246, allocations: 5.057 MB / 418.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1246, allocations: 7.938 kB / 418.3 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.1271, allocations: 1.586 MB / 419.9 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1272, allocations: 115.2 kB / 420 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.1274, allocations: 27.98 kB / 420 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.1277, allocations: 39.92 kB / 420 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.1279, allocations: 116.7 kB / 420.1 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.128, allocations: 39.97 kB / 420.2 MB, free: 10.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004105/0.1284, allocations: 0.5751 MB / 420.8 MB, free: 10.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1284, allocations: 0 / 420.8 MB, free: 10.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001437/0.1298, allocations: 0.7915 MB / 421.6 MB, free: 9.434 MB / 394.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.0007908/0.1306, allocations: 0.7091 MB / 422.3 MB, free: 8.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.1323, allocations: 1.487 MB / 423.7 MB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-05/0.1323, allocations: 31.97 kB / 423.8 MB, free: 7.148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007993/0.1331, allocations: 0.8277 MB / 424.6 MB, free: 6.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006976/0.1338, allocations: 272.5 kB / 424.9 MB, free: 6.008 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.137, allocations: 2.827 MB / 427.7 MB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.1372, allocations: 292.3 kB / 428 MB, free: 2.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005644/0.1378, allocations: 299.2 kB / 428.3 MB, free: 2.512 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/0.1383, allocations: 369.1 kB / 428.6 MB, free: 2.148 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1383, allocations: 0 / 428.6 MB, free: 2.148 MB / 394.7 MB Notification: Performance of Templates: time 0.144/0.2823, allocations: 35.21 MB / 463.8 MB, free: 105.9 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8249040809459984]