Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.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.0009242/0.0009242, allocations: 93.06 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.001062/0.001062, allocations: 169 kB / 23.02 MB, free: 1.543 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.9206/0.9206, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.08966/0.08966, allocations: 17.38 MB / 277.3 MB, free: 11.62 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.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 353.5 MB, free: 9.961 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.639e-05, allocations: 4.562 kB / 353.5 MB, free: 9.957 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.ElectrolysisMethanation): time 0.02647/0.02648, allocations: 34.25 MB / 387.7 MB, free: 7.809 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.04151, allocations: 17.15 MB / 404.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.04261, allocations: 39.62 kB / 404.9 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009797/0.04359, allocations: 487.8 kB / 405.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002914/0.04651, allocations: 1.807 MB / 407.2 MB, free: 4.258 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.05065, allocations: 2.471 MB / 409.7 MB, free: 1.773 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1426/0.1933, allocations: 3.187 MB / 412.8 MB, free: 37.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.1952, allocations: 1.66 MB / 414.5 MB, free: 36.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.1977, allocations: 2.156 MB / 416.7 MB, free: 36.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/0.2002, allocations: 1.423 MB / 418.1 MB, free: 36.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009978/0.2012, allocations: 293.6 kB / 418.4 MB, free: 36.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004548/0.2057, allocations: 1.76 MB / 420.1 MB, free: 36.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005263/0.2063, allocations: 0.7158 MB / 420.8 MB, free: 36.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.2074, allocations: 1.06 MB / 421.9 MB, free: 36.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004689/0.2121, allocations: 4.225 MB / 426.1 MB, free: 35.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2121, allocations: 0 / 426.1 MB, free: 35.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2121, allocations: 0 / 426.1 MB, free: 35.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.825e-05/0.2122, allocations: 3.141 kB / 426.1 MB, free: 35.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: 609 * Number of variables: 609 Notification: Performance of Generate backend data structure: time 0.003504/0.2157, allocations: 3.194 MB / 429.3 MB, free: 33.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2157, allocations: 10.25 kB / 429.3 MB, free: 33.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.2173, allocations: 0.9338 MB / 430.3 MB, free: 33.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.2185, allocations: 1.204 MB / 431.5 MB, free: 32.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.2187, allocations: 343.9 kB / 431.8 MB, free: 32.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/0.2189, allocations: 244.4 kB / 432 MB, free: 32.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.2214, allocations: 2.364 MB / 434.4 MB, free: 31.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.2215, allocations: 3.188 kB / 434.4 MB, free: 31.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.2216, allocations: 107.2 kB / 434.5 MB, free: 31.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/0.2217, allocations: 57.16 kB / 434.6 MB, free: 31.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.2241, allocations: 2.221 MB / 436.8 MB, free: 30.98 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.007398/0.2315, allocations: 8.808 MB / 445.6 MB, free: 22.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.2328, allocations: 1.383 MB / 447 MB, free: 21.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006387/0.2335, allocations: 0.6571 MB / 447.6 MB, free: 20.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004773/0.2382, allocations: 4.577 MB / 452.2 MB, free: 16.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.2383, allocations: 54.64 kB / 452.3 MB, free: 16.01 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005544/0.2388, allocations: 287.5 kB / 452.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 2.835e-06/0.2388, allocations: 0 / 452.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01508/0.2539, allocations: 7.951 MB / 460.5 MB, free: 7.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.2539, allocations: 120.8 kB / 460.6 MB, free: 7.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007843/0.2547, allocations: 1.259 MB / 461.9 MB, free: 6.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.335e-05/0.2548, allocations: 57.7 kB / 461.9 MB, free: 6.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/0.2552, allocations: 1.255 MB / 463.2 MB, free: 5.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.2555, allocations: 0.6582 MB / 463.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004482/0.256, allocations: 0.5157 MB / 464.4 MB, free: 3.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.256, allocations: 480.7 kB / 464.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/0.2567, allocations: 0.501 MB / 465.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.2578, allocations: 1.855 MB / 467.2 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/0.2604, allocations: 2.608 MB / 469.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/0.2604, allocations: 10.69 kB / 469.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.005094/0.2655, allocations: 2.952 MB / 472.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.2655, allocations: 22.97 kB / 472.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.796e-05/0.2656, allocations: 28 kB / 472.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003339/0.2689, allocations: 1.057 MB / 473.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.27, allocations: 0.5784 MB / 474.4 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005671/0.2756, allocations: 8.032 MB / 482.5 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.2767, allocations: 110.5 kB / 482.6 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.2769, allocations: 155.9 kB / 482.7 MB, free: 0.5586 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (305): * Single equations (assignments): 300 * 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 {(3,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 {(1,18), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005265/0.2774, allocations: 336.4 kB / 483.1 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.2777, allocations: 238.8 kB / 483.3 MB, free: 32 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/0.282, allocations: 2.43 MB / 485.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.2821, allocations: 16 kB / 485.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2821, allocations: 6.656 kB / 485.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.2821, allocations: 19 kB / 485.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006306/0.2884, allocations: 3.949 MB / 489.7 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2884, allocations: 6.656 kB / 489.7 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/0.289, allocations: 305.1 kB / 490 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/0.2917, allocations: 0.9308 MB / 491 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.2918, allocations: 67.95 kB / 491 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004488/0.2962, allocations: 7.387 MB / 498.4 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2963, allocations: 6.625 kB / 498.4 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004494/0.3007, allocations: 2.986 MB / 0.4897 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.301, allocations: 154.8 kB / 0.4898 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.3011, allocations: 36 kB / 0.4898 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.3016, allocations: 43.98 kB / 0.4899 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000292/0.3019, allocations: 192.2 kB / 0.4901 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.302, allocations: 87.94 kB / 0.4901 GB, free: 13.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008518/0.3029, allocations: 0.6846 MB / 0.4908 GB, free: 12.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3029, allocations: 0 / 0.4908 GB, free: 12.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002366/0.3052, allocations: 0.967 MB / 0.4918 GB, free: 11.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn,CH4.logn,CO2.logn,H2.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 (156): * Single equations (assignments): 151 * 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 {(3,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,19), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001189/0.3064, allocations: 0.8107 MB / 0.4925 GB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003076/0.3095, allocations: 2.374 MB / 0.4949 GB, free: 8.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3095, allocations: 4 kB / 0.4949 GB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.3109, allocations: 1.366 MB / 0.4962 GB, free: 7.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.3119, allocations: 357.5 kB / 0.4965 GB, free: 6.793 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.3168, allocations: 3.729 MB / 0.5002 GB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.317, allocations: 384 kB / 0.5006 GB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000858/0.3179, allocations: 442.3 kB / 0.501 GB, free: 2.352 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/0.3183, allocations: 279.2 kB / 0.5012 GB, free: 2.086 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3183, allocations: 4 kB / 0.5012 GB, free: 2.082 MB / 378.7 MB Notification: Performance of Templates: time 0.04468/0.363, allocations: 43.2 MB / 0.5434 GB, free: 7.898 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.078132685739547]