Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.002465/0.002465, allocations: 85.48 kB / 19.44 MB, free: 344 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.003062/0.003062, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.621/1.621, allocations: 177.1 MB / 203.1 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1493/0.1493, allocations: 17.37 MB / 276.9 MB, free: 11.53 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.302e-05, allocations: 6.312 kB / 352.7 MB, free: 10.31 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.04905/0.04908, allocations: 32.38 MB / 385.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2033/0.2524, allocations: 29.04 MB / 414.1 MB, free: 31.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.2541, allocations: 38.25 kB / 414.2 MB, free: 31.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.256, allocations: 0.6385 MB / 414.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007345/0.2634, allocations: 2.287 MB / 417.1 MB, free: 31.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01107/0.2744, allocations: 4.111 MB / 421.2 MB, free: 30.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004799/0.2792, allocations: 3.193 MB / 424.4 MB, free: 30.01 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.2818, allocations: 1.654 MB / 426.1 MB, free: 29.86 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.2853, allocations: 2.095 MB / 428.1 MB, free: 29.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.2878, allocations: 1.392 MB / 429.5 MB, free: 29.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006686/0.2885, allocations: 296.3 kB / 429.8 MB, free: 29.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009166/0.2977, allocations: 3.022 MB / 432.8 MB, free: 28.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.2988, allocations: 0.7162 MB / 433.6 MB, free: 28.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.3006, allocations: 1.047 MB / 434.6 MB, free: 27.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.3149, allocations: 6.942 MB / 441.6 MB, free: 23.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3149, allocations: 0 / 441.6 MB, free: 23.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3149, allocations: 6.594 kB / 441.6 MB, free: 23.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.523e-05/0.315, allocations: 0 / 441.6 MB, free: 23.78 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.006801/0.3218, allocations: 3.591 MB / 445.2 MB, free: 21.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3218, allocations: 12.03 kB / 445.2 MB, free: 21.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.3246, allocations: 0.9989 MB / 446.2 MB, free: 20.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/0.3273, allocations: 1.374 MB / 447.5 MB, free: 18.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.3274, allocations: 343.6 kB / 447.9 MB, free: 18.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004248/0.3279, allocations: 248.2 kB / 448.1 MB, free: 18.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004389/0.3323, allocations: 3.05 MB / 451.2 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.402e-05/0.3323, allocations: 0 / 451.2 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.3325, allocations: 103.9 kB / 451.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.3326, allocations: 58.66 kB / 451.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004675/0.3372, allocations: 3.255 MB / 454.6 MB, free: 11.61 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.01471/0.352, allocations: 10.15 MB / 464.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.3545, allocations: 1.697 MB / 466.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.3562, allocations: 0.9371 MB / 467.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0141/0.3703, allocations: 5.453 MB / 472.8 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.98e-05/0.3704, allocations: 57.27 kB / 472.9 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001557/0.3719, allocations: 282.7 kB / 473.1 MB, free: 9.191 MB / 346.7 MB Notification: Performance of pre-optimization done (n=134): time 5.961e-06/0.3719, allocations: 0 / 473.1 MB, free: 9.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=181): time 0.0408/0.4127, allocations: 9.431 MB / 482.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4128, allocations: 124.8 kB / 482.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/0.4153, allocations: 1.567 MB / 484.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003834/0.4157, allocations: 61.7 kB / 484.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.417, allocations: 1.313 MB / 485.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.418, allocations: 0.6868 MB / 486.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.419, allocations: 0.5885 MB / 486.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002581/0.4193, allocations: 476.8 kB / 487.4 MB, free: 11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.4211, allocations: 0.8251 MB / 488.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003534/0.4246, allocations: 2.243 MB / 490.4 MB, free: 7.348 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005844/0.4305, allocations: 3.412 MB / 493.9 MB, free: 3.508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.772e-05/0.4305, allocations: 10.62 kB / 493.9 MB, free: 3.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01185/0.4423, allocations: 3.764 MB / 497.6 MB, free: 15.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/0.4424, allocations: 22.62 kB / 497.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.249e-05/0.4425, allocations: 28 kB / 497.7 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007302/0.4498, allocations: 1.288 MB / 499 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/0.4523, allocations: 0.5876 MB / 499.6 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/0.4658, allocations: 9.062 MB / 0.4967 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.4681, allocations: 110.5 kB / 0.4968 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004811/0.4686, allocations: 159.9 kB / 0.497 GB, free: 4.305 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.001219/0.4698, allocations: 0.5062 MB / 0.4975 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006761/0.4705, allocations: 238.8 kB / 0.4977 GB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/0.4812, allocations: 3.114 MB / 0.5007 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/0.4813, allocations: 20 kB / 0.5007 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.4813, allocations: 6.688 kB / 0.5007 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-05/0.4813, allocations: 7.969 kB / 0.5008 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/0.4968, allocations: 5.177 MB / 0.5058 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.4968, allocations: 6.688 kB / 0.5058 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/0.4987, allocations: 303.6 kB / 0.5061 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006654/0.5053, allocations: 1.151 MB / 0.5072 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003467/0.5057, allocations: 74.58 kB / 0.5073 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.5171, allocations: 8.279 MB / 0.5154 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.5171, allocations: 4 kB / 0.5154 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/0.5285, allocations: 4.149 MB / 0.5194 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/0.529, allocations: 153.6 kB / 0.5196 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/0.5293, allocations: 43.92 kB / 0.5196 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.5305, allocations: 42.62 kB / 0.5197 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005394/0.531, allocations: 193.5 kB / 0.5199 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/0.5312, allocations: 79.95 kB / 0.5199 GB, free: 12.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001772/0.533, allocations: 0.8539 MB / 0.5208 GB, free: 11.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.533, allocations: 0 / 0.5208 GB, free: 11.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004993/0.538, allocations: 1.262 MB / 0.522 GB, free: 10.25 MB / 410.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.002919/0.5409, allocations: 1.377 MB / 0.5233 GB, free: 9.098 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006663/0.5475, allocations: 3.02 MB / 0.5263 GB, free: 6.043 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5475, allocations: 6.562 kB / 0.5263 GB, free: 6.039 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003588/0.5511, allocations: 1.656 MB / 0.5279 GB, free: 4.324 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.5531, allocations: 362.8 kB / 0.5283 GB, free: 4.008 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008793/0.5619, allocations: 4.057 MB / 0.5322 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.5632, allocations: 0.9011 MB / 0.5331 GB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00205/0.5652, allocations: 444.5 kB / 0.5335 GB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/0.566, allocations: 281.5 kB / 0.5338 GB, free: 14.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/0.566, allocations: 0 / 0.5338 GB, free: 14.45 MB / 426.7 MB Notification: Performance of Templates: time 0.2589/0.8249, allocations: 46.84 MB / 0.5795 GB, free: 149.3 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.285368544980884]