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.001475/0.001475, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001647/0.001647, allocations: 216.3 kB / 22.25 MB, free: 5.258 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.355/1.355, allocations: 230.6 MB / 256 MB, free: 7.781 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.1307/0.1307, allocations: 23.9 MB / 336.3 MB, free: 11.03 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.001987/0.001987, allocations: 74.55 kB / 471.6 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2805, allocations: 59.86 MB / 0.519 GB, free: 9.738 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.07088/0.3514, allocations: 30.56 MB / 0.5489 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03451/0.3859, allocations: 25.49 MB / 0.5738 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.3878, allocations: 35.75 kB / 0.5738 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.3896, allocations: 0.6317 MB / 0.5744 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006013/0.3956, allocations: 2.204 MB / 0.5766 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01391/0.4095, allocations: 3.996 MB / 0.5805 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004891/0.4144, allocations: 3.089 MB / 0.5835 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002201/0.4166, allocations: 1.613 MB / 0.5851 GB, free: 6.094 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.4186, allocations: 1.488 MB / 0.5865 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.421, allocations: 1.693 MB / 0.5882 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003981/0.4214, allocations: 296 kB / 0.5885 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007842/0.4292, allocations: 3.058 MB / 0.5914 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007108/0.4299, allocations: 0.6971 MB / 0.5921 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.4313, allocations: 1.21 MB / 0.5933 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.4441, allocations: 6.564 MB / 0.5997 GB, free: 7.047 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4441, allocations: 0 / 0.5997 GB, free: 7.047 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4441, allocations: 0 / 0.5997 GB, free: 7.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.241e-05/0.4441, allocations: 0 / 0.5997 GB, free: 7.047 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.00717/0.4513, allocations: 3.319 MB / 0.603 GB, free: 3.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.4514, allocations: 8.031 kB / 0.603 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/0.4538, allocations: 0.5803 MB / 0.6035 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.4565, allocations: 1.364 MB / 0.6049 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/0.4568, allocations: 347.3 kB / 0.6052 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004247/0.4573, allocations: 240 kB / 0.6054 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005198/0.4625, allocations: 3.094 MB / 0.6084 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/0.4625, allocations: 0 / 0.6084 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/0.4627, allocations: 96 kB / 0.6085 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.715e-05/0.4628, allocations: 60 kB / 0.6086 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005892/0.4687, allocations: 3.618 MB / 0.6121 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.01621/0.4849, allocations: 8.744 MB / 0.6207 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.4879, allocations: 1.772 MB / 0.6224 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.4895, allocations: 1.02 MB / 0.6234 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.501, allocations: 5.18 MB / 0.6285 GB, free: 9.133 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.5011, allocations: 55.81 kB / 0.6285 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001379/0.5025, allocations: 286.7 kB / 0.6288 GB, free: 8.789 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 3.967e-06/0.5025, allocations: 0 / 0.6288 GB, free: 8.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03721/0.5397, allocations: 9.526 MB / 0.6381 GB, free: 15.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/0.5398, allocations: 124.8 kB / 0.6382 GB, free: 15.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.5416, allocations: 1.432 MB / 0.6396 GB, free: 13.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.5417, allocations: 53.7 kB / 0.6397 GB, free: 13.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009132/0.5427, allocations: 1.202 MB / 0.6408 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006409/0.5433, allocations: 0.6546 MB / 0.6415 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000793/0.5441, allocations: 0.517 MB / 0.642 GB, free: 11.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5442, allocations: 313.1 kB / 0.6423 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.5459, allocations: 0.9462 MB / 0.6432 GB, free: 9.891 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/0.5483, allocations: 1.898 MB / 0.645 GB, free: 7.555 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004409/0.5527, allocations: 3.003 MB / 0.648 GB, free: 4.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/0.5528, allocations: 8 kB / 0.648 GB, free: 4.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01084/0.5636, allocations: 3.894 MB / 0.6518 GB, free: 196 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.5636, allocations: 20 kB / 0.6518 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.475e-05/0.5637, allocations: 31.94 kB / 0.6518 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005871/0.5696, allocations: 1.189 MB / 0.653 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.5718, allocations: 0.5772 MB / 0.6536 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.5824, allocations: 7.085 MB / 0.6605 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.5845, allocations: 111.9 kB / 0.6606 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/0.5848, allocations: 163.9 kB / 0.6607 GB, free: 6.688 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.000985/0.5858, allocations: 484.8 kB / 0.6612 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004312/0.5862, allocations: 178.8 kB / 0.6614 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/0.5963, allocations: 3.225 MB / 0.6645 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.5963, allocations: 24 kB / 0.6646 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.5963, allocations: 3.938 kB / 0.6646 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/0.5964, allocations: 15.95 kB / 0.6646 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/0.6105, allocations: 4.88 MB / 0.6693 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.6105, allocations: 3.984 kB / 0.6693 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/0.6119, allocations: 299.6 kB / 0.6696 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005318/0.6173, allocations: 1.056 MB / 0.6707 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/0.6175, allocations: 71.95 kB / 0.6707 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009029/0.6265, allocations: 6.364 MB / 0.6769 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.6265, allocations: 11.88 kB / 0.677 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.6377, allocations: 4.112 MB / 0.681 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004727/0.6381, allocations: 150.9 kB / 0.6811 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.6385, allocations: 43.98 kB / 0.6812 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.6397, allocations: 43.98 kB / 0.6812 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004459/0.6402, allocations: 185.5 kB / 0.6814 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/0.6404, allocations: 83.95 kB / 0.6815 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001317/0.6417, allocations: 0.889 MB / 0.6823 GB, free: 52 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6417, allocations: 4 kB / 0.6823 GB, free: 48 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004183/0.6459, allocations: 1.266 MB / 0.6836 GB, free: 14.78 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.002961/0.6488, allocations: 1.331 MB / 0.6849 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006325/0.6552, allocations: 2.83 MB / 0.6876 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6552, allocations: 288 / 0.6876 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003101/0.6583, allocations: 1.46 MB / 0.6891 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.6602, allocations: 308.3 kB / 0.6893 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008484/0.6686, allocations: 4.117 MB / 0.6934 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.6699, allocations: 0.9104 MB / 0.6943 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001647/0.6716, allocations: 437.9 kB / 0.6947 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007388/0.6723, allocations: 278.2 kB / 0.6949 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of SimCode: time 1.313e-06/0.6723, allocations: 7.938 kB / 0.6949 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of Templates: time 0.2772/0.9495, allocations: 50.02 MB / 0.7438 GB, free: 172.6 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: 6.631647768896073] Failed to read output from testmodel.py, exit status != 0: 0.9579240754246712 0.96776395 0.521305232 Calling exit ...