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.001219/0.001219, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001362/0.001362, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9632/0.9632, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.09574/0.09574, allocations: 17.39 MB / 278.4 MB, free: 11.49 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.493e-06/1.493e-06, allocations: 3.938 kB / 354.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.264e-05, allocations: 5.406 kB / 354.7 MB, free: 10.72 MB / 330.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.03449/0.03451, allocations: 34.06 MB / 388.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01615/0.05065, allocations: 16.8 MB / 405.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.05232, allocations: 39.69 kB / 405.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.05353, allocations: 491.7 kB / 406.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.05804, allocations: 1.803 MB / 407.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005288/0.06333, allocations: 2.479 MB / 410.4 MB, free: 3.035 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00402/0.06735, allocations: 3.189 MB / 413.5 MB, free: 15.83 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.0697, allocations: 1.66 MB / 415.2 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.07275, allocations: 2.16 MB / 417.4 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.0748, allocations: 1.419 MB / 418.8 MB, free: 10.54 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007663/0.07557, allocations: 300 kB / 419.1 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004381/0.07995, allocations: 1.755 MB / 420.8 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007126/0.08067, allocations: 0.7165 MB / 421.5 MB, free: 7.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.08246, allocations: 1.06 MB / 422.6 MB, free: 6.707 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009711/0.09217, allocations: 4.226 MB / 426.8 MB, free: 2.465 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.09218, allocations: 3.938 kB / 426.8 MB, free: 2.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09218, allocations: 0 / 426.8 MB, free: 2.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.539e-05/0.09224, allocations: 0 / 426.8 MB, free: 2.461 MB / 394.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.004308/0.09655, allocations: 3.198 MB / 430 MB, free: 15.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.09659, allocations: 8.031 kB / 430 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.09839, allocations: 0.9336 MB / 431 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.09992, allocations: 1.197 MB / 432.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.1001, allocations: 343.6 kB / 432.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.1004, allocations: 240.3 kB / 432.7 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.1027, allocations: 2.165 MB / 434.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.1028, allocations: 3.938 kB / 434.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.1029, allocations: 100 kB / 435 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.103, allocations: 56 kB / 435.1 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.1053, allocations: 1.888 MB / 437 MB, free: 8.078 MB / 410.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.1697/0.275, allocations: 8.832 MB / 445.8 MB, free: 91.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.2766, allocations: 1.257 MB / 447 MB, free: 91.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005955/0.2772, allocations: 0.5561 MB / 447.6 MB, free: 91.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005758/0.2829, allocations: 4.554 MB / 452.2 MB, free: 90.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.283, allocations: 48.77 kB / 452.2 MB, free: 90.59 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008409/0.2838, allocations: 284 kB / 452.5 MB, free: 90.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 1.063e-05/0.2838, allocations: 0 / 452.5 MB, free: 90.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=181): time 0.01547/0.2993, allocations: 6.603 MB / 459.1 MB, free: 90.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.2993, allocations: 127.8 kB / 459.2 MB, free: 89.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007879/0.3001, allocations: 1.238 MB / 460.4 MB, free: 89.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.693e-05/0.3002, allocations: 54.55 kB / 460.5 MB, free: 89.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/0.3006, allocations: 1.267 MB / 461.8 MB, free: 88.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.3009, allocations: 0.6617 MB / 462.4 MB, free: 88.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004548/0.3014, allocations: 0.5294 MB / 463 MB, free: 88.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.156e-05/0.3014, allocations: 484.1 kB / 463.4 MB, free: 88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.3019, allocations: 403.8 kB / 463.8 MB, free: 88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008228/0.3027, allocations: 1.753 MB / 465.6 MB, free: 86.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.3044, allocations: 2.43 MB / 468 MB, free: 84.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.3044, allocations: 9.5 kB / 468 MB, free: 84.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.004453/0.3089, allocations: 2.677 MB / 470.7 MB, free: 84.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.3089, allocations: 22.47 kB / 470.7 MB, free: 84.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/0.3089, allocations: 30.59 kB / 470.7 MB, free: 84.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002927/0.3118, allocations: 1.028 MB / 471.8 MB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.3129, allocations: 0.5851 MB / 472.4 MB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/0.3176, allocations: 7.893 MB / 480.2 MB, free: 77.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.319, allocations: 109.1 kB / 480.4 MB, free: 77.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.3191, allocations: 141.3 kB / 480.5 MB, free: 77.62 MB / 410.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.0006087/0.3198, allocations: 327.8 kB / 480.8 MB, free: 77.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/0.3201, allocations: 245.5 kB / 481.1 MB, free: 77.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.3245, allocations: 2.239 MB / 483.3 MB, free: 76.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.3245, allocations: 19.25 kB / 483.3 MB, free: 76.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3246, allocations: 4.125 kB / 483.3 MB, free: 76.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.3246, allocations: 10.36 kB / 483.3 MB, free: 76.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00611/0.3307, allocations: 3.526 MB / 486.9 MB, free: 75.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3307, allocations: 2.844 kB / 486.9 MB, free: 75.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.3314, allocations: 309.9 kB / 487.2 MB, free: 75.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002756/0.3341, allocations: 0.9053 MB / 488.1 MB, free: 75.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.3343, allocations: 70.31 kB / 488.1 MB, free: 75.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003761/0.338, allocations: 7.263 MB / 495.4 MB, free: 68.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.338, allocations: 6.938 kB / 495.4 MB, free: 68.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004326/0.3424, allocations: 2.712 MB / 498.1 MB, free: 67.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.3428, allocations: 156.9 kB / 498.3 MB, free: 67.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.343, allocations: 41.47 kB / 498.3 MB, free: 67.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005581/0.3436, allocations: 42.27 kB / 498.3 MB, free: 67.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.3438, allocations: 186.7 kB / 498.5 MB, free: 67.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-05/0.3439, allocations: 73.27 kB / 498.6 MB, free: 67.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004473/0.3444, allocations: 0.6381 MB / 499.2 MB, free: 67.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.3444, allocations: 0 / 499.2 MB, free: 67.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002454/0.3468, allocations: 0.9689 MB / 0.4885 GB, free: 67.2 MB / 410.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.001254/0.3481, allocations: 0.8474 MB / 0.4893 GB, free: 66.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003084/0.3512, allocations: 2.189 MB / 0.4914 GB, free: 66.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.3512, allocations: 0 / 0.4914 GB, free: 66.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.3526, allocations: 1.278 MB / 0.4927 GB, free: 65.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.3539, allocations: 360 kB / 0.493 GB, free: 65.53 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/0.3594, allocations: 3.676 MB / 0.4966 GB, free: 63.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.3599, allocations: 386.9 kB / 0.497 GB, free: 63.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001087/0.3609, allocations: 415.2 kB / 0.4974 GB, free: 63.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008606/0.3618, allocations: 0.5712 MB / 0.498 GB, free: 63.44 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.3618, allocations: 0 / 0.498 GB, free: 63.44 MB / 410.7 MB Notification: Performance of Templates: time 0.04612/0.4079, allocations: 44.56 MB / 0.5415 GB, free: 24.14 MB / 410.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 sys.exit(0), Time elapsed: 4.538916904013604]