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.0006763/0.0006763, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00096/0.001636, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006752/0.0006752, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009247/0.0016, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9305/0.9305, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09986/1.03, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.08496/0.08496, allocations: 17.37 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01235/0.09732, allocations: 6.936 MB / 268.4 MB, free: 6.406 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 1.773e-06/1.773e-06, allocations: 0 / 269.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.573e-05, allocations: 2.312 kB / 269.8 MB, free: 5.094 MB / 266.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.1501/0.1501, allocations: 10.55 MB / 280.3 MB, free: 200 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.1691, allocations: 17.22 MB / 297.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.171, allocations: 36.47 kB / 297.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.1722, allocations: 0.4973 MB / 298.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004527/0.1767, allocations: 1.784 MB / 299.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006078/0.1828, allocations: 2.458 MB / 302.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00393/0.1867, allocations: 3.173 MB / 305.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.1887, allocations: 1.692 MB / 307.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/0.1915, allocations: 2.278 MB / 309.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.1935, allocations: 1.415 MB / 310.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007294/0.1943, allocations: 292 kB / 311.1 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005012/0.1993, allocations: 1.825 MB / 313 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00082/0.2001, allocations: 0.5024 MB / 313.5 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.2014, allocations: 0.8306 MB / 314.3 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006913/0.2083, allocations: 3.833 MB / 318.1 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.476e-05/0.2083, allocations: 0 / 318.1 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2083, allocations: 4 kB / 318.1 MB, free: 2.016 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.596e-05/0.2083, allocations: 0 / 318.1 MB, free: 2.016 MB / 298.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.004189/0.2125, allocations: 3.802 MB / 321.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2125, allocations: 8.031 kB / 322 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.2141, allocations: 0.9597 MB / 322.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.2154, allocations: 0.9058 MB / 323.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.2155, allocations: 351.4 kB / 324.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/0.2158, allocations: 248.3 kB / 324.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.2178, allocations: 2.148 MB / 326.6 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.2178, allocations: 0 / 326.6 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.218, allocations: 96 kB / 326.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/0.218, allocations: 63.94 kB / 326.7 MB, free: 9.195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.2198, allocations: 1.668 MB / 328.4 MB, free: 7.527 MB / 314.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.007698/0.2275, allocations: 6.857 MB / 335.2 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.2287, allocations: 1.18 MB / 336.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.2291, allocations: 486.9 kB / 336.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00489/0.234, allocations: 3.748 MB / 340.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.234, allocations: 55.86 kB / 340.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006787/0.2347, allocations: 274.6 kB / 341 MB, free: 10.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 4.298e-06/0.2347, allocations: 0 / 341 MB, free: 10.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.01731/0.252, allocations: 7.824 MB / 348.8 MB, free: 2.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.2521, allocations: 128.8 kB / 348.9 MB, free: 2.695 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.2532, allocations: 1.164 MB / 350.1 MB, free: 1.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.079e-05/0.2533, allocations: 61.77 kB / 350.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/0.2537, allocations: 1.078 MB / 351.2 MB, free: 352 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.2541, allocations: 0.6468 MB / 351.9 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004211/0.2545, allocations: 0.509 MB / 352.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.2545, allocations: 301.1 kB / 352.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.255, allocations: 356.9 kB / 353 MB, free: 14.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009009/0.2559, allocations: 1.292 MB / 354.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.2577, allocations: 2.101 MB / 356.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/0.2577, allocations: 12 kB / 356.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.003514/0.2613, allocations: 2.179 MB / 358.6 MB, free: 8.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.2613, allocations: 20 kB / 358.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.2613, allocations: 35.94 kB / 358.6 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/0.2639, allocations: 1.016 MB / 359.7 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.2651, allocations: 0.706 MB / 360.4 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004653/0.2697, allocations: 5.643 MB / 366 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.2708, allocations: 107.9 kB / 366.1 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.271, allocations: 136 kB / 366.3 MB, free: 76 kB / 346.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 (304): * Single equations (assignments): 299 * 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.000521/0.2715, allocations: 291.6 kB / 366.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.2717, allocations: 155.9 kB / 366.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/0.2751, allocations: 1.884 MB / 368.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.2752, allocations: 20 kB / 368.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.2752, allocations: 0 / 368.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.2752, allocations: 12.08 kB / 368.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005815/0.281, allocations: 2.761 MB / 371.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.281, allocations: 8.047 kB / 371.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007187/0.2817, allocations: 387.8 kB / 371.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.2819, allocations: 154.8 kB / 371.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002428/0.2843, allocations: 0.8899 MB / 372.8 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.2845, allocations: 67.95 kB / 372.9 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.2882, allocations: 5.085 MB / 377.9 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.2882, allocations: 7.938 kB / 378 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.2915, allocations: 2.2 MB / 380.2 MB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.2917, allocations: 36 kB / 380.2 MB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005395/0.2922, allocations: 55.86 kB / 380.2 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.2925, allocations: 173.7 kB / 380.4 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.77e-05/0.2926, allocations: 67.95 kB / 380.5 MB, free: 1.379 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004322/0.293, allocations: 0.5374 MB / 381 MB, free: 0.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.293, allocations: 0 / 381 MB, free: 0.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002276/0.2953, allocations: 0.967 MB / 382 MB, free: 15.86 MB / 378.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 (155): * Single equations (assignments): 150 * 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.001112/0.2964, allocations: 0.8414 MB / 382.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.299, allocations: 1.876 MB / 384.7 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.075e-05/0.299, allocations: 46.45 kB / 384.7 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.3002, allocations: 1.157 MB / 385.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.3017, allocations: 2.064 MB / 388 MB, free: 9.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.316, allocations: 3.691 MB / 391.7 MB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.3163, allocations: 380.1 kB / 392 MB, free: 5.289 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001121/0.3175, allocations: 418.9 kB / 392.4 MB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008217/0.3183, allocations: 0.5177 MB / 393 MB, free: 4.383 MB / 378.7 MB Notification: Performance of SimCode: time 2.465e-06/0.3183, allocations: 0 / 393 MB, free: 4.383 MB / 378.7 MB Notification: Performance of Templates: time 0.1766/0.4949, allocations: 43.64 MB / 436.6 MB, free: 114 MB / 410.7 MB " [Timeout remaining time 660] 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 sys.exit(0), Time elapsed: 3.996380397118628]