Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.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.001531/0.001531, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.00177/0.00177, allocations: 156.9 kB / 23.01 MB, free: 4.605 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.336/1.336, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 179] 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.1204/0.1204, allocations: 17.36 MB / 277.2 MB, free: 15.29 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.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [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.002131/0.002131, allocations: 63.89 kB / 412.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2687, allocations: 59.86 MB / 472.3 MB, free: 2.598 MB / 366.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.MethanElectrosynthesis): time 0.07195/0.3406, allocations: 29.24 MB / 0.4898 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02532/0.366, allocations: 19.47 MB / 0.5088 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.3673, allocations: 31.75 kB / 0.5088 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.3688, allocations: 0.5271 MB / 0.5093 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.3721, allocations: 1.319 MB / 0.5106 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007917/0.38, allocations: 3.344 MB / 0.5139 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003016/0.383, allocations: 2.391 MB / 0.5162 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.3846, allocations: 1.243 MB / 0.5174 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.3857, allocations: 1.063 MB / 0.5185 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.3873, allocations: 1.077 MB / 0.5195 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003157/0.3876, allocations: 236 kB / 0.5198 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005292/0.3929, allocations: 2.227 MB / 0.5219 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005343/0.3934, allocations: 0.5375 MB / 0.5225 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.3944, allocations: 0.9531 MB / 0.5234 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008134/0.4026, allocations: 5.011 MB / 0.5283 GB, free: 1.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4026, allocations: 4 kB / 0.5283 GB, free: 1.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4026, allocations: 0 / 0.5283 GB, free: 1.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.131e-05/0.4026, allocations: 0 / 0.5283 GB, free: 1.953 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.004672/0.4073, allocations: 2.655 MB / 0.5309 GB, free: 15.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.4073, allocations: 12.03 kB / 0.5309 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.4092, allocations: 0.5105 MB / 0.5314 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.4111, allocations: 1.141 MB / 0.5325 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.4114, allocations: 250.9 kB / 0.5327 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.4116, allocations: 188 kB / 0.5329 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004007/0.4156, allocations: 2.716 MB / 0.5356 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/0.4157, allocations: 8 kB / 0.5356 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.4159, allocations: 76 kB / 0.5356 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/0.4159, allocations: 52 kB / 0.5357 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004861/0.4208, allocations: 3.314 MB / 0.5389 GB, free: 6.863 MB / 446.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.01179/0.4326, allocations: 7.293 MB / 0.5461 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.4344, allocations: 1.113 MB / 0.5471 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009556/0.4354, allocations: 0.595 MB / 0.5477 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007523/0.4429, allocations: 3.386 MB / 0.551 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.4429, allocations: 43.16 kB / 0.5511 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008146/0.4438, allocations: 187 kB / 0.5513 GB, free: 10.03 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.655e-06/0.4438, allocations: 0 / 0.5513 GB, free: 10.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.02671/0.4705, allocations: 6.917 MB / 0.558 GB, free: 3.055 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/0.4706, allocations: 115.9 kB / 0.5581 GB, free: 2.918 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.4727, allocations: 1.831 MB / 0.5599 GB, free: 1.074 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.4728, allocations: 49.7 kB / 0.56 GB, free: 1.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008089/0.4737, allocations: 1.049 MB / 0.561 GB, free: 15.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000382/0.474, allocations: 432.4 kB / 0.5614 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006115/0.4746, allocations: 419.3 kB / 0.5618 GB, free: 15.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4748, allocations: 301.1 kB / 0.5621 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.4762, allocations: 0.8746 MB / 0.5629 GB, free: 13.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.4782, allocations: 1.608 MB / 0.5645 GB, free: 11.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/0.4815, allocations: 2.348 MB / 0.5668 GB, free: 9.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.4815, allocations: 8 kB / 0.5668 GB, free: 9.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008113/0.4896, allocations: 3.327 MB / 0.5701 GB, free: 5.941 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.4896, allocations: 16 kB / 0.5701 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.235e-05/0.4897, allocations: 24 kB / 0.5701 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004671/0.4943, allocations: 1.034 MB / 0.5711 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.4957, allocations: 427.3 kB / 0.5715 GB, free: 4.434 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.5059, allocations: 7.047 MB / 0.5784 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.5073, allocations: 99.91 kB / 0.5785 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/0.5075, allocations: 116 kB / 0.5786 GB, free: 12.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (226): * Single equations (assignments): 221 * 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 {(2,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 {(2,15), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008007/0.5083, allocations: 409 kB / 0.579 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.5087, allocations: 147 kB / 0.5791 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006581/0.5152, allocations: 2.162 MB / 0.5812 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.5153, allocations: 19.92 kB / 0.5813 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5153, allocations: 4 kB / 0.5813 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.5153, allocations: 7.984 kB / 0.5813 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009279/0.5246, allocations: 3.52 MB / 0.5847 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5246, allocations: 7.984 kB / 0.5847 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/0.5253, allocations: 167.9 kB / 0.5849 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00429/0.5296, allocations: 0.9357 MB / 0.5858 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.5297, allocations: 47.97 kB / 0.5858 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008726/0.5384, allocations: 6.337 MB / 0.592 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5384, allocations: 0 / 0.592 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007664/0.5461, allocations: 2.887 MB / 0.5948 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.5464, allocations: 127.1 kB / 0.595 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.5466, allocations: 24 kB / 0.595 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008461/0.5474, allocations: 39.92 kB / 0.595 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.5477, allocations: 117.1 kB / 0.5951 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.5478, allocations: 47.97 kB / 0.5952 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001571/0.5494, allocations: 1.252 MB / 0.5964 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5494, allocations: 3.938 kB / 0.5964 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002913/0.5523, allocations: 0.9702 MB / 0.5974 GB, free: 9.125 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.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 (90): * Single equations (assignments): 85 * 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 {(2,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,17), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001747/0.5541, allocations: 1.012 MB / 0.5983 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004475/0.5585, allocations: 2.358 MB / 0.6006 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5585, allocations: 3.938 kB / 0.6006 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.5606, allocations: 1.096 MB / 0.6017 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.5618, allocations: 224.6 kB / 0.6019 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005354/0.5671, allocations: 3.215 MB / 0.6051 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007827/0.5679, allocations: 0.7254 MB / 0.6058 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009321/0.5688, allocations: 322.8 kB / 0.6061 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/0.5692, allocations: 180.5 kB / 0.6063 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of SimCode: time 6.52e-07/0.5692, allocations: 7.875 kB / 0.6063 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of Templates: time 0.2345/0.8037, allocations: 35.82 MB / 0.6413 GB, free: 154.7 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.027048334013671] Failed to read output from testmodel.py, exit status != 0: 0.8118735790485516 0.820838418 0.41614341800000004 Calling exit ...