Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1017/0.1017, allocations: 15.27 MB / 30.52 MB, free: 3.082 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 198.3 kB / 35.63 MB, free: 2.23 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 225.7 MB / 266.3 MB, free: 6.254 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007802/0.0007803, allocations: 91.67 kB / 321.7 MB, free: 2.191 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003504, allocations: 7.781 kB / 387 MB, free: 50.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1058, allocations: 54.65 MB / 441.7 MB, free: 14.84 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65: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.Examples.ClimateChange.ElectrolysisMethanation): time 0.03299/0.1389, allocations: 27.38 MB / 469.1 MB, free: 3.379 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03618/0.1751, allocations: 35.34 MB / 0.4926 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.178, allocations: 51.62 kB / 0.4926 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.1805, allocations: 0.6015 MB / 0.4932 GB, free: 13.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006962/0.1875, allocations: 1.937 MB / 0.4951 GB, free: 11.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01045/0.1979, allocations: 3.439 MB / 0.4985 GB, free: 7.871 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004552/0.2025, allocations: 2.988 MB / 0.5014 GB, free: 4.867 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.2053, allocations: 1.618 MB / 0.503 GB, free: 3.207 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002465/0.2078, allocations: 1.269 MB / 0.5042 GB, free: 1.934 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.2105, allocations: 1.506 MB / 0.5057 GB, free: 432 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009205/0.2114, allocations: 156 kB / 0.5058 GB, free: 276 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2342/0.4456, allocations: 2.869 MB / 0.5086 GB, free: 32.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.4468, allocations: 0.5403 MB / 0.5091 GB, free: 32.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.4485, allocations: 1.297 MB / 0.5104 GB, free: 31.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01714/0.4657, allocations: 5.813 MB / 0.5161 GB, free: 31.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4657, allocations: 0 / 0.5161 GB, free: 31.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.4657, allocations: 0 / 0.5161 GB, free: 31.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001128/0.4658, allocations: 2.094 kB / 0.5161 GB, free: 31.51 MB / 378.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.007786/0.4736, allocations: 2.77 MB / 0.5188 GB, free: 30.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4737, allocations: 12.42 kB / 0.5188 GB, free: 30.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.4763, allocations: 0.5658 MB / 0.5194 GB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.4787, allocations: 1.345 MB / 0.5207 GB, free: 29.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.4789, allocations: 267.4 kB / 0.5209 GB, free: 29.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004044/0.4793, allocations: 248.3 kB / 0.5212 GB, free: 29.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005578/0.4849, allocations: 3.012 MB / 0.5241 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.485, allocations: 5.469 kB / 0.5241 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.4852, allocations: 99.34 kB / 0.5242 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.4853, allocations: 59.31 kB / 0.5243 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005703/0.491, allocations: 3.581 MB / 0.5278 GB, free: 29.14 MB / 378.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.01428/0.5053, allocations: 10.4 MB / 0.5379 GB, free: 25.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.508, allocations: 2.24 MB / 0.5401 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.5093, allocations: 1.112 MB / 0.5412 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009938/0.5193, allocations: 8.609 MB / 0.5496 GB, free: 18.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.5194, allocations: 53.27 kB / 0.5497 GB, free: 18.67 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001163/0.5205, allocations: 255.5 kB / 0.5499 GB, free: 18.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=134): time 3.527e-06/0.5205, allocations: 3.969 kB / 0.5499 GB, free: 18.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=181): time 0.0312/0.5517, allocations: 9.735 MB / 0.5594 GB, free: 12.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.5518, allocations: 128.8 kB / 0.5595 GB, free: 12.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.5533, allocations: 1.452 MB / 0.5609 GB, free: 11.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.5535, allocations: 52.14 kB / 0.561 GB, free: 11.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/0.554, allocations: 1.147 MB / 0.5621 GB, free: 10.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.5544, allocations: 0.6334 MB / 0.5627 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.5545, allocations: 54.94 kB / 0.5628 GB, free: 10.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5547, allocations: 410.7 kB / 0.5632 GB, free: 9.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.556, allocations: 0.9326 MB / 0.5641 GB, free: 9.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.5577, allocations: 1.889 MB / 0.5659 GB, free: 7.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.561, allocations: 2.965 MB / 0.5688 GB, free: 5.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.561, allocations: 12 kB / 0.5688 GB, free: 5.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.00875/0.5698, allocations: 3.878 MB / 0.5726 GB, free: 2.418 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.5698, allocations: 22.66 kB / 0.5727 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-05/0.5699, allocations: 35.94 kB / 0.5727 GB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004873/0.5748, allocations: 1.191 MB / 0.5739 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.5766, allocations: 0.584 MB / 0.5744 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009076/0.5857, allocations: 6.914 MB / 0.5812 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.5882, allocations: 144.9 kB / 0.5813 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003462/0.5885, allocations: 159.9 kB / 0.5815 GB, free: 9.098 MB / 394.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.0009872/0.5895, allocations: 487.6 kB / 0.5819 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.5899, allocations: 181.7 kB / 0.5821 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009341/0.5992, allocations: 3.257 MB / 0.5853 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.5993, allocations: 20 kB / 0.5853 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5993, allocations: 2.656 kB / 0.5853 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/0.5993, allocations: 11.97 kB / 0.5853 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.6127, allocations: 5.414 MB / 0.5906 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.6127, allocations: 7.844 kB / 0.5906 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.6141, allocations: 303.1 kB / 0.5909 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005226/0.6194, allocations: 1.07 MB / 0.5919 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003448/0.6197, allocations: 75.94 kB / 0.592 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008396/0.6281, allocations: 6.302 MB / 0.5982 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.6282, allocations: 4 kB / 0.5982 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/0.6387, allocations: 4.124 MB / 0.6022 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000783/0.6395, allocations: 246.7 kB / 0.6024 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004985/0.64, allocations: 43.92 kB / 0.6025 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.6415, allocations: 62.62 kB / 0.6025 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004782/0.642, allocations: 183.9 kB / 0.6027 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/0.6422, allocations: 79.95 kB / 0.6028 GB, free: 3.012 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001694/0.6439, allocations: 0.939 MB / 0.6037 GB, free: 2.074 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6439, allocations: 2.656 kB / 0.6037 GB, free: 2.074 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005678/0.6496, allocations: 1.222 MB / 0.6049 GB, free: 0.8516 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.003984/0.6536, allocations: 1.274 MB / 0.6061 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006201/0.6598, allocations: 2.994 MB / 0.6091 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.6598, allocations: 4.188 kB / 0.6091 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003058/0.6629, allocations: 1.621 MB / 0.6107 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.6656, allocations: 294 kB / 0.6109 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/0.6743, allocations: 5.187 MB / 0.616 GB, free: 5.723 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.6757, allocations: 1.486 MB / 0.6175 GB, free: 4.199 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002226/0.6779, allocations: 466.6 kB / 0.6179 GB, free: 3.781 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000819/0.6788, allocations: 286 kB / 0.6182 GB, free: 3.504 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6788, allocations: 0 / 0.6182 GB, free: 3.504 MB / 426.7 MB Notification: Performance of Templates: time 0.07041/0.7492, allocations: 44.01 MB / 0.6611 GB, free: 7.957 MB / 474.7 MB make -j1 -f Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.makefile (rm -f Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1)