Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001167/0.001167, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.00132/0.00132, allocations: 159.5 kB / 23.01 MB, free: 4.961 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.341/1.341, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.1215/0.1215, allocations: 17.45 MB / 277.2 MB, free: 15.18 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.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.00201/0.00201, allocations: 64.19 kB / 412.6 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09797, allocations: 59.88 MB / 472.5 MB, free: 9.547 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.ElectrolysisMethanation): time 0.254/0.352, allocations: 30.65 MB / 0.4913 GB, free: 37.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02403/0.376, allocations: 25.49 MB / 0.5162 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.3777, allocations: 36.12 kB / 0.5163 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.3797, allocations: 0.6291 MB / 0.5169 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00616/0.3858, allocations: 2.206 MB / 0.519 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.3958, allocations: 3.997 MB / 0.5229 GB, free: 19.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003668/0.3995, allocations: 3.083 MB / 0.5259 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.4015, allocations: 1.582 MB / 0.5275 GB, free: 16.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.4037, allocations: 1.48 MB / 0.5289 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.4065, allocations: 1.495 MB / 0.5304 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008496/0.4073, allocations: 296.5 kB / 0.5307 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008168/0.4155, allocations: 3.002 MB / 0.5336 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009371/0.4164, allocations: 0.6941 MB / 0.5343 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002245/0.4187, allocations: 1.22 MB / 0.5355 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.4305, allocations: 6.552 MB / 0.5419 GB, free: 9.223 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4305, allocations: 0 / 0.5419 GB, free: 9.223 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4305, allocations: 0.7031 kB / 0.5419 GB, free: 9.223 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001183/0.4306, allocations: 0 / 0.5419 GB, free: 9.223 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.007213/0.4379, allocations: 3.329 MB / 0.5451 GB, free: 6.195 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.4379, allocations: 12.03 kB / 0.5451 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002582/0.4405, allocations: 0.5812 MB / 0.5457 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/0.443, allocations: 1.347 MB / 0.547 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.4432, allocations: 345.4 kB / 0.5474 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005581/0.4438, allocations: 249.2 kB / 0.5476 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005178/0.449, allocations: 3.094 MB / 0.5506 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.704e-05/0.449, allocations: 0 / 0.5506 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003011/0.4493, allocations: 101.5 kB / 0.5507 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.4494, allocations: 60 kB / 0.5508 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00582/0.4552, allocations: 3.6 MB / 0.5543 GB, free: 14.07 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.01732/0.4725, allocations: 8.753 MB / 0.5628 GB, free: 6.301 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/0.4757, allocations: 1.773 MB / 0.5646 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.4774, allocations: 1.027 MB / 0.5656 GB, free: 3.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.4889, allocations: 5.185 MB / 0.5706 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.489, allocations: 47.88 kB / 0.5707 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001319/0.4903, allocations: 290.6 kB / 0.571 GB, free: 14.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 6.412e-06/0.4903, allocations: 0 / 0.571 GB, free: 14.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.0351/0.5254, allocations: 9.531 MB / 0.5803 GB, free: 4.891 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.5255, allocations: 132.7 kB / 0.5804 GB, free: 4.734 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.5274, allocations: 1.417 MB / 0.5818 GB, free: 3.301 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.5275, allocations: 57.7 kB / 0.5818 GB, free: 3.238 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009186/0.5284, allocations: 1.202 MB / 0.583 GB, free: 2.023 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006329/0.5291, allocations: 0.6585 MB / 0.5836 GB, free: 1.359 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008186/0.5299, allocations: 0.5287 MB / 0.5842 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.53, allocations: 305.1 kB / 0.5844 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.5318, allocations: 0.9462 MB / 0.5854 GB, free: 15.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/0.5343, allocations: 1.894 MB / 0.5872 GB, free: 13.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004498/0.5388, allocations: 3.007 MB / 0.5902 GB, free: 9.797 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-05/0.5388, allocations: 8 kB / 0.5902 GB, free: 9.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01051/0.5493, allocations: 3.878 MB / 0.594 GB, free: 5.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.5494, allocations: 20 kB / 0.594 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.837e-05/0.5494, allocations: 36.5 kB / 0.594 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005354/0.5548, allocations: 1.182 MB / 0.5952 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/0.5568, allocations: 0.5889 MB / 0.5957 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.567, allocations: 7.079 MB / 0.6027 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.569, allocations: 115.8 kB / 0.6028 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003955/0.5694, allocations: 160 kB / 0.6029 GB, free: 12.37 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.001094/0.5705, allocations: 492.8 kB / 0.6034 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004911/0.571, allocations: 174.8 kB / 0.6036 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009606/0.5806, allocations: 3.221 MB / 0.6067 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.5806, allocations: 20 kB / 0.6067 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.5806, allocations: 11.94 kB / 0.6067 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/0.5806, allocations: 11.95 kB / 0.6067 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.5936, allocations: 4.881 MB / 0.6115 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.5936, allocations: 4 kB / 0.6115 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.5948, allocations: 307.6 kB / 0.6118 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004845/0.5997, allocations: 1.044 MB / 0.6128 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002196/0.5999, allocations: 71.95 kB / 0.6129 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008714/0.6086, allocations: 6.375 MB / 0.6191 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.6086, allocations: 11.88 kB / 0.6191 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/0.6193, allocations: 4.112 MB / 0.6231 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004776/0.6198, allocations: 163 kB / 0.6233 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003878/0.6201, allocations: 36 kB / 0.6233 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.6214, allocations: 47.97 kB / 0.6234 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/0.6218, allocations: 177.6 kB / 0.6235 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/0.622, allocations: 83.95 kB / 0.6236 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001299/0.6233, allocations: 0.8929 MB / 0.6245 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6233, allocations: 0 / 0.6245 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004287/0.6276, allocations: 1.262 MB / 0.6257 GB, free: 4.457 MB / 0.5137 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.003018/0.6306, allocations: 1.337 MB / 0.627 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005979/0.6366, allocations: 2.838 MB / 0.6298 GB, free: 240 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.6366, allocations: 0 / 0.6298 GB, free: 240 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002993/0.6396, allocations: 1.461 MB / 0.6312 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.6414, allocations: 301.3 kB / 0.6315 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007733/0.6491, allocations: 4.12 MB / 0.6355 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.6503, allocations: 0.9143 MB / 0.6364 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001547/0.6519, allocations: 438.2 kB / 0.6369 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006591/0.6525, allocations: 282.6 kB / 0.6371 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.6525, allocations: 0 / 0.6371 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of Templates: time 0.07482/0.7274, allocations: 46.27 MB / 0.6823 GB, free: 10.54 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.529043497983366] Failed to read output from testmodel.py, exit status != 0: 0.7361855179769918 0.904347427 0.47095733799999995 Calling exit ...