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.001484/0.001484, 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.001447/0.001447, allocations: 207.9 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1359/0.1359, allocations: 23.92 MB / 337.1 MB, free: 10.98 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.002123/0.002123, allocations: 67.89 kB / 472.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3468, allocations: 59.87 MB / 0.5198 GB, free: 9.719 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.07846/0.4253, allocations: 30.52 MB / 0.5496 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03647/0.4617, allocations: 25.49 MB / 0.5745 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003479/0.4652, allocations: 35.75 kB / 0.5746 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002954/0.4682, allocations: 0.6317 MB / 0.5752 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008593/0.4767, allocations: 2.211 MB / 0.5773 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01251/0.4893, allocations: 3.993 MB / 0.5812 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005507/0.4948, allocations: 3.093 MB / 0.5843 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002593/0.4974, allocations: 1.613 MB / 0.5858 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.5002, allocations: 1.484 MB / 0.5873 GB, free: 4.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003604/0.5038, allocations: 1.689 MB / 0.5889 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007318/0.5045, allocations: 296 kB / 0.5892 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00904/0.5135, allocations: 3.062 MB / 0.5922 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.5147, allocations: 0.701 MB / 0.5929 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.5164, allocations: 1.206 MB / 0.5941 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01612/0.5325, allocations: 6.56 MB / 0.6005 GB, free: 7.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.5326, allocations: 0 / 0.6005 GB, free: 7.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5326, allocations: 0 / 0.6005 GB, free: 7.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001087/0.5327, allocations: 0 / 0.6005 GB, free: 7.09 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.008288/0.541, allocations: 3.326 MB / 0.6037 GB, free: 3.711 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.541, allocations: 8.031 kB / 0.6037 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/0.5436, allocations: 0.5764 MB / 0.6043 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/0.5467, allocations: 1.36 MB / 0.6056 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.547, allocations: 347.3 kB / 0.6059 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004729/0.5475, allocations: 247.9 kB / 0.6062 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005688/0.5532, allocations: 3.086 MB / 0.6092 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-05/0.5532, allocations: 0 / 0.6092 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.5535, allocations: 96 kB / 0.6093 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.5535, allocations: 60 kB / 0.6093 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006042/0.5596, allocations: 3.607 MB / 0.6129 GB, free: 10.14 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.01775/0.5773, allocations: 8.771 MB / 0.6214 GB, free: 1.195 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.5804, allocations: 1.768 MB / 0.6232 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.582, allocations: 1.02 MB / 0.6242 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01174/0.5938, allocations: 5.177 MB / 0.6292 GB, free: 9.168 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.5938, allocations: 47.88 kB / 0.6293 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00141/0.5952, allocations: 286.7 kB / 0.6295 GB, free: 8.832 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 3.998e-06/0.5952, allocations: 0 / 0.6295 GB, free: 8.832 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.04037/0.6356, allocations: 9.537 MB / 0.6388 GB, free: 15.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/0.6357, allocations: 120.8 kB / 0.639 GB, free: 15.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.6376, allocations: 1.421 MB / 0.6403 GB, free: 13.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003172/0.6379, allocations: 57.7 kB / 0.6404 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008926/0.6388, allocations: 1.194 MB / 0.6416 GB, free: 12.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007514/0.6396, allocations: 0.6663 MB / 0.6422 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008227/0.6404, allocations: 0.5208 MB / 0.6427 GB, free: 11.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6405, allocations: 309.1 kB / 0.643 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.6422, allocations: 0.9501 MB / 0.644 GB, free: 9.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002692/0.6449, allocations: 1.902 MB / 0.6458 GB, free: 7.586 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004935/0.6498, allocations: 3.007 MB / 0.6487 GB, free: 4.145 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/0.6498, allocations: 8 kB / 0.6488 GB, free: 4.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01193/0.6617, allocations: 3.89 MB / 0.6526 GB, free: 228 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.6618, allocations: 19.98 kB / 0.6526 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.125e-05/0.6619, allocations: 35.94 kB / 0.6526 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006327/0.6682, allocations: 1.174 MB / 0.6538 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/0.6706, allocations: 0.585 MB / 0.6543 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.6822, allocations: 7.096 MB / 0.6613 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.6846, allocations: 111.8 kB / 0.6614 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003744/0.6849, allocations: 160 kB / 0.6615 GB, free: 6.715 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.001086/0.686, allocations: 488.9 kB / 0.662 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/0.6866, allocations: 182.8 kB / 0.6622 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/0.6973, allocations: 3.217 MB / 0.6653 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.6973, allocations: 16 kB / 0.6653 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.6973, allocations: 11.94 kB / 0.6653 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.677e-05/0.6973, allocations: 11.97 kB / 0.6653 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.7121, allocations: 4.872 MB / 0.6701 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/0.7121, allocations: 4 kB / 0.6701 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/0.7136, allocations: 303.6 kB / 0.6704 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005436/0.7191, allocations: 1.049 MB / 0.6714 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003436/0.7194, allocations: 67.95 kB / 0.6715 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009202/0.7286, allocations: 6.379 MB / 0.6777 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.7286, allocations: 7.938 kB / 0.6777 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.74, allocations: 4.116 MB / 0.6817 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005469/0.7405, allocations: 146.9 kB / 0.6819 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/0.7409, allocations: 40 kB / 0.6819 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.742, allocations: 51.98 kB / 0.682 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004547/0.7425, allocations: 185.5 kB / 0.6821 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/0.7427, allocations: 83.94 kB / 0.6822 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001211/0.7439, allocations: 0.8852 MB / 0.6831 GB, free: 88 kB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7439, allocations: 0 / 0.6831 GB, free: 88 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004314/0.7482, allocations: 1.266 MB / 0.6843 GB, free: 14.82 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.002962/0.7512, allocations: 1.327 MB / 0.6856 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006353/0.7575, allocations: 2.838 MB / 0.6884 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.7575, allocations: 0 / 0.6884 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003229/0.7608, allocations: 1.464 MB / 0.6898 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.7627, allocations: 296.1 kB / 0.6901 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/0.7708, allocations: 4.126 MB / 0.6941 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.7719, allocations: 0.9065 MB / 0.695 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001655/0.7735, allocations: 449.9 kB / 0.6954 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/0.7742, allocations: 277.9 kB / 0.6957 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of SimCode: time 1.283e-06/0.7742, allocations: 0 / 0.6957 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of Templates: time 0.3166/1.091, 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 cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.080128553003306] Failed to read output from testmodel.py, exit status != 0: 1.1015164120035479 1.122128559 0.5856398740000001 Calling exit ...