Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001409/0.001409, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001567/0.001567, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1431/0.1431, allocations: 23.89 MB / 337.1 MB, free: 11.19 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002051/0.002051, allocations: 71.89 kB / 472.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3129, allocations: 59.87 MB / 0.5199 GB, free: 9.848 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.04177/0.3547, allocations: 30.35 MB / 0.5495 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02894/0.3836, allocations: 22.2 MB / 0.5712 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.3862, allocations: 31.81 kB / 0.5712 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.3885, allocations: 0.5766 MB / 0.5718 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006197/0.3947, allocations: 1.36 MB / 0.5731 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009941/0.4046, allocations: 3.34 MB / 0.5764 GB, free: 160 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004731/0.4093, allocations: 2.407 MB / 0.5787 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.4115, allocations: 1.259 MB / 0.58 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.4134, allocations: 1.06 MB / 0.581 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.4155, allocations: 1.23 MB / 0.5822 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004555/0.416, allocations: 236 kB / 0.5824 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008753/0.4248, allocations: 2.371 MB / 0.5847 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.426, allocations: 0.5374 MB / 0.5853 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.4279, allocations: 1.132 MB / 0.5864 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.4397, allocations: 5.027 MB / 0.5913 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4397, allocations: 0 / 0.5913 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4397, allocations: 0 / 0.5913 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.083e-05/0.4398, allocations: 0 / 0.5913 GB, free: 0.8047 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.005402/0.4452, allocations: 2.667 MB / 0.5939 GB, free: 14.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4452, allocations: 12.03 kB / 0.5939 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.4473, allocations: 0.5103 MB / 0.5944 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.4495, allocations: 1.133 MB / 0.5955 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.4497, allocations: 258.9 kB / 0.5958 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/0.45, allocations: 192 kB / 0.5959 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004503/0.4545, allocations: 2.683 MB / 0.5986 GB, free: 9.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.4546, allocations: 7.938 kB / 0.5986 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.4548, allocations: 79.98 kB / 0.5986 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.4548, allocations: 51.94 kB / 0.5987 GB, free: 9.051 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005156/0.46, allocations: 3.338 MB / 0.602 GB, free: 5.707 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.01431/0.4743, allocations: 8.483 MB / 0.6102 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.4763, allocations: 1.124 MB / 0.6113 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009783/0.4772, allocations: 0.5911 MB / 0.6119 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007803/0.4851, allocations: 3.595 MB / 0.6154 GB, free: 7.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.4851, allocations: 47.16 kB / 0.6155 GB, free: 7.516 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008901/0.486, allocations: 198.8 kB / 0.6157 GB, free: 7.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.545e-06/0.486, allocations: 0 / 0.6157 GB, free: 7.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.02781/0.5138, allocations: 6.913 MB / 0.6224 GB, free: 356 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.5139, allocations: 115.8 kB / 0.6225 GB, free: 216 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.5163, allocations: 1.892 MB / 0.6244 GB, free: 14.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.5165, allocations: 49.69 kB / 0.6244 GB, free: 14.24 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008734/0.5174, allocations: 1.041 MB / 0.6254 GB, free: 13.19 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004641/0.5178, allocations: 428.4 kB / 0.6258 GB, free: 12.77 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006723/0.5185, allocations: 423.4 kB / 0.6262 GB, free: 12.35 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5186, allocations: 301.1 kB / 0.6265 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.52, allocations: 0.8746 MB / 0.6274 GB, free: 11.17 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/0.5222, allocations: 1.604 MB / 0.6289 GB, free: 9.223 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003372/0.5255, allocations: 2.356 MB / 0.6313 GB, free: 6.531 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.5255, allocations: 8 kB / 0.6313 GB, free: 6.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008611/0.5342, allocations: 3.323 MB / 0.6345 GB, free: 3.176 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.5342, allocations: 12 kB / 0.6345 GB, free: 3.164 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/0.5342, allocations: 28 kB / 0.6345 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004932/0.5392, allocations: 1.034 MB / 0.6356 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.5407, allocations: 439.3 kB / 0.636 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.5514, allocations: 7.18 MB / 0.643 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.5531, allocations: 99.91 kB / 0.6431 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.5534, allocations: 123.9 kB / 0.6432 GB, free: 9.883 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.5542, allocations: 400.1 kB / 0.6436 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/0.5545, allocations: 155 kB / 0.6437 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006821/0.5614, allocations: 2.179 MB / 0.6459 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.5614, allocations: 15.94 kB / 0.6459 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5614, allocations: 8 kB / 0.6459 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.5614, allocations: 7.969 kB / 0.6459 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.5717, allocations: 3.908 MB / 0.6497 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.5717, allocations: 0 / 0.6497 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007736/0.5724, allocations: 179.7 kB / 0.6499 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004504/0.5769, allocations: 0.9327 MB / 0.6508 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.5771, allocations: 39.97 kB / 0.6508 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008913/0.586, allocations: 6.466 MB / 0.6571 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.586, allocations: 4.031 kB / 0.6571 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007741/0.5937, allocations: 2.892 MB / 0.66 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.5942, allocations: 143 kB / 0.6601 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/0.5944, allocations: 27.98 kB / 0.6601 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/0.5953, allocations: 39.86 kB / 0.6602 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/0.5956, allocations: 116.7 kB / 0.6603 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.5957, allocations: 55.97 kB / 0.6603 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001662/0.5973, allocations: 1.322 MB / 0.6616 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5973, allocations: 4 kB / 0.6616 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003111/0.6005, allocations: 0.9741 MB / 0.6626 GB, free: 5.48 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.001885/0.6023, allocations: 1.011 MB / 0.6636 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004924/0.6073, allocations: 2.355 MB / 0.6659 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6073, allocations: 4 kB / 0.6659 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002195/0.6095, allocations: 1.099 MB / 0.6669 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.6109, allocations: 247.1 kB / 0.6672 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006077/0.617, allocations: 3.268 MB / 0.6704 GB, free: 13.36 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.6181, allocations: 1.31 MB / 0.6716 GB, free: 12.02 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005921/0.6187, allocations: 231.3 kB / 0.6719 GB, free: 11.79 MB / 0.5138 GB Notification: Performance of SimCode: time 8.72e-07/0.6187, allocations: 0 / 0.6719 GB, free: 11.79 MB / 0.5138 GB Notification: Performance of Templates: time 0.2853/0.904, allocations: 65.45 MB / 0.7358 GB, free: 175.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.12548036998487] Failed to read output from testmodel.py, exit status != 0: 0.9134189299948048 0.9249288630000001 0.48232637800000006 Calling exit ...