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.001855/0.001855, 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.002055/0.002055, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.27 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.139/0.139, allocations: 17.46 MB / 277 MB, free: 11.47 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.933e-06/1.933e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.813e-05/4.007e-05, allocations: 6.312 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.06459/0.06463, allocations: 32.39 MB / 385.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2141/0.2788, allocations: 29.04 MB / 414.3 MB, free: 31.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.2804, allocations: 41.03 kB / 414.3 MB, free: 31.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.2821, allocations: 0.6366 MB / 414.9 MB, free: 31.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00626/0.2883, allocations: 2.286 MB / 417.2 MB, free: 31.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009779/0.2981, allocations: 4.107 MB / 421.3 MB, free: 30.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004778/0.3029, allocations: 3.194 MB / 424.5 MB, free: 30 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.3052, allocations: 1.651 MB / 426.2 MB, free: 29.85 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.3079, allocations: 2.099 MB / 428.3 MB, free: 29.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.3099, allocations: 1.393 MB / 429.7 MB, free: 29.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004802/0.3103, allocations: 296.5 kB / 430 MB, free: 29.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00882/0.3192, allocations: 3.021 MB / 433 MB, free: 28.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009741/0.3201, allocations: 0.7158 MB / 433.7 MB, free: 28.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00203/0.3222, allocations: 1.048 MB / 434.7 MB, free: 27.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.3365, allocations: 6.947 MB / 441.7 MB, free: 23.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3365, allocations: 2.625 kB / 441.7 MB, free: 23.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3365, allocations: 0 / 441.7 MB, free: 23.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.811e-05/0.3366, allocations: 0 / 441.7 MB, free: 23.72 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.00632/0.343, allocations: 3.575 MB / 445.3 MB, free: 21.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.343, allocations: 15.97 kB / 445.3 MB, free: 21.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002943/0.3459, allocations: 0.9991 MB / 446.3 MB, free: 20.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/0.3486, allocations: 1.379 MB / 447.7 MB, free: 18.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.3488, allocations: 346.5 kB / 448 MB, free: 18.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/0.3492, allocations: 248.3 kB / 448.2 MB, free: 18.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004196/0.3534, allocations: 3.042 MB / 451.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/0.3534, allocations: 6.625 kB / 451.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.3537, allocations: 102.6 kB / 451.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.3537, allocations: 60 kB / 451.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004252/0.3579, allocations: 3.253 MB / 454.7 MB, free: 11.52 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.01353/0.3715, allocations: 10.15 MB / 464.9 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.374, allocations: 1.684 MB / 466.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.376, allocations: 0.939 MB / 467.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01301/0.389, allocations: 5.459 MB / 472.9 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.47e-05/0.3891, allocations: 54.64 kB / 473 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00138/0.3904, allocations: 285.7 kB / 473.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=134): time 3.888e-06/0.3904, allocations: 0 / 473.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=181): time 0.0384/0.4288, allocations: 9.418 MB / 482.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.4289, allocations: 128 kB / 482.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.4312, allocations: 1.567 MB / 484.4 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003174/0.4315, allocations: 61.64 kB / 484.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.4327, allocations: 1.314 MB / 485.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009388/0.4336, allocations: 0.6888 MB / 486.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.4347, allocations: 0.5898 MB / 487 MB, free: 11.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.4349, allocations: 480.8 kB / 487.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.4366, allocations: 0.8282 MB / 488.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003164/0.4398, allocations: 2.234 MB / 490.6 MB, free: 7.219 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005297/0.4451, allocations: 3.419 MB / 494 MB, free: 3.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.065e-05/0.4451, allocations: 12 kB / 494 MB, free: 3.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01111/0.4562, allocations: 3.764 MB / 497.8 MB, free: 15.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.4563, allocations: 20 kB / 497.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-05/0.4563, allocations: 32 kB / 497.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007083/0.4634, allocations: 1.28 MB / 499.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.4658, allocations: 0.5772 MB / 499.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/0.4782, allocations: 9.068 MB / 0.4968 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.4805, allocations: 114.5 kB / 0.4969 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003397/0.4808, allocations: 160 kB / 0.4971 GB, free: 4.176 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.00118/0.482, allocations: 0.5138 MB / 0.4976 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000755/0.4828, allocations: 238.8 kB / 0.4978 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/0.4929, allocations: 3.115 MB / 0.5008 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/0.4929, allocations: 20 kB / 0.5009 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.4929, allocations: 4 kB / 0.5009 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-05/0.493, allocations: 7.969 kB / 0.5009 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.5075, allocations: 5.179 MB / 0.5059 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.5076, allocations: 4 kB / 0.5059 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.5089, allocations: 310.3 kB / 0.5062 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006325/0.5152, allocations: 1.147 MB / 0.5073 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003104/0.5155, allocations: 71.95 kB / 0.5074 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/0.5264, allocations: 8.274 MB / 0.5155 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5264, allocations: 4 kB / 0.5155 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/0.538, allocations: 4.153 MB / 0.5196 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.5386, allocations: 146.9 kB / 0.5197 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/0.539, allocations: 46.64 kB / 0.5197 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.5402, allocations: 40 kB / 0.5198 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005893/0.5407, allocations: 189.6 kB / 0.52 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001976/0.5409, allocations: 79.95 kB / 0.52 GB, free: 12.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001389/0.5423, allocations: 0.8539 MB / 0.5209 GB, free: 11.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5423, allocations: 3.938 kB / 0.5209 GB, free: 11.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00474/0.5471, allocations: 1.269 MB / 0.5221 GB, free: 10.11 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.003065/0.5501, allocations: 1.377 MB / 0.5235 GB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007252/0.5574, allocations: 3.029 MB / 0.5264 GB, free: 5.906 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.5574, allocations: 0 / 0.5264 GB, free: 5.906 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003482/0.5609, allocations: 1.661 MB / 0.528 GB, free: 4.184 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.5629, allocations: 360.5 kB / 0.5284 GB, free: 3.871 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00847/0.5713, allocations: 4.055 MB / 0.5323 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.5725, allocations: 0.905 MB / 0.5332 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001628/0.5741, allocations: 433.1 kB / 0.5336 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006824/0.5748, allocations: 281.6 kB / 0.5339 GB, free: 14.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5748, allocations: 0 / 0.5339 GB, free: 14.31 MB / 426.7 MB Notification: Performance of Templates: time 0.2365/0.8114, allocations: 46.86 MB / 0.5797 GB, free: 149.1 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.231864703004248]