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.001427/0.001427, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001637/0.001637, allocations: 161.7 kB / 22.75 MB, free: 1.656 MB / 18.57 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.484/1.484, allocations: 177.2 MB / 203.1 MB, free: 5.605 MB / 186.7 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.1499/0.1499, allocations: 17.45 MB / 277 MB, free: 11.59 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.136e-05, allocations: 4.703 kB / 352.8 MB, free: 10.2 MB / 282.7 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.04716/0.0472, allocations: 31.14 MB / 384 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03898/0.08618, allocations: 25.49 MB / 409.5 MB, free: 1.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.08774, allocations: 39.69 kB / 409.5 MB, free: 1.551 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.09011, allocations: 0.6316 MB / 410.1 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1398/0.2299, allocations: 2.28 MB / 412.4 MB, free: 32.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01191/0.2418, allocations: 4.109 MB / 416.5 MB, free: 32.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004589/0.2464, allocations: 3.19 MB / 419.7 MB, free: 31.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.2487, allocations: 1.65 MB / 421.4 MB, free: 31.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.2518, allocations: 2.09 MB / 423.4 MB, free: 31 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.2541, allocations: 1.337 MB / 424.8 MB, free: 30.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004937/0.2546, allocations: 297.7 kB / 425.1 MB, free: 30.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008408/0.263, allocations: 3.017 MB / 428.1 MB, free: 30.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008968/0.2639, allocations: 0.706 MB / 428.8 MB, free: 30.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.266, allocations: 1.042 MB / 429.8 MB, free: 29.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.2802, allocations: 6.929 MB / 436.8 MB, free: 26.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2802, allocations: 0 / 436.8 MB, free: 26.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2802, allocations: 0 / 436.8 MB, free: 26.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.632e-05/0.2803, allocations: 0 / 436.8 MB, free: 26.41 MB / 330.7 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.006151/0.2864, allocations: 3.298 MB / 440.1 MB, free: 24.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2865, allocations: 9.031 kB / 440.1 MB, free: 24.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/0.2892, allocations: 0.9991 MB / 441.1 MB, free: 23.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.2914, allocations: 1.385 MB / 442.5 MB, free: 21.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.2915, allocations: 340.5 kB / 442.8 MB, free: 21.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/0.2919, allocations: 244.3 kB / 443 MB, free: 21.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004138/0.296, allocations: 3.096 MB / 446.1 MB, free: 18.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/0.2961, allocations: 3.938 kB / 446.1 MB, free: 18.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.2963, allocations: 102.6 kB / 446.2 MB, free: 18.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.2963, allocations: 60 kB / 446.3 MB, free: 18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004424/0.3008, allocations: 3.605 MB / 449.9 MB, free: 14.42 MB / 330.7 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.01304/0.3138, allocations: 8.83 MB / 458.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.3162, allocations: 1.782 MB / 460.5 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.3174, allocations: 1.016 MB / 461.5 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.3285, allocations: 5.319 MB / 466.8 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.111e-05/0.3286, allocations: 47.81 kB / 466.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00145/0.33, allocations: 288.1 kB / 467.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=134): time 3.897e-06/0.33, allocations: 0 / 467.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=181): time 0.04089/0.3709, allocations: 9.581 MB / 476.8 MB, free: 3.836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.371, allocations: 124.8 kB / 476.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/0.3734, allocations: 1.42 MB / 478.3 MB, free: 2.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003069/0.3737, allocations: 57.7 kB / 478.4 MB, free: 2.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.3749, allocations: 1.196 MB / 479.5 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009195/0.3758, allocations: 0.6461 MB / 480.2 MB, free: 364 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/0.3769, allocations: 0.517 MB / 480.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3771, allocations: 301.1 kB / 481 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.3791, allocations: 0.9501 MB / 482 MB, free: 14.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003017/0.3821, allocations: 1.897 MB / 483.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005323/0.3874, allocations: 3 MB / 486.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.193e-05/0.3874, allocations: 8 kB / 486.9 MB, free: 8.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01246/0.3999, allocations: 4.022 MB / 490.9 MB, free: 5.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/0.4, allocations: 18.19 kB / 490.9 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-05/0.4, allocations: 32 kB / 490.9 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007515/0.4075, allocations: 1.333 MB / 492.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/0.41, allocations: 0.5796 MB / 492.8 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.4223, allocations: 7.107 MB / 499.9 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.4247, allocations: 117.1 kB / 0.4883 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006359/0.4254, allocations: 159.9 kB / 0.4885 GB, free: 11.68 MB / 378.7 MB 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.001559/0.4269, allocations: 488 kB / 0.489 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008793/0.4278, allocations: 234.8 kB / 0.4892 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.4393, allocations: 3.228 MB / 0.4923 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/0.4393, allocations: 20 kB / 0.4924 GB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/0.4393, allocations: 4 kB / 0.4924 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/0.4393, allocations: 7.969 kB / 0.4924 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/0.4557, allocations: 4.896 MB / 0.4971 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/0.4557, allocations: 6.656 kB / 0.4972 GB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.4572, allocations: 300.7 kB / 0.4974 GB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007106/0.4643, allocations: 1.182 MB / 0.4986 GB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000463/0.4648, allocations: 78.56 kB / 0.4987 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.4753, allocations: 6.399 MB / 0.5049 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.4753, allocations: 7.031 kB / 0.5049 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/0.4878, allocations: 4.163 MB / 0.509 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/0.4884, allocations: 158.8 kB / 0.5091 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005447/0.4889, allocations: 40 kB / 0.5092 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/0.4903, allocations: 43.98 kB / 0.5092 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005433/0.4909, allocations: 191.2 kB / 0.5094 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000265/0.4912, allocations: 82.95 kB / 0.5095 GB, free: 6.066 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001556/0.4927, allocations: 0.8891 MB / 0.5104 GB, free: 5.176 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4927, allocations: 0 / 0.5104 GB, free: 5.176 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005389/0.4981, allocations: 1.259 MB / 0.5116 GB, free: 3.914 MB / 394.7 MB 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.003805/0.5019, allocations: 1.383 MB / 0.5129 GB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007299/0.5092, allocations: 2.845 MB / 0.5157 GB, free: 16 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.5092, allocations: 0 / 0.5157 GB, free: 16 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003718/0.5129, allocations: 1.454 MB / 0.5171 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.5154, allocations: 355 kB / 0.5175 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009758/0.5251, allocations: 4.025 MB / 0.5214 GB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.5265, allocations: 0.9116 MB / 0.5223 GB, free: 9.301 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001849/0.5284, allocations: 451.9 kB / 0.5227 GB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008289/0.5292, allocations: 284.1 kB / 0.523 GB, free: 8.723 MB / 410.7 MB Notification: Performance of SimCode: time 1.764e-06/0.5292, allocations: 0 / 0.523 GB, free: 8.723 MB / 410.7 MB Notification: Performance of Templates: time 0.2239/0.7531, allocations: 46.5 MB / 0.5684 GB, free: 156.2 MB / 442.7 MB " [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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.050362559966743]