Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001301/0.001301, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001435/0.001435, allocations: 207.5 kB / 22.99 MB, free: 4.984 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1333/0.1333, allocations: 23.92 MB / 337.1 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002081/0.002081, allocations: 67.91 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2859, allocations: 59.87 MB / 0.5198 GB, free: 9.77 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.07407/0.3599, allocations: 30.51 MB / 0.5496 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03444/0.3944, allocations: 25.49 MB / 0.5745 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.3963, allocations: 35.69 kB / 0.5746 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.3982, allocations: 0.6279 MB / 0.5752 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006462/0.4047, allocations: 2.212 MB / 0.5773 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.4158, allocations: 3.996 MB / 0.5812 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004938/0.4207, allocations: 3.085 MB / 0.5843 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.4229, allocations: 1.613 MB / 0.5858 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.4248, allocations: 1.488 MB / 0.5873 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.4271, allocations: 1.686 MB / 0.5889 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005081/0.4277, allocations: 296 kB / 0.5892 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007653/0.4353, allocations: 3.069 MB / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008317/0.4361, allocations: 0.6971 MB / 0.5929 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.4376, allocations: 1.214 MB / 0.5941 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.4499, allocations: 6.552 MB / 0.6005 GB, free: 7.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4499, allocations: 0 / 0.6005 GB, free: 7.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4499, allocations: 0 / 0.6005 GB, free: 7.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.304e-05/0.45, allocations: 4 kB / 0.6005 GB, free: 7.035 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.006696/0.4567, allocations: 3.319 MB / 0.6037 GB, free: 3.664 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4567, allocations: 8.031 kB / 0.6037 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.4592, allocations: 0.5804 MB / 0.6043 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.4619, allocations: 1.364 MB / 0.6056 GB, free: 1.672 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.4622, allocations: 351.3 kB / 0.606 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004478/0.4626, allocations: 240 kB / 0.6062 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005241/0.4679, allocations: 3.086 MB / 0.6092 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.762e-05/0.4679, allocations: 0 / 0.6092 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00026/0.4682, allocations: 96 kB / 0.6093 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/0.4682, allocations: 64 kB / 0.6094 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005809/0.474, allocations: 3.603 MB / 0.6129 GB, free: 10.09 MB / 462.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.01659/0.4906, allocations: 8.763 MB / 0.6214 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.4936, allocations: 1.776 MB / 0.6232 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.4952, allocations: 1.024 MB / 0.6242 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.5068, allocations: 5.177 MB / 0.6292 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.5068, allocations: 47.88 kB / 0.6293 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001375/0.5082, allocations: 286.7 kB / 0.6295 GB, free: 8.777 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 4.208e-06/0.5082, allocations: 0 / 0.6295 GB, free: 8.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03934/0.5475, allocations: 9.533 MB / 0.6388 GB, free: 15.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.5476, allocations: 120.8 kB / 0.639 GB, free: 15.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.5495, allocations: 1.424 MB / 0.6404 GB, free: 13.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.5497, allocations: 53.7 kB / 0.6404 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008859/0.5506, allocations: 1.205 MB / 0.6416 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006647/0.5513, allocations: 0.6585 MB / 0.6422 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008157/0.5521, allocations: 0.517 MB / 0.6427 GB, free: 11.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5522, allocations: 309.1 kB / 0.643 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.5539, allocations: 0.9462 MB / 0.6439 GB, free: 9.879 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.5565, allocations: 1.906 MB / 0.6458 GB, free: 7.535 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004449/0.561, allocations: 3.007 MB / 0.6487 GB, free: 4.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/0.561, allocations: 8 kB / 0.6488 GB, free: 4.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01127/0.5723, allocations: 3.894 MB / 0.6526 GB, free: 172 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.5723, allocations: 20 kB / 0.6526 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.002e-05/0.5724, allocations: 31.94 kB / 0.6526 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006018/0.5784, allocations: 1.184 MB / 0.6538 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.5807, allocations: 0.5772 MB / 0.6543 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.5914, allocations: 7.084 MB / 0.6612 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.5936, allocations: 115.9 kB / 0.6614 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004164/0.594, allocations: 163.9 kB / 0.6615 GB, free: 6.664 MB / 0.4981 GB 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.000996/0.595, allocations: 476.8 kB / 0.662 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/0.5954, allocations: 190.8 kB / 0.6621 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/0.6061, allocations: 3.221 MB / 0.6653 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.6061, allocations: 16 kB / 0.6653 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.6061, allocations: 8.047 kB / 0.6653 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-05/0.6062, allocations: 15.91 kB / 0.6653 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.6204, allocations: 4.868 MB / 0.6701 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.6204, allocations: 4 kB / 0.6701 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.6218, allocations: 307.6 kB / 0.6704 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005419/0.6273, allocations: 1.046 MB / 0.6714 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002731/0.6275, allocations: 75.94 kB / 0.6715 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009019/0.6366, allocations: 6.37 MB / 0.6777 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.6366, allocations: 8.062 kB / 0.6777 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.648, allocations: 4.123 MB / 0.6817 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007002/0.6487, allocations: 150.9 kB / 0.6819 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003682/0.6491, allocations: 36 kB / 0.6819 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.6503, allocations: 43.98 kB / 0.682 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004209/0.6508, allocations: 189.5 kB / 0.6821 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/0.651, allocations: 83.95 kB / 0.6822 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001147/0.6521, allocations: 0.8891 MB / 0.6831 GB, free: 32 kB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6521, allocations: 0 / 0.6831 GB, free: 32 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004013/0.6561, allocations: 1.262 MB / 0.6843 GB, free: 14.77 MB / 0.5294 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.002704/0.6588, allocations: 1.329 MB / 0.6856 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006099/0.6649, allocations: 2.838 MB / 0.6884 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.6649, allocations: 0 / 0.6884 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003197/0.6681, allocations: 1.456 MB / 0.6898 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.67, allocations: 303 kB / 0.6901 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007816/0.6778, allocations: 4.126 MB / 0.6941 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.6788, allocations: 0.9143 MB / 0.695 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001594/0.6804, allocations: 442 kB / 0.6954 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006655/0.6811, allocations: 280.9 kB / 0.6957 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of SimCode: time 1.323e-06/0.6811, allocations: 4 kB / 0.6957 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of Templates: time 0.2758/0.9569, allocations: 50.02 MB / 0.7446 GB, free: 172.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] Could not SIGINT process: 2914779. Could not SIGINT process: 2914780. Could not SIGINT process: 2914783. Could not SIGINT process: 2914442. [Calling os._exit(0), Time elapsed: 486.8802905789926] Failed to read output from testmodel.py, exit status != 0: 0.9659948700136738 0.978014381 0.525349376 Calling exit ...