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.001813/0.001813, 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.002139/0.002139, allocations: 212.3 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1376/0.1376, allocations: 23.88 MB / 337.1 MB, free: 10.95 MB / 270.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.00202/0.00202, allocations: 64.19 kB / 472.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3107, allocations: 59.87 MB / 0.5198 GB, free: 9.777 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.07514/0.3858, allocations: 30.52 MB / 0.5496 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03585/0.4217, allocations: 25.49 MB / 0.5745 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.4235, allocations: 35.75 kB / 0.5745 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.4254, allocations: 0.6317 MB / 0.5751 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006656/0.432, allocations: 2.212 MB / 0.5773 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.4432, allocations: 3.997 MB / 0.5812 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005006/0.4482, allocations: 3.081 MB / 0.5842 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/0.4505, allocations: 1.616 MB / 0.5858 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.4527, allocations: 1.484 MB / 0.5872 GB, free: 4.621 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.4556, allocations: 1.689 MB / 0.5889 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006599/0.4563, allocations: 296 kB / 0.5891 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008248/0.4645, allocations: 3.069 MB / 0.5921 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.4655, allocations: 0.6971 MB / 0.5928 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.4673, allocations: 1.214 MB / 0.594 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.4802, allocations: 6.552 MB / 0.6004 GB, free: 7.066 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4802, allocations: 0 / 0.6004 GB, free: 7.066 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4802, allocations: 4 kB / 0.6004 GB, free: 7.062 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.976e-05/0.4802, allocations: 0 / 0.6004 GB, free: 7.062 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.007401/0.4876, allocations: 3.323 MB / 0.6037 GB, free: 3.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.4877, allocations: 8.031 kB / 0.6037 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002634/0.4903, allocations: 0.5842 MB / 0.6042 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002943/0.4933, allocations: 1.352 MB / 0.6055 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/0.4936, allocations: 355.3 kB / 0.6059 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004815/0.4941, allocations: 240 kB / 0.6061 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005662/0.4997, allocations: 3.086 MB / 0.6091 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/0.4998, allocations: 0 / 0.6091 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/0.5, allocations: 100 kB / 0.6092 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/0.5001, allocations: 56 kB / 0.6093 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006243/0.5063, allocations: 3.611 MB / 0.6128 GB, free: 10.11 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.01699/0.5233, allocations: 8.751 MB / 0.6214 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/0.5264, allocations: 1.776 MB / 0.6231 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.5281, allocations: 1.021 MB / 0.6241 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/0.5401, allocations: 5.184 MB / 0.6291 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/0.5401, allocations: 51.88 kB / 0.6292 GB, free: 9.086 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001448/0.5416, allocations: 286.7 kB / 0.6295 GB, free: 8.805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 4.448e-06/0.5416, allocations: 0 / 0.6295 GB, free: 8.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03962/0.5812, allocations: 9.526 MB / 0.6388 GB, free: 15.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/0.5813, allocations: 128.8 kB / 0.6389 GB, free: 15.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.5832, allocations: 1.417 MB / 0.6403 GB, free: 13.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002298/0.5834, allocations: 53.7 kB / 0.6403 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009445/0.5843, allocations: 1.209 MB / 0.6415 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006817/0.585, allocations: 0.6585 MB / 0.6422 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008634/0.5859, allocations: 0.521 MB / 0.6427 GB, free: 11.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.586, allocations: 309 kB / 0.643 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.5878, allocations: 0.9462 MB / 0.6439 GB, free: 9.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/0.5904, allocations: 1.902 MB / 0.6457 GB, free: 7.566 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004517/0.5949, allocations: 3.003 MB / 0.6487 GB, free: 4.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/0.5949, allocations: 12 kB / 0.6487 GB, free: 4.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.0116/0.6066, allocations: 3.894 MB / 0.6525 GB, free: 204 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.6066, allocations: 20 kB / 0.6525 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.122e-05/0.6066, allocations: 36.5 kB / 0.6525 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006103/0.6127, allocations: 1.171 MB / 0.6537 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/0.6151, allocations: 0.585 MB / 0.6543 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.6262, allocations: 7.081 MB / 0.6612 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.6283, allocations: 111.8 kB / 0.6613 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/0.6286, allocations: 164 kB / 0.6614 GB, free: 6.699 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.0009993/0.6296, allocations: 480.8 kB / 0.6619 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004572/0.6301, allocations: 179 kB / 0.6621 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.6407, allocations: 3.233 MB / 0.6652 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/0.6407, allocations: 24 kB / 0.6652 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.6407, allocations: 7.938 kB / 0.6652 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-05/0.6408, allocations: 7.969 kB / 0.6653 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.6554, allocations: 4.88 MB / 0.67 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.6554, allocations: 0 / 0.67 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.6569, allocations: 307.6 kB / 0.6703 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005637/0.6625, allocations: 1.046 MB / 0.6713 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002573/0.6628, allocations: 71.95 kB / 0.6714 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009371/0.6721, allocations: 6.368 MB / 0.6776 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.6721, allocations: 11.88 kB / 0.6776 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/0.6839, allocations: 4.116 MB / 0.6817 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.6844, allocations: 158.9 kB / 0.6818 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/0.6848, allocations: 35.98 kB / 0.6818 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.686, allocations: 43.98 kB / 0.6819 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004542/0.6865, allocations: 189.5 kB / 0.6821 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/0.6866, allocations: 79.95 kB / 0.6821 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00124/0.6879, allocations: 0.8852 MB / 0.683 GB, free: 68 kB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.6879, allocations: 0 / 0.683 GB, free: 68 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004046/0.6919, allocations: 1.27 MB / 0.6842 GB, free: 14.79 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.002689/0.6946, allocations: 1.327 MB / 0.6855 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00624/0.7009, allocations: 2.834 MB / 0.6883 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.7009, allocations: 0 / 0.6883 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003257/0.7041, allocations: 1.457 MB / 0.6897 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.7059, allocations: 318.6 kB / 0.69 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008052/0.714, allocations: 4.11 MB / 0.694 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.7151, allocations: 0.9182 MB / 0.6949 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001706/0.7168, allocations: 441.5 kB / 0.6954 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006876/0.7175, allocations: 281.4 kB / 0.6956 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/0.7175, allocations: 0 / 0.6956 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of Templates: time 0.2883/1.006, allocations: 50.01 MB / 0.7445 GB, free: 172.2 MB / 0.5606 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] Could not SIGINT process: 2881662. Could not SIGINT process: 2881663. Could not SIGINT process: 2881666. Could not SIGINT process: 2881194. [Calling os._exit(0), Time elapsed: 487.2603488230088] Failed to read output from testmodel.py, exit status != 0: 1.0148428910033545 1.026259813 0.543431063 Calling exit ...