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.001314/0.001314, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001365/0.001365, allocations: 157.4 kB / 23.01 MB, free: 4.602 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.353/1.353, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 179] 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.1249/0.1249, allocations: 17.44 MB / 277.2 MB, free: 15.22 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.00201/0.00201, allocations: 71.89 kB / 412.6 MB, free: 5.586 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.09748, allocations: 59.89 MB / 472.5 MB, free: 9.586 MB / 446.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.2402/0.3376, allocations: 29.23 MB / 0.4899 GB, free: 38.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01917/0.3568, allocations: 19.46 MB / 0.509 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.3582, allocations: 31.28 kB / 0.509 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.3599, allocations: 0.5355 MB / 0.5095 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004343/0.3642, allocations: 1.312 MB / 0.5108 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009564/0.3738, allocations: 3.341 MB / 0.514 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003271/0.377, allocations: 2.399 MB / 0.5164 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.3783, allocations: 1.236 MB / 0.5176 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.3794, allocations: 1.061 MB / 0.5186 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.3807, allocations: 1.078 MB / 0.5197 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003234/0.381, allocations: 232.8 kB / 0.5199 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006693/0.3877, allocations: 2.23 MB / 0.5221 GB, free: 22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004439/0.3881, allocations: 0.5331 MB / 0.5226 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.3893, allocations: 0.9599 MB / 0.5235 GB, free: 21.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009485/0.3988, allocations: 5.006 MB / 0.5284 GB, free: 19.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3988, allocations: 5.406 kB / 0.5284 GB, free: 19.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3988, allocations: 0 / 0.5284 GB, free: 19.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.794e-05/0.3988, allocations: 0 / 0.5284 GB, free: 19.02 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: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.004325/0.4031, allocations: 2.66 MB / 0.531 GB, free: 17.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.4032, allocations: 8.875 kB / 0.531 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.4049, allocations: 0.5098 MB / 0.5315 GB, free: 17.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.4065, allocations: 1.141 MB / 0.5327 GB, free: 16.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.4066, allocations: 257.8 kB / 0.5329 GB, free: 16.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/0.4069, allocations: 195.3 kB / 0.5331 GB, free: 16.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/0.41, allocations: 2.712 MB / 0.5357 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.4101, allocations: 7.984 kB / 0.5357 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.4102, allocations: 76 kB / 0.5358 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.4102, allocations: 48 kB / 0.5359 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003632/0.4139, allocations: 3.318 MB / 0.5391 GB, free: 11.83 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.009333/0.4232, allocations: 7.288 MB / 0.5462 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.4247, allocations: 1.108 MB / 0.5473 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007464/0.4254, allocations: 0.5955 MB / 0.5479 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006316/0.4318, allocations: 3.388 MB / 0.5512 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.4318, allocations: 51.91 kB / 0.5512 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000762/0.4325, allocations: 191 kB / 0.5514 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.465e-06/0.4325, allocations: 0 / 0.5514 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of matching and sorting (n=115): time 0.02783/0.4604, allocations: 6.914 MB / 0.5582 GB, free: 10.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.4605, allocations: 115.8 kB / 0.5583 GB, free: 10.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.4631, allocations: 1.827 MB / 0.5601 GB, free: 9.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002141/0.4633, allocations: 49.77 kB / 0.5601 GB, free: 9.102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008209/0.4641, allocations: 1.054 MB / 0.5611 GB, free: 8.141 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005008/0.4646, allocations: 428.1 kB / 0.5616 GB, free: 7.758 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007568/0.4654, allocations: 421.6 kB / 0.562 GB, free: 7.391 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4655, allocations: 305.1 kB / 0.5622 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.467, allocations: 0.8706 MB / 0.5631 GB, free: 6.328 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.4692, allocations: 1.606 MB / 0.5647 GB, free: 4.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/0.4728, allocations: 2.352 MB / 0.567 GB, free: 1.887 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/0.4728, allocations: 12 kB / 0.567 GB, free: 1.875 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008474/0.4813, allocations: 3.316 MB / 0.5702 GB, free: 14.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.4813, allocations: 20.03 kB / 0.5702 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.498e-05/0.4813, allocations: 24 kB / 0.5703 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004751/0.4861, allocations: 1.038 MB / 0.5713 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.4875, allocations: 427.3 kB / 0.5717 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.4977, allocations: 7.057 MB / 0.5786 GB, free: 5.633 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.4994, allocations: 92.02 kB / 0.5787 GB, free: 5.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/0.4997, allocations: 123.9 kB / 0.5788 GB, free: 5.422 MB / 478.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.0008666/0.5006, allocations: 403.6 kB / 0.5792 GB, free: 5.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/0.501, allocations: 151 kB / 0.5793 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006753/0.5078, allocations: 2.174 MB / 0.5814 GB, free: 2.668 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.5078, allocations: 12 kB / 0.5814 GB, free: 2.656 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.5078, allocations: 4 kB / 0.5814 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.5078, allocations: 7.969 kB / 0.5814 GB, free: 2.645 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009879/0.5177, allocations: 3.512 MB / 0.5849 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5177, allocations: 0 / 0.5849 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/0.5185, allocations: 179.7 kB / 0.585 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004556/0.523, allocations: 0.9249 MB / 0.586 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/0.5232, allocations: 47.95 kB / 0.586 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008954/0.5322, allocations: 6.339 MB / 0.5922 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5322, allocations: 3.938 kB / 0.5922 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007682/0.5399, allocations: 2.891 MB / 0.595 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004672/0.5403, allocations: 123.2 kB / 0.5951 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/0.5407, allocations: 27.98 kB / 0.5952 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.5417, allocations: 36.11 kB / 0.5952 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002871/0.542, allocations: 112.7 kB / 0.5953 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.5421, allocations: 59.97 kB / 0.5954 GB, free: 3.941 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001641/0.5437, allocations: 1.244 MB / 0.5966 GB, free: 2.691 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5437, allocations: 0 / 0.5966 GB, free: 2.691 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003389/0.5471, allocations: 0.9741 MB / 0.5975 GB, free: 1.715 MB / 494.1 MB 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.002275/0.5494, allocations: 1.014 MB / 0.5985 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004939/0.5543, allocations: 2.351 MB / 0.6008 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5544, allocations: 0 / 0.6008 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002233/0.5566, allocations: 1.103 MB / 0.6019 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.5581, allocations: 228 kB / 0.6021 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006159/0.5643, allocations: 3.215 MB / 0.6052 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009312/0.5652, allocations: 0.7332 MB / 0.606 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0011/0.5663, allocations: 330.7 kB / 0.6063 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/0.5668, allocations: 176.4 kB / 0.6064 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.5668, allocations: 0 / 0.6064 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of Templates: time 0.05933/0.6261, allocations: 35.82 MB / 0.6414 GB, free: 4.707 MB / 0.5294 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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.854440082097426] Failed to read output from testmodel.py, exit status != 0: 0.6347690710099414 0.6489939889999999 0.24711347700000003 Calling exit ...