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.001826/0.001826, allocations: 116.3 kB / 17.13 MB, free: 6.027 MB / 14.72 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.002195/0.002195, allocations: 208.7 kB / 20.1 MB, free: 3.074 MB / 14.72 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 1.498/1.498, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.1488/0.1488, allocations: 23.85 MB / 333.4 MB, free: 1.281 MB / 254.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 68.48 kB / 467.2 MB, free: 30.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1092, allocations: 59.83 MB / 0.5146 GB, free: 12.43 MB / 382.1 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.0461/0.1553, allocations: 31.7 MB / 0.5456 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03837/0.1937, allocations: 29.02 MB / 0.5739 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.1959, allocations: 39.69 kB / 0.574 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.1981, allocations: 0.6902 MB / 0.5747 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007275/0.2053, allocations: 2.242 MB / 0.5768 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01148/0.2168, allocations: 3.949 MB / 0.5807 GB, free: 8.668 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005507/0.2223, allocations: 3.089 MB / 0.5837 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.2252, allocations: 1.647 MB / 0.5853 GB, free: 3.867 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.2278, allocations: 1.488 MB / 0.5868 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003272/0.2311, allocations: 1.674 MB / 0.5884 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.2322, allocations: 296 kB / 0.5887 GB, free: 416 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2763/0.5085, allocations: 3.186 MB / 0.5918 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.5096, allocations: 0.6959 MB / 0.5925 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002716/0.5124, allocations: 1.435 MB / 0.5939 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.5279, allocations: 6.577 MB / 0.6003 GB, free: 25.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5279, allocations: 3.844 kB / 0.6003 GB, free: 25.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5279, allocations: 3.562 kB / 0.6003 GB, free: 25.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001348/0.528, allocations: 1.953 kB / 0.6003 GB, free: 25.02 MB / 446.1 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.009501/0.5375, allocations: 3.399 MB / 0.6036 GB, free: 23.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5376, allocations: 8.656 kB / 0.6036 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/0.5406, allocations: 0.5771 MB / 0.6042 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/0.5438, allocations: 1.428 MB / 0.6056 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003334/0.5441, allocations: 266.6 kB / 0.6059 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006604/0.5448, allocations: 243.9 kB / 0.6061 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005739/0.5505, allocations: 3.055 MB / 0.6091 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/0.5506, allocations: 4.719 kB / 0.6091 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/0.5509, allocations: 100.4 kB / 0.6092 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/0.5509, allocations: 59.28 kB / 0.6092 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005738/0.5566, allocations: 3.624 MB / 0.6128 GB, free: 22.14 MB / 446.1 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.01587/0.5725, allocations: 10.54 MB / 0.6231 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.5751, allocations: 2.16 MB / 0.6252 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.5765, allocations: 1.02 MB / 0.6262 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.5872, allocations: 8.838 MB / 0.6348 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.5872, allocations: 47.38 kB / 0.6348 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001364/0.5886, allocations: 307 kB / 0.6351 GB, free: 6.129 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 4.088e-06/0.5886, allocations: 0 / 0.6351 GB, free: 6.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=181): time 0.03499/0.6236, allocations: 9.773 MB / 0.6447 GB, free: 13.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/0.6237, allocations: 120.8 kB / 0.6448 GB, free: 13.44 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.6259, allocations: 1.466 MB / 0.6462 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000476/0.6264, allocations: 59.92 kB / 0.6463 GB, free: 11.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009486/0.6273, allocations: 1.187 MB / 0.6474 GB, free: 10.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009268/0.6283, allocations: 0.6596 MB / 0.6481 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009008/0.6292, allocations: 0.517 MB / 0.6486 GB, free: 9.539 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6293, allocations: 305.1 kB / 0.6489 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.6311, allocations: 0.9449 MB / 0.6498 GB, free: 8.293 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/0.6337, allocations: 1.893 MB / 0.6517 GB, free: 6.004 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004716/0.6384, allocations: 2.992 MB / 0.6546 GB, free: 2.773 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/0.6385, allocations: 8 kB / 0.6546 GB, free: 2.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01127/0.6497, allocations: 3.885 MB / 0.6584 GB, free: 15.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.6498, allocations: 20 kB / 0.6584 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.045e-05/0.6498, allocations: 39.92 kB / 0.6584 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005756/0.6556, allocations: 1.177 MB / 0.6596 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/0.658, allocations: 0.5812 MB / 0.6602 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.6688, allocations: 7.511 MB / 0.6675 GB, free: 5.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/0.6713, allocations: 114.5 kB / 0.6676 GB, free: 5.359 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004501/0.6718, allocations: 166.6 kB / 0.6678 GB, free: 5.199 MB / 478.1 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.001116/0.6729, allocations: 484.8 kB / 0.6682 GB, free: 4.758 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005396/0.6734, allocations: 189.4 kB / 0.6684 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.6837, allocations: 3.24 MB / 0.6716 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/0.6837, allocations: 22.77 kB / 0.6716 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.6837, allocations: 6.625 kB / 0.6716 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-05/0.6838, allocations: 7.969 kB / 0.6716 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.6992, allocations: 5.426 MB / 0.6769 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.6992, allocations: 4 kB / 0.6769 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.7008, allocations: 307.9 kB / 0.6772 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005138/0.7059, allocations: 1.036 MB / 0.6782 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000415/0.7063, allocations: 71.95 kB / 0.6783 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009363/0.7157, allocations: 6.817 MB / 0.6849 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7157, allocations: 4 kB / 0.6849 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/0.7268, allocations: 4.124 MB / 0.689 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006483/0.7274, allocations: 250.4 kB / 0.6892 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/0.7278, allocations: 40 kB / 0.6892 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.729, allocations: 46.64 kB / 0.6893 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004284/0.7294, allocations: 181.3 kB / 0.6895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/0.7296, allocations: 79.95 kB / 0.6895 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001417/0.731, allocations: 0.9533 MB / 0.6905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.731, allocations: 0 / 0.6905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004886/0.7359, allocations: 1.263 MB / 0.6917 GB, free: 12.43 MB / 0.4981 GB 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.003091/0.739, allocations: 1.334 MB / 0.693 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006437/0.7454, allocations: 2.91 MB / 0.6958 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.7454, allocations: 0 / 0.6958 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003285/0.7487, allocations: 1.537 MB / 0.6973 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.7508, allocations: 315.4 kB / 0.6976 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007856/0.7587, allocations: 4.162 MB / 0.7017 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.7599, allocations: 1.482 MB / 0.7032 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.7609, allocations: 355.7 kB / 0.7035 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.7609, allocations: 0 / 0.7035 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of Templates: time 0.09773/0.8587, allocations: 81.45 MB / 0.783 GB, free: 15.7 MB / 0.5919 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.443560632003937] Failed to read output from testmodel.py, exit status != 0: 0.8673863720032386 0.892962258 0.359901268 Calling exit ...