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.001354/0.001354, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001521/0.001521, allocations: 210.5 kB / 22.98 MB, free: 4.41 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 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.1351/0.1351, allocations: 23.88 MB / 337.1 MB, free: 10.99 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.00209/0.00209, allocations: 63.91 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3635, allocations: 59.86 MB / 0.5198 GB, free: 9.789 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.07796/0.4414, allocations: 30.61 MB / 0.5497 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03763/0.4791, allocations: 25.49 MB / 0.5745 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.4817, allocations: 39.69 kB / 0.5746 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.4843, allocations: 0.6318 MB / 0.5752 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008505/0.4928, allocations: 2.208 MB / 0.5774 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01308/0.5059, allocations: 3.996 MB / 0.5813 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005486/0.5114, allocations: 3.081 MB / 0.5843 GB, free: 7.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.5141, allocations: 1.613 MB / 0.5858 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.5166, allocations: 1.488 MB / 0.5873 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.5198, allocations: 1.693 MB / 0.5889 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009526/0.5208, allocations: 296 kB / 0.5892 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009362/0.5301, allocations: 3.062 MB / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001328/0.5314, allocations: 0.6932 MB / 0.5929 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.5335, allocations: 1.214 MB / 0.5941 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.5488, allocations: 6.556 MB / 0.6005 GB, free: 7.047 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5488, allocations: 3.938 kB / 0.6005 GB, free: 7.043 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5488, allocations: 0 / 0.6005 GB, free: 7.043 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001317/0.5489, allocations: 0 / 0.6005 GB, free: 7.043 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.00821/0.5571, allocations: 3.323 MB / 0.6037 GB, free: 3.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5571, allocations: 12.03 kB / 0.6037 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.5597, allocations: 0.5764 MB / 0.6043 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/0.5631, allocations: 1.364 MB / 0.6056 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/0.5634, allocations: 343.2 kB / 0.606 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006227/0.564, allocations: 247.9 kB / 0.6062 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005932/0.5699, allocations: 3.086 MB / 0.6092 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.144e-05/0.57, allocations: 0 / 0.6092 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.5702, allocations: 96 kB / 0.6093 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/0.5703, allocations: 60 kB / 0.6094 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006431/0.5767, allocations: 3.615 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.01849/0.5952, allocations: 8.763 MB / 0.6215 GB, free: 1.148 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/0.5985, allocations: 1.772 MB / 0.6232 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.6003, allocations: 1.024 MB / 0.6242 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01271/0.613, allocations: 5.173 MB / 0.6292 GB, free: 9.117 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.6131, allocations: 55.81 kB / 0.6293 GB, free: 9.055 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001347/0.6144, allocations: 286.6 kB / 0.6296 GB, free: 8.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 6.743e-06/0.6144, allocations: 0 / 0.6296 GB, free: 8.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03536/0.6498, allocations: 9.533 MB / 0.6389 GB, free: 15.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.6499, allocations: 124.8 kB / 0.639 GB, free: 15.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.6519, allocations: 1.417 MB / 0.6404 GB, free: 13.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003474/0.6523, allocations: 57.77 kB / 0.6404 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009657/0.6532, allocations: 1.206 MB / 0.6416 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008233/0.654, allocations: 0.6585 MB / 0.6423 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000828/0.6549, allocations: 0.517 MB / 0.6428 GB, free: 11.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.655, allocations: 305.1 kB / 0.643 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.6567, allocations: 0.9501 MB / 0.644 GB, free: 9.875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/0.6595, allocations: 1.902 MB / 0.6458 GB, free: 7.535 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004821/0.6643, allocations: 3.003 MB / 0.6488 GB, free: 4.098 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.893e-05/0.6643, allocations: 8 kB / 0.6488 GB, free: 4.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01097/0.6753, allocations: 3.89 MB / 0.6526 GB, free: 180 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.6754, allocations: 20.09 kB / 0.6526 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.067e-05/0.6754, allocations: 35.94 kB / 0.6526 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005373/0.6808, allocations: 1.175 MB / 0.6538 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/0.6832, allocations: 0.5811 MB / 0.6543 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.694, allocations: 7.081 MB / 0.6613 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.6963, allocations: 111.9 kB / 0.6614 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004612/0.6968, allocations: 160 kB / 0.6615 GB, free: 6.68 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.001163/0.6979, allocations: 488.7 kB / 0.662 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005837/0.6985, allocations: 178.8 kB / 0.6622 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009521/0.708, allocations: 3.229 MB / 0.6653 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.504e-05/0.7081, allocations: 16 kB / 0.6653 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.7081, allocations: 7.938 kB / 0.6653 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.251e-05/0.7081, allocations: 7.969 kB / 0.6653 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.7223, allocations: 4.891 MB / 0.6701 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/0.7223, allocations: 4 kB / 0.6701 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.7238, allocations: 303.6 kB / 0.6704 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004833/0.7286, allocations: 1.046 MB / 0.6714 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003844/0.729, allocations: 71.95 kB / 0.6715 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008829/0.7379, allocations: 6.377 MB / 0.6777 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7379, allocations: 3.938 kB / 0.6777 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.7482, allocations: 4.116 MB / 0.6817 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005588/0.7487, allocations: 146.9 kB / 0.6819 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.749, allocations: 40 kB / 0.6819 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.7501, allocations: 47.98 kB / 0.682 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004398/0.7505, allocations: 189.5 kB / 0.6821 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/0.7507, allocations: 83.95 kB / 0.6822 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001185/0.7519, allocations: 0.8852 MB / 0.6831 GB, free: 44 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7519, allocations: 288 / 0.6831 GB, free: 44 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004113/0.756, allocations: 1.267 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.002893/0.7589, allocations: 1.336 MB / 0.6856 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00638/0.7653, allocations: 2.829 MB / 0.6884 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.7653, allocations: 1.938 kB / 0.6884 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003183/0.7685, allocations: 1.471 MB / 0.6898 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.7704, allocations: 295.9 kB / 0.6901 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008218/0.7786, allocations: 4.159 MB / 0.6942 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.7797, allocations: 0.9026 MB / 0.6951 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.7807, allocations: 365.5 kB / 0.6954 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/0.7807, allocations: 0 / 0.6954 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of Templates: time 0.3188/1.1, allocations: 82.07 MB / 0.7756 GB, free: 153 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.292450189997908] Failed to read output from testmodel.py, exit status != 0: 1.1094285110011697 1.119270049 0.5677194400000001 Calling exit ...