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.001624/0.001624, 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.001776/0.001776, allocations: 211.6 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1402/0.1402, allocations: 23.88 MB / 337.1 MB, free: 10.97 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.002002/0.002002, allocations: 67.89 kB / 472.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3577, allocations: 59.86 MB / 0.5198 GB, free: 9.754 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.07708/0.4348, allocations: 30.52 MB / 0.5496 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03666/0.4714, allocations: 25.49 MB / 0.5745 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.4738, allocations: 35.75 kB / 0.5745 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.4759, allocations: 0.6317 MB / 0.5751 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006939/0.4829, allocations: 2.204 MB / 0.5773 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.4943, allocations: 4.004 MB / 0.5812 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004973/0.4993, allocations: 3.081 MB / 0.5842 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002447/0.5017, allocations: 1.62 MB / 0.5858 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.5039, allocations: 1.481 MB / 0.5872 GB, free: 4.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.5065, allocations: 1.682 MB / 0.5889 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005225/0.507, allocations: 300 kB / 0.5891 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009191/0.5162, allocations: 3.069 MB / 0.5921 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.5173, allocations: 0.6933 MB / 0.5928 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.5193, allocations: 1.214 MB / 0.594 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01458/0.5338, allocations: 6.556 MB / 0.6004 GB, free: 7.109 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.5339, allocations: 0 / 0.6004 GB, free: 7.109 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5339, allocations: 0 / 0.6004 GB, free: 7.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.059e-05/0.5339, allocations: 0 / 0.6004 GB, free: 7.109 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.007322/0.5413, allocations: 3.326 MB / 0.6037 GB, free: 3.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5413, allocations: 12.03 kB / 0.6037 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.5438, allocations: 0.5804 MB / 0.6042 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.5466, allocations: 1.352 MB / 0.6056 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.5469, allocations: 351.2 kB / 0.6059 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004543/0.5474, allocations: 244 kB / 0.6061 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005474/0.5528, allocations: 3.086 MB / 0.6091 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/0.5529, allocations: 4 kB / 0.6091 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002671/0.5531, allocations: 96 kB / 0.6092 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/0.5532, allocations: 60 kB / 0.6093 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006202/0.5594, allocations: 3.603 MB / 0.6128 GB, free: 10.16 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.01668/0.5761, allocations: 8.763 MB / 0.6214 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.5792, allocations: 1.772 MB / 0.6231 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.5809, allocations: 1.02 MB / 0.6241 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01203/0.5929, allocations: 5.184 MB / 0.6291 GB, free: 9.184 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.593, allocations: 47.88 kB / 0.6292 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00138/0.5944, allocations: 282.7 kB / 0.6295 GB, free: 8.852 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 4.138e-06/0.5944, allocations: 3.938 kB / 0.6295 GB, free: 8.848 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03824/0.6326, allocations: 9.53 MB / 0.6388 GB, free: 15.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.321e-05/0.6327, allocations: 128.8 kB / 0.6389 GB, free: 15.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.6346, allocations: 1.421 MB / 0.6403 GB, free: 13.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.6349, allocations: 57.7 kB / 0.6403 GB, free: 13.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009237/0.6358, allocations: 1.198 MB / 0.6415 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007326/0.6365, allocations: 0.6662 MB / 0.6422 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008378/0.6374, allocations: 0.517 MB / 0.6427 GB, free: 11.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6375, allocations: 305.1 kB / 0.643 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.6392, allocations: 0.9539 MB / 0.6439 GB, free: 9.941 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002586/0.6418, allocations: 1.898 MB / 0.6457 GB, free: 7.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00456/0.6463, allocations: 3.007 MB / 0.6487 GB, free: 4.164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/0.6464, allocations: 8 kB / 0.6487 GB, free: 4.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01121/0.6576, allocations: 3.894 MB / 0.6525 GB, free: 244 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.6576, allocations: 16 kB / 0.6525 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.271e-05/0.6577, allocations: 39.92 kB / 0.6525 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005922/0.6636, allocations: 1.169 MB / 0.6537 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.666, allocations: 0.585 MB / 0.6543 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.677, allocations: 7.083 MB / 0.6612 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.6792, allocations: 111.9 kB / 0.6613 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003575/0.6796, allocations: 159.9 kB / 0.6614 GB, free: 6.742 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.001068/0.6806, allocations: 484.8 kB / 0.6619 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00046/0.6811, allocations: 174.8 kB / 0.6621 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.6913, allocations: 3.225 MB / 0.6652 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.6913, allocations: 23.94 kB / 0.6652 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/0.6913, allocations: 11.92 kB / 0.6652 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/0.6914, allocations: 7.969 kB / 0.6653 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.7049, allocations: 4.88 MB / 0.67 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.7049, allocations: 4 kB / 0.67 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.7062, allocations: 307.6 kB / 0.6703 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005193/0.7114, allocations: 1.045 MB / 0.6713 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/0.7116, allocations: 75.95 kB / 0.6714 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009006/0.7206, allocations: 6.36 MB / 0.6776 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.7206, allocations: 15.91 kB / 0.6776 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/0.7317, allocations: 4.127 MB / 0.6817 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.7322, allocations: 150.9 kB / 0.6818 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.7324, allocations: 36 kB / 0.6818 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.7336, allocations: 43.98 kB / 0.6819 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000424/0.734, allocations: 189.5 kB / 0.6821 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/0.7342, allocations: 83.94 kB / 0.6821 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001233/0.7354, allocations: 0.8813 MB / 0.683 GB, free: 108 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7354, allocations: 4 kB / 0.683 GB, free: 104 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003971/0.7394, allocations: 1.262 MB / 0.6842 GB, free: 14.84 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.002642/0.742, allocations: 1.324 MB / 0.6855 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006368/0.7484, allocations: 2.83 MB / 0.6883 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.7484, allocations: 0 / 0.6883 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003503/0.7519, allocations: 1.464 MB / 0.6897 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.7538, allocations: 314.2 kB / 0.69 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008517/0.7623, allocations: 4.12 MB / 0.6941 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.7634, allocations: 0.9104 MB / 0.6949 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001765/0.7652, allocations: 454 kB / 0.6954 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000695/0.7659, allocations: 269.9 kB / 0.6956 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of SimCode: time 1.152e-06/0.7659, allocations: 4 kB / 0.6956 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of Templates: time 0.2809/1.047, 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 cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.017175101995235] Failed to read output from testmodel.py, exit status != 0: 1.0551646439998876 1.068757025 0.5309843830000001 Calling exit ...