Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 118.9 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08004/0.08004, allocations: 15.54 MB / 318.9 MB, free: 13.68 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 65.33 kB / 446.1 MB, free: 48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09734, allocations: 56.56 MB / 0.4909 GB, free: 20.61 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.ClimateChange.ElectrolysisMethanation): time 0.03564/0.133, allocations: 31.65 MB / 0.5218 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0357/0.1687, allocations: 28.97 MB / 0.5501 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.1709, allocations: 27.88 kB / 0.5501 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.1731, allocations: 0.6941 MB / 0.5508 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007255/0.1804, allocations: 2.25 MB / 0.553 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01137/0.1917, allocations: 3.949 MB / 0.5568 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005373/0.1971, allocations: 3.085 MB / 0.5598 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/0.1994, allocations: 1.643 MB / 0.5614 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.2014, allocations: 1.461 MB / 0.5629 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/0.2039, allocations: 1.682 MB / 0.5645 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004892/0.2044, allocations: 300 kB / 0.5648 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0101/0.2145, allocations: 3.183 MB / 0.5679 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.2155, allocations: 0.6971 MB / 0.5686 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.2174, allocations: 1.431 MB / 0.57 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.2317, allocations: 6.385 MB / 0.5762 GB, free: 15.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2318, allocations: 0 / 0.5762 GB, free: 15.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2318, allocations: 0 / 0.5762 GB, free: 15.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.872e-05/0.2318, allocations: 0 / 0.5762 GB, free: 15.94 MB / 446.1 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.007153/0.239, allocations: 3.406 MB / 0.5795 GB, free: 12.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.239, allocations: 12.03 kB / 0.5796 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.2415, allocations: 0.5881 MB / 0.5801 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.2439, allocations: 1.416 MB / 0.5815 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/0.2442, allocations: 270.2 kB / 0.5818 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004235/0.2446, allocations: 247.9 kB / 0.582 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005751/0.2504, allocations: 3.045 MB / 0.585 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.516e-05/0.2504, allocations: 7.984 kB / 0.585 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.2507, allocations: 96 kB / 0.5851 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.509e-05/0.2507, allocations: 60 kB / 0.5851 GB, free: 6.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006161/0.2569, allocations: 3.622 MB / 0.5887 GB, free: 2.934 MB / 446.1 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.0176/0.2745, allocations: 10.51 MB / 0.5989 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/0.2777, allocations: 2.156 MB / 0.6011 GB, free: 5.762 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.2794, allocations: 1.031 MB / 0.6021 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2396/0.519, allocations: 8.798 MB / 0.6107 GB, free: 95.78 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.519, allocations: 56.75 kB / 0.6107 GB, free: 95.73 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001308/0.5203, allocations: 304.5 kB / 0.611 GB, free: 95.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=134): time 4.409e-06/0.5203, allocations: 0 / 0.611 GB, free: 95.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=181): time 0.03398/0.5543, allocations: 9.772 MB / 0.6205 GB, free: 92.06 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.5543, allocations: 122.7 kB / 0.6207 GB, free: 91.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.556, allocations: 1.469 MB / 0.6221 GB, free: 91.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.5562, allocations: 57.02 kB / 0.6221 GB, free: 91.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004806/0.5567, allocations: 1.191 MB / 0.6233 GB, free: 90.49 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004113/0.5571, allocations: 0.6548 MB / 0.6239 GB, free: 90.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000605/0.5577, allocations: 0.5148 MB / 0.6244 GB, free: 89.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.628e-05/0.5577, allocations: 311.7 kB / 0.6247 GB, free: 89.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.559, allocations: 0.9411 MB / 0.6257 GB, free: 89.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.5607, allocations: 1.891 MB / 0.6275 GB, free: 87.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/0.5637, allocations: 2.996 MB / 0.6304 GB, free: 85.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.5638, allocations: 7.938 kB / 0.6304 GB, free: 85.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.008972/0.5727, allocations: 3.888 MB / 0.6342 GB, free: 83.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.5728, allocations: 19.44 kB / 0.6343 GB, free: 83.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.693e-05/0.5728, allocations: 31 kB / 0.6343 GB, free: 83.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004924/0.5777, allocations: 1.186 MB / 0.6354 GB, free: 82.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.5797, allocations: 0.5799 MB / 0.636 GB, free: 82.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008012/0.5877, allocations: 7.511 MB / 0.6433 GB, free: 74.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.59, allocations: 114.4 kB / 0.6435 GB, free: 74.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/0.5903, allocations: 158.6 kB / 0.6436 GB, free: 74.48 MB / 462.1 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.0009304/0.5913, allocations: 484.4 kB / 0.6441 GB, free: 74.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004412/0.5917, allocations: 189.4 kB / 0.6443 GB, free: 73.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008335/0.6, allocations: 3.241 MB / 0.6474 GB, free: 70.67 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.6, allocations: 16.89 kB / 0.6474 GB, free: 70.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.6001, allocations: 4 kB / 0.6474 GB, free: 70.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/0.6001, allocations: 7.969 kB / 0.6474 GB, free: 70.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.6113, allocations: 5.429 MB / 0.6527 GB, free: 65.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.6113, allocations: 4 kB / 0.6528 GB, free: 65.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.6125, allocations: 310.2 kB / 0.653 GB, free: 64.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00438/0.6168, allocations: 1.053 MB / 0.6541 GB, free: 63.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/0.617, allocations: 71.89 kB / 0.6541 GB, free: 63.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006287/0.6233, allocations: 6.807 MB / 0.6608 GB, free: 56.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6233, allocations: 7.938 kB / 0.6608 GB, free: 56.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008482/0.6318, allocations: 4.123 MB / 0.6648 GB, free: 52.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/0.6322, allocations: 235.9 kB / 0.665 GB, free: 52.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.6325, allocations: 40 kB / 0.6651 GB, free: 52.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.6335, allocations: 46.64 kB / 0.6651 GB, free: 52.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/0.6338, allocations: 176 kB / 0.6653 GB, free: 51.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.634, allocations: 83.95 kB / 0.6654 GB, free: 51.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008955/0.6349, allocations: 0.9611 MB / 0.6663 GB, free: 50.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6349, allocations: 0 / 0.6663 GB, free: 50.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003252/0.6381, allocations: 1.267 MB / 0.6676 GB, free: 49.6 MB / 462.1 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.001989/0.6401, allocations: 1.311 MB / 0.6688 GB, free: 48.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004527/0.6446, allocations: 2.913 MB / 0.6717 GB, free: 45.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.6446, allocations: 3.562 kB / 0.6717 GB, free: 45.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002217/0.6469, allocations: 1.528 MB / 0.6732 GB, free: 43.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.6485, allocations: 319.1 kB / 0.6735 GB, free: 43.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005713/0.6542, allocations: 4.157 MB / 0.6775 GB, free: 39.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/0.6548, allocations: 1.47 MB / 0.679 GB, free: 38.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007758/0.6556, allocations: 360.1 kB / 0.6793 GB, free: 37.77 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6556, allocations: 3.938 kB / 0.6793 GB, free: 37.76 MB / 462.1 MB Notification: Performance of Templates: time 0.07614/0.7317, allocations: 80.71 MB / 0.7581 GB, free: 5.734 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.358470304170623] Failed to read output from testmodel.py, exit status != 0: 0.9153853650204837 0.753209156 0.518511348 Calling exit ...