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.001419/0.001419, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001518/0.001518, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.894/0.894, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 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.08504/0.08504, allocations: 17.46 MB / 277.4 MB, free: 11.73 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 2.014e-06/2.014e-06, allocations: 4 kB / 412.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.208e-05, allocations: 6.219 kB / 412.9 MB, free: 15.7 MB / 394.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.02444/0.02447, allocations: 30.92 MB / 443.8 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1804/0.2049, allocations: 25.47 MB / 469.3 MB, free: 47.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.2059, allocations: 39.88 kB / 469.3 MB, free: 47.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009503/0.2068, allocations: 0.6398 MB / 470 MB, free: 47.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.2099, allocations: 2.282 MB / 472.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006001/0.2159, allocations: 4.115 MB / 476.3 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.2178, allocations: 3.194 MB / 479.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.219, allocations: 1.587 MB / 481.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.2202, allocations: 2.095 MB / 483.2 MB, free: 40.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009951/0.2212, allocations: 1.329 MB / 484.6 MB, free: 40.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.2214, allocations: 298.5 kB / 484.8 MB, free: 40.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004541/0.2259, allocations: 3.022 MB / 487.9 MB, free: 39.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.2262, allocations: 0.7012 MB / 488.6 MB, free: 38.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006646/0.2269, allocations: 1.043 MB / 489.6 MB, free: 38.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006421/0.2333, allocations: 6.927 MB / 496.5 MB, free: 35.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2333, allocations: 0 / 496.5 MB, free: 35.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2333, allocations: 1.438 kB / 496.5 MB, free: 35.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.045e-05/0.2333, allocations: 0 / 496.5 MB, free: 35.53 MB / 410.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.003908/0.2373, allocations: 3.288 MB / 499.8 MB, free: 33.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2373, allocations: 9.344 kB / 499.8 MB, free: 33.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.2387, allocations: 0.5821 MB / 0.4887 GB, free: 33.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.2404, allocations: 1.357 MB / 0.49 GB, free: 32.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.2406, allocations: 345.7 kB / 0.4903 GB, free: 32.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/0.2409, allocations: 242.9 kB / 0.4906 GB, free: 32.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/0.2441, allocations: 3.094 MB / 0.4936 GB, free: 31.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.2442, allocations: 5.188 kB / 0.4936 GB, free: 31.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.2443, allocations: 100.1 kB / 0.4937 GB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.2444, allocations: 58.78 kB / 0.4938 GB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.2481, allocations: 3.6 MB / 0.4973 GB, free: 29.89 MB / 410.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.00818/0.2563, allocations: 8.759 MB / 0.5058 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.2579, allocations: 1.771 MB / 0.5076 GB, free: 23.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008177/0.2587, allocations: 1.014 MB / 0.5085 GB, free: 22.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005409/0.2641, allocations: 5.184 MB / 0.5136 GB, free: 17.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2642, allocations: 47.81 kB / 0.5137 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005678/0.2647, allocations: 289.3 kB / 0.5139 GB, free: 17.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 3.266e-06/0.2647, allocations: 0 / 0.5139 GB, free: 17.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=181): time 0.01604/0.2808, allocations: 9.533 MB / 0.5232 GB, free: 7.609 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.2808, allocations: 124.8 kB / 0.5234 GB, free: 7.465 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009079/0.2817, allocations: 1.421 MB / 0.5247 GB, free: 6.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.66e-05/0.2818, allocations: 57.7 kB / 0.5248 GB, free: 5.965 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.2821, allocations: 1.2 MB / 0.526 GB, free: 4.754 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.2823, allocations: 0.6507 MB / 0.5266 GB, free: 4.098 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003981/0.2827, allocations: 0.5092 MB / 0.5271 GB, free: 3.582 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.337e-05/0.2827, allocations: 301.1 kB / 0.5274 GB, free: 3.285 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008666/0.2836, allocations: 0.9462 MB / 0.5283 GB, free: 2.336 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.2847, allocations: 1.91 MB / 0.5302 GB, free: 15.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/0.2874, allocations: 2.992 MB / 0.5331 GB, free: 12.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.2874, allocations: 12 kB / 0.5331 GB, free: 12.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.005837/0.2933, allocations: 3.896 MB / 0.5369 GB, free: 8.707 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.2933, allocations: 20 kB / 0.5369 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/0.2933, allocations: 32 kB / 0.537 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/0.296, allocations: 1.184 MB / 0.5381 GB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.297, allocations: 0.5743 MB / 0.5387 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005972/0.303, allocations: 7.095 MB / 0.5456 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.3041, allocations: 114.5 kB / 0.5457 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.3043, allocations: 159.9 kB / 0.5459 GB, free: 15.25 MB / 442.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.0007757/0.3051, allocations: 484.4 kB / 0.5463 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.3053, allocations: 182.8 kB / 0.5465 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005368/0.3107, allocations: 3.22 MB / 0.5497 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3107, allocations: 20 kB / 0.5497 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3107, allocations: 4.875 kB / 0.5497 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.3107, allocations: 7.969 kB / 0.5497 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007266/0.318, allocations: 4.891 MB / 0.5545 GB, free: 6.453 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.318, allocations: 6.688 kB / 0.5545 GB, free: 6.449 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/0.3186, allocations: 303.6 kB / 0.5548 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002716/0.3213, allocations: 1.044 MB / 0.5558 GB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.3214, allocations: 75.94 kB / 0.5559 GB, free: 5.051 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.3261, allocations: 6.371 MB / 0.5621 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3261, allocations: 4 kB / 0.5621 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005855/0.3319, allocations: 4.109 MB / 0.5661 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.3323, allocations: 154.8 kB / 0.5662 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.3324, allocations: 42.69 kB / 0.5663 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/0.333, allocations: 43.98 kB / 0.5663 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/0.3332, allocations: 185.5 kB / 0.5665 GB, free: 9.801 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.3333, allocations: 79.95 kB / 0.5666 GB, free: 9.723 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007752/0.3341, allocations: 0.893 MB / 0.5674 GB, free: 8.828 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3341, allocations: 0 / 0.5674 GB, free: 8.828 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002899/0.337, allocations: 1.261 MB / 0.5687 GB, free: 7.566 MB / 458.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.001984/0.339, allocations: 1.372 MB / 0.57 GB, free: 6.262 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003348/0.3423, allocations: 2.835 MB / 0.5728 GB, free: 3.402 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3423, allocations: 4 kB / 0.5728 GB, free: 3.398 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.3439, allocations: 1.458 MB / 0.5742 GB, free: 1.906 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009843/0.3449, allocations: 309 kB / 0.5745 GB, free: 1.637 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/0.3495, allocations: 4.012 MB / 0.5784 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.3501, allocations: 0.9116 MB / 0.5793 GB, free: 12.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/0.3506, allocations: 354 kB / 0.5797 GB, free: 12.37 MB / 474.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3506, allocations: 0 / 0.5797 GB, free: 12.37 MB / 474.7 MB Notification: Performance of Templates: time 0.2056/0.5562, allocations: 82.3 MB / 0.66 GB, free: 141.2 MB / 0.4948 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.310381159186363] Failed to read output from testmodel.py, exit status != 0: 0.5627393769100308 0.571778828 0.33705659699999996 Calling exit ...