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.001478/0.001478, allocations: 109.7 kB / 16.45 MB, free: 6.488 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.002262/0.002262, allocations: 216.2 kB / 19.43 MB, free: 3.66 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.533/1.533, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.1399/0.1399, allocations: 23.85 MB / 332.7 MB, free: 12.38 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.002258/0.002258, allocations: 59.91 kB / 466.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3091, allocations: 59.81 MB / 0.514 GB, free: 9.156 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.04411/0.3532, allocations: 31.66 MB / 0.5449 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03887/0.3921, allocations: 29.02 MB / 0.5732 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.3942, allocations: 39.69 kB / 0.5733 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002307/0.3966, allocations: 0.6824 MB / 0.5739 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007408/0.404, allocations: 2.25 MB / 0.5761 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01243/0.4164, allocations: 3.942 MB / 0.58 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005589/0.422, allocations: 3.093 MB / 0.583 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.4244, allocations: 1.647 MB / 0.5846 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.4265, allocations: 1.481 MB / 0.586 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/0.4293, allocations: 1.697 MB / 0.5877 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005648/0.4299, allocations: 296 kB / 0.588 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009209/0.4391, allocations: 3.179 MB / 0.5911 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009744/0.44, allocations: 0.6972 MB / 0.5918 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.4419, allocations: 1.439 MB / 0.5932 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01459/0.4565, allocations: 6.564 MB / 0.5996 GB, free: 3.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4565, allocations: 7.938 kB / 0.5996 GB, free: 3.379 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4565, allocations: 0 / 0.5996 GB, free: 3.379 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.023e-05/0.4566, allocations: 0 / 0.5996 GB, free: 3.379 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.007232/0.4638, allocations: 3.406 MB / 0.6029 GB, free: 15.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4639, allocations: 8.031 kB / 0.6029 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.4665, allocations: 0.5764 MB / 0.6035 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.4691, allocations: 1.432 MB / 0.6049 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/0.4693, allocations: 270.1 kB / 0.6051 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/0.4698, allocations: 243.9 kB / 0.6054 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005444/0.4752, allocations: 3.053 MB / 0.6084 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.106e-05/0.4752, allocations: 0 / 0.6084 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002781/0.4755, allocations: 100 kB / 0.6085 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.717e-05/0.4756, allocations: 56 kB / 0.6085 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00645/0.482, allocations: 3.626 MB / 0.6121 GB, free: 6.367 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.01839/0.5004, allocations: 10.54 MB / 0.6223 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.504, allocations: 2.16 MB / 0.6245 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.5059, allocations: 1.027 MB / 0.6255 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/0.5208, allocations: 8.826 MB / 0.6341 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.5208, allocations: 55.88 kB / 0.6341 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001444/0.5223, allocations: 302.4 kB / 0.6344 GB, free: 14.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=134): time 6.462e-06/0.5223, allocations: 4 kB / 0.6344 GB, free: 14.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=181): time 0.04146/0.5638, allocations: 9.772 MB / 0.644 GB, free: 4.211 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.5639, allocations: 132.9 kB / 0.6441 GB, free: 4.055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.5663, allocations: 1.458 MB / 0.6455 GB, free: 2.586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003754/0.5666, allocations: 53.7 kB / 0.6456 GB, free: 2.527 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.5676, allocations: 1.186 MB / 0.6467 GB, free: 1.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000944/0.5686, allocations: 0.6624 MB / 0.6474 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.5698, allocations: 0.5131 MB / 0.6479 GB, free: 144 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.57, allocations: 309.1 kB / 0.6482 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.5721, allocations: 0.9423 MB / 0.6491 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003005/0.5751, allocations: 1.898 MB / 0.6509 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007407/0.5825, allocations: 2.996 MB / 0.6539 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-05/0.5825, allocations: 8 kB / 0.6539 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01551/0.5981, allocations: 3.89 MB / 0.6577 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.5981, allocations: 23.22 kB / 0.6577 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.697e-05/0.5982, allocations: 32 kB / 0.6577 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005958/0.6041, allocations: 1.178 MB / 0.6589 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/0.6066, allocations: 0.5811 MB / 0.6594 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.6185, allocations: 7.526 MB / 0.6668 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.6207, allocations: 107.8 kB / 0.6669 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005643/0.6213, allocations: 163.9 kB / 0.6671 GB, free: 11.14 MB / 0.5137 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.001395/0.6227, allocations: 484.9 kB / 0.6675 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006324/0.6233, allocations: 182.8 kB / 0.6677 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/0.6344, allocations: 3.233 MB / 0.6708 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.6345, allocations: 20 kB / 0.6709 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.6345, allocations: 4 kB / 0.6709 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-05/0.6345, allocations: 15.89 kB / 0.6709 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.6494, allocations: 5.422 MB / 0.6762 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.6495, allocations: 4 kB / 0.6762 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.6509, allocations: 303.6 kB / 0.6765 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005319/0.6562, allocations: 1.05 MB / 0.6775 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002557/0.6565, allocations: 75.89 kB / 0.6776 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.6666, allocations: 6.808 MB / 0.6842 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6666, allocations: 0 / 0.6842 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.679, allocations: 4.128 MB / 0.6882 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/0.6796, allocations: 243.9 kB / 0.6885 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005356/0.6802, allocations: 44 kB / 0.6885 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.6817, allocations: 43.98 kB / 0.6886 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006429/0.6823, allocations: 177.6 kB / 0.6887 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003233/0.6827, allocations: 79.95 kB / 0.6888 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001752/0.6844, allocations: 0.9549 MB / 0.6897 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6844, allocations: 4 kB / 0.6897 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005505/0.6899, allocations: 1.266 MB / 0.691 GB, free: 1.941 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.004146/0.6941, allocations: 1.331 MB / 0.6923 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00913/0.7032, allocations: 2.905 MB / 0.6951 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.7032, allocations: 0.8125 kB / 0.6951 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003884/0.7071, allocations: 1.539 MB / 0.6966 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.7095, allocations: 311.7 kB / 0.6969 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/0.7188, allocations: 4.115 MB / 0.7009 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.7206, allocations: 1.482 MB / 0.7024 GB, free: 6.023 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002036/0.7226, allocations: 458.4 kB / 0.7028 GB, free: 5.574 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008977/0.7235, allocations: 289.9 kB / 0.7031 GB, free: 5.297 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/0.7235, allocations: 0 / 0.7031 GB, free: 5.297 MB / 0.545 GB Notification: Performance of Templates: time 0.3027/1.026, allocations: 47.85 MB / 0.7498 GB, free: 166 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 sys.exit(0), Time elapsed: 7.22026052325964] Failed to read output from testmodel.py, exit status != 0: 1.0355479530990124 1.044819676 0.585956889 Calling exit ...