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.001377/0.001377, allocations: 92.22 kB / 19.65 MB, free: 276 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.001694/0.001694, allocations: 169 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.9927/0.9927, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.09383/0.09383, allocations: 17.38 MB / 277.3 MB, free: 11.64 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 2.214e-06/2.214e-06, allocations: 0 / 353.4 MB, free: 9.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/3.008e-05, allocations: 2.312 kB / 353.4 MB, free: 9.969 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.03134/0.03137, allocations: 32.82 MB / 386.3 MB, free: 9.258 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0148/0.04618, allocations: 15.17 MB / 401.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.04749, allocations: 31.75 kB / 401.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009432/0.04843, allocations: 436.3 kB / 401.9 MB, free: 9.582 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.05116, allocations: 1.326 MB / 403.2 MB, free: 8.246 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004805/0.05596, allocations: 2.264 MB / 405.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002667/0.05863, allocations: 2.483 MB / 408 MB, free: 3.473 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.0604, allocations: 1.298 MB / 409.3 MB, free: 2.125 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.06253, allocations: 1.544 MB / 410.8 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1362/0.1987, allocations: 0.992 MB / 411.8 MB, free: 38.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008178/0.1995, allocations: 232.9 kB / 412 MB, free: 38.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.2031, allocations: 1.508 MB / 413.5 MB, free: 38.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004769/0.2035, allocations: 0.5561 MB / 414.1 MB, free: 38.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.2049, allocations: 0.8195 MB / 414.9 MB, free: 38.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007307/0.2122, allocations: 3.403 MB / 418.3 MB, free: 38.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.2122, allocations: 4.531 kB / 418.3 MB, free: 38.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.2122, allocations: 0.7656 kB / 418.3 MB, free: 38.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001311/0.2124, allocations: 0 / 418.3 MB, free: 38.7 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.005711/0.2181, allocations: 2.614 MB / 420.9 MB, free: 37.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.2181, allocations: 10.75 kB / 420.9 MB, free: 37.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.2198, allocations: 0.8942 MB / 421.8 MB, free: 37.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.2214, allocations: 1.15 MB / 423 MB, free: 36.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.2215, allocations: 249.2 kB / 423.2 MB, free: 36.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.2217, allocations: 195.4 kB / 423.4 MB, free: 36.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.2238, allocations: 1.831 MB / 425.2 MB, free: 36.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.2238, allocations: 7.266 kB / 425.3 MB, free: 36.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.224, allocations: 84.91 kB / 425.3 MB, free: 36.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.224, allocations: 47.19 kB / 425.4 MB, free: 36.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.226, allocations: 1.701 MB / 427.1 MB, free: 36.41 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.006667/0.2327, allocations: 6.998 MB / 434.1 MB, free: 32.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.2338, allocations: 0.8702 MB / 435 MB, free: 31.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/0.2342, allocations: 390.9 kB / 435.3 MB, free: 31.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003958/0.2381, allocations: 3.189 MB / 438.5 MB, free: 29.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.2382, allocations: 45.05 kB / 438.6 MB, free: 29.63 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004679/0.2386, allocations: 184.8 kB / 438.7 MB, free: 29.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 4.018e-06/0.2386, allocations: 0 / 438.7 MB, free: 29.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.01303/0.2517, allocations: 5.831 MB / 444.6 MB, free: 24.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.2517, allocations: 122.4 kB / 444.7 MB, free: 24.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009798/0.2527, allocations: 1.316 MB / 446 MB, free: 23.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.171e-05/0.2528, allocations: 45.7 kB / 446.1 MB, free: 23.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.2531, allocations: 1.101 MB / 447.2 MB, free: 22.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.2533, allocations: 442.8 kB / 447.6 MB, free: 21.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/0.2537, allocations: 429 kB / 448 MB, free: 21.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.053e-05/0.2537, allocations: 476.8 kB / 448.5 MB, free: 20.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/0.2542, allocations: 362.6 kB / 448.8 MB, free: 20.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/0.255, allocations: 1.391 MB / 450.2 MB, free: 18.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.2564, allocations: 1.906 MB / 452.1 MB, free: 16.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/0.2564, allocations: 10.95 kB / 452.1 MB, free: 16.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003594/0.26, allocations: 2.222 MB / 454.4 MB, free: 14.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.2601, allocations: 16 kB / 454.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.2601, allocations: 27.98 kB / 454.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/0.2628, allocations: 0.9177 MB / 455.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.2636, allocations: 438.7 kB / 455.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004559/0.2682, allocations: 8.009 MB / 463.8 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.2693, allocations: 98.48 kB / 463.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.2694, allocations: 118.7 kB / 464 MB, free: 4.375 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.0004844/0.2699, allocations: 294.5 kB / 464.3 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.2701, allocations: 178.3 kB / 464.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/0.2732, allocations: 1.608 MB / 466 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.2732, allocations: 12 kB / 466.1 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2732, allocations: 4 kB / 466.1 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.2732, allocations: 14.62 kB / 466.1 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/0.2779, allocations: 2.813 MB / 468.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.278, allocations: 2.672 kB / 468.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.2784, allocations: 180.8 kB / 469.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/0.2809, allocations: 0.8156 MB / 469.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.46e-05/0.281, allocations: 47.97 kB / 469.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/0.2858, allocations: 7.373 MB / 477.3 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2859, allocations: 6.656 kB / 477.3 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003683/0.2895, allocations: 2.133 MB / 479.4 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.2898, allocations: 123.1 kB / 479.6 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.29, allocations: 26.73 kB / 479.6 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.2904, allocations: 34.61 kB / 479.6 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.2906, allocations: 120.3 kB / 479.7 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.866e-05/0.2907, allocations: 55.97 kB / 479.8 MB, free: 4.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007541/0.2915, allocations: 0.7796 MB / 480.6 MB, free: 3.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2915, allocations: 0 / 480.6 MB, free: 3.488 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002254/0.2937, allocations: 0.7915 MB / 481.4 MB, free: 2.695 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.001159/0.2949, allocations: 0.7022 MB / 482.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.2975, allocations: 1.884 MB / 483.9 MB, free: 244 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2975, allocations: 0 / 483.9 MB, free: 244 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.2988, allocations: 1.116 MB / 485.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/0.2998, allocations: 269.3 kB / 485.3 MB, free: 14.86 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.004536/0.3043, allocations: 2.924 MB / 488.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3045, allocations: 304.3 kB / 488.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007219/0.3053, allocations: 319 kB / 488.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.3056, allocations: 176.4 kB / 489 MB, free: 11.24 MB / 362.7 MB Notification: Performance of SimCode: time 1.834e-06/0.3056, allocations: 2.844 kB / 489 MB, free: 11.24 MB / 362.7 MB Notification: Performance of Templates: time 0.03512/0.3407, allocations: 31.81 MB / 0.5086 GB, free: 12.41 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: 4.149662609677762]