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.0007933/0.0007933, allocations: 80.48 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.0007806/0.0007806, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8349/0.8349, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.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.07677/0.07677, allocations: 17.36 MB / 277.3 MB, free: 11.83 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.663e-06/1.663e-06, allocations: 0 / 412.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.581e-05, allocations: 10.16 kB / 412.7 MB, free: 15.88 MB / 394.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.02169/0.02171, allocations: 30.91 MB / 443.6 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1533/0.1751, allocations: 25.48 MB / 469.1 MB, free: 47.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008796/0.1759, allocations: 41.28 kB / 469.2 MB, free: 47.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008851/0.1768, allocations: 0.6359 MB / 469.8 MB, free: 47.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.1796, allocations: 2.282 MB / 472.1 MB, free: 46.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.1849, allocations: 4.114 MB / 476.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.1864, allocations: 3.19 MB / 479.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.1875, allocations: 1.584 MB / 481 MB, free: 41.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.1886, allocations: 2.092 MB / 483.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009109/0.1895, allocations: 1.333 MB / 484.4 MB, free: 40.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.1897, allocations: 296.4 kB / 484.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.1935, allocations: 3.017 MB / 487.7 MB, free: 39.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.1938, allocations: 0.7102 MB / 488.4 MB, free: 39.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005785/0.1943, allocations: 1.038 MB / 489.4 MB, free: 38.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005612/0.1999, allocations: 6.926 MB / 496.4 MB, free: 35.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2, allocations: 0 / 496.4 MB, free: 35.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2, allocations: 0 / 496.4 MB, free: 35.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.2, allocations: 0 / 496.4 MB, free: 35.7 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.00337/0.2033, allocations: 3.299 MB / 499.7 MB, free: 33.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2034, allocations: 9.875 kB / 499.7 MB, free: 33.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.2046, allocations: 0.5739 MB / 0.4885 GB, free: 33.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.2061, allocations: 1.351 MB / 0.4899 GB, free: 32.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.2062, allocations: 348.7 kB / 0.4902 GB, free: 32.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/0.2065, allocations: 247 kB / 0.4904 GB, free: 32.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.2095, allocations: 3.092 MB / 0.4934 GB, free: 31.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/0.2096, allocations: 2.406 kB / 0.4934 GB, free: 31.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.2097, allocations: 96.72 kB / 0.4935 GB, free: 31.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.2098, allocations: 58.66 kB / 0.4936 GB, free: 31.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003515/0.2133, allocations: 3.604 MB / 0.4971 GB, free: 30.07 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.007551/0.2208, allocations: 8.767 MB / 0.5057 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.2224, allocations: 1.764 MB / 0.5074 GB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008048/0.2232, allocations: 1.027 MB / 0.5084 GB, free: 22.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005031/0.2282, allocations: 5.177 MB / 0.5135 GB, free: 17.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.2282, allocations: 43.88 kB / 0.5135 GB, free: 17.6 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005182/0.2288, allocations: 286.3 kB / 0.5138 GB, free: 17.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 2.985e-06/0.2288, allocations: 0 / 0.5138 GB, free: 17.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=181): time 0.01532/0.2441, allocations: 9.542 MB / 0.5231 GB, free: 7.832 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.2441, allocations: 135.4 kB / 0.5232 GB, free: 7.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007857/0.2449, allocations: 1.417 MB / 0.5246 GB, free: 6.246 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/0.245, allocations: 57.7 kB / 0.5247 GB, free: 6.184 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.2452, allocations: 1.198 MB / 0.5258 GB, free: 4.973 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.2455, allocations: 0.6546 MB / 0.5265 GB, free: 4.312 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003882/0.2458, allocations: 0.5092 MB / 0.527 GB, free: 3.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.072e-05/0.2459, allocations: 301.1 kB / 0.5272 GB, free: 3.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008506/0.2467, allocations: 0.9488 MB / 0.5282 GB, free: 2.551 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.2478, allocations: 1.898 MB / 0.53 GB, free: 216 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/0.2506, allocations: 3.002 MB / 0.533 GB, free: 12.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.2506, allocations: 12 kB / 0.533 GB, free: 12.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.00539/0.256, allocations: 3.889 MB / 0.5368 GB, free: 8.934 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.256, allocations: 23.94 kB / 0.5368 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.256, allocations: 32 kB / 0.5368 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002734/0.2587, allocations: 1.17 MB / 0.538 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009811/0.2597, allocations: 0.5885 MB / 0.5385 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005649/0.2654, allocations: 7.094 MB / 0.5455 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008841/0.2663, allocations: 110.5 kB / 0.5456 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.2664, allocations: 156 kB / 0.5457 GB, free: 15.48 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.0006071/0.267, allocations: 491.5 kB / 0.5462 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.2672, allocations: 174.8 kB / 0.5464 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004975/0.2722, allocations: 3.232 MB / 0.5495 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.2722, allocations: 22.81 kB / 0.5495 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2722, allocations: 4 kB / 0.5495 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.2722, allocations: 7.969 kB / 0.5495 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006943/0.2792, allocations: 4.881 MB / 0.5543 GB, free: 6.684 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2792, allocations: 4 kB / 0.5543 GB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008375/0.28, allocations: 310.2 kB / 0.5546 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002327/0.2824, allocations: 1.039 MB / 0.5556 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.299e-05/0.2824, allocations: 74.64 kB / 0.5557 GB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004622/0.2871, allocations: 6.364 MB / 0.5619 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2871, allocations: 4 kB / 0.5619 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/0.2924, allocations: 4.109 MB / 0.5659 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.2925, allocations: 160.1 kB / 0.5661 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.2927, allocations: 36 kB / 0.5661 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005106/0.2932, allocations: 50.58 kB / 0.5662 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004606/0.2937, allocations: 177.6 kB / 0.5663 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-05/0.2938, allocations: 87.94 kB / 0.5664 GB, free: 9.945 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006587/0.2944, allocations: 0.8852 MB / 0.5673 GB, free: 9.059 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2944, allocations: 0 / 0.5673 GB, free: 9.059 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0026/0.297, allocations: 1.266 MB / 0.5685 GB, free: 7.789 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.001623/0.2986, allocations: 1.378 MB / 0.5699 GB, free: 6.484 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003214/0.3019, allocations: 2.836 MB / 0.5726 GB, free: 3.621 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3019, allocations: 4 kB / 0.5726 GB, free: 3.617 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.3035, allocations: 1.456 MB / 0.5741 GB, free: 2.129 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009771/0.3045, allocations: 302.1 kB / 0.5743 GB, free: 1.867 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.3088, allocations: 4.015 MB / 0.5783 GB, free: 13.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.3093, allocations: 0.9089 MB / 0.5792 GB, free: 12.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005112/0.3099, allocations: 365.5 kB / 0.5795 GB, free: 12.59 MB / 474.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3099, allocations: 0 / 0.5795 GB, free: 12.59 MB / 474.7 MB Notification: Performance of Templates: time 0.1776/0.4874, allocations: 82.3 MB / 0.6599 GB, free: 141.3 MB / 0.4948 GB " [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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.40086589474231] Failed to read output from testmodel.py, exit status != 0: 0.49300479888916016 0.49927594499999994 0.298002847 Calling exit ...