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.001333/0.001333, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001496/0.001496, allocations: 225 kB / 23 MB, free: 4.914 MB / 14.72 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 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.1356/0.1356, allocations: 24 MB / 337.2 MB, free: 10.87 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 71.89 kB / 472.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3052, allocations: 59.9 MB / 0.52 GB, free: 9.734 MB / 382.1 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.08516/0.3904, allocations: 30.68 MB / 0.5499 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03631/0.4267, allocations: 25.5 MB / 0.5748 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.4291, allocations: 35.75 kB / 0.5749 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.4314, allocations: 0.6355 MB / 0.5755 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007402/0.4388, allocations: 2.204 MB / 0.5776 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01173/0.4506, allocations: 3.993 MB / 0.5815 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006048/0.4566, allocations: 3.085 MB / 0.5846 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002945/0.4596, allocations: 1.577 MB / 0.5861 GB, free: 5.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.4625, allocations: 1.484 MB / 0.5875 GB, free: 4.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.4653, allocations: 1.498 MB / 0.589 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008285/0.4662, allocations: 296 kB / 0.5893 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008663/0.4748, allocations: 2.991 MB / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.476, allocations: 0.6971 MB / 0.5929 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.4779, allocations: 1.214 MB / 0.5941 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.4931, allocations: 6.556 MB / 0.6005 GB, free: 7.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4931, allocations: 0 / 0.6005 GB, free: 7.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4931, allocations: 8 kB / 0.6005 GB, free: 7.031 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.207e-05/0.4932, allocations: 0 / 0.6005 GB, free: 7.031 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.006776/0.4999, allocations: 3.323 MB / 0.6037 GB, free: 3.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5, allocations: 15.97 kB / 0.6037 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/0.5023, allocations: 0.5725 MB / 0.6043 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.5051, allocations: 1.36 MB / 0.6056 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/0.5054, allocations: 343.3 kB / 0.606 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004506/0.5059, allocations: 244 kB / 0.6062 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005503/0.5114, allocations: 3.09 MB / 0.6092 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.777e-05/0.5114, allocations: 0 / 0.6092 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.5117, allocations: 104 kB / 0.6093 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.156e-05/0.5117, allocations: 60 kB / 0.6094 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006198/0.5179, allocations: 3.607 MB / 0.6129 GB, free: 10.08 MB / 462.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.01666/0.5346, allocations: 8.747 MB / 0.6214 GB, free: 1.156 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/0.5377, allocations: 1.776 MB / 0.6232 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.5394, allocations: 1.02 MB / 0.6242 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.551, allocations: 5.173 MB / 0.6292 GB, free: 9.125 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.551, allocations: 51.88 kB / 0.6293 GB, free: 9.066 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001327/0.5523, allocations: 290.6 kB / 0.6295 GB, free: 8.781 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 5.14e-06/0.5523, allocations: 0 / 0.6295 GB, free: 8.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03594/0.5883, allocations: 9.53 MB / 0.6388 GB, free: 15.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5884, allocations: 136.8 kB / 0.639 GB, free: 15.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.5903, allocations: 1.413 MB / 0.6404 GB, free: 13.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002683/0.5906, allocations: 57.64 kB / 0.6404 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009764/0.5916, allocations: 1.206 MB / 0.6416 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007088/0.5923, allocations: 0.6624 MB / 0.6422 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008074/0.5931, allocations: 0.5209 MB / 0.6427 GB, free: 11.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5932, allocations: 305.1 kB / 0.643 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.5949, allocations: 0.9462 MB / 0.644 GB, free: 9.875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/0.5976, allocations: 1.902 MB / 0.6458 GB, free: 7.535 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004774/0.6024, allocations: 3.003 MB / 0.6487 GB, free: 4.098 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-05/0.6024, allocations: 12 kB / 0.6488 GB, free: 4.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01093/0.6133, allocations: 3.878 MB / 0.6525 GB, free: 188 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.6134, allocations: 20 kB / 0.6526 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.415e-05/0.6134, allocations: 39.92 kB / 0.6526 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005415/0.6188, allocations: 1.185 MB / 0.6538 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/0.6212, allocations: 0.5772 MB / 0.6543 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.6318, allocations: 7.086 MB / 0.6612 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.6339, allocations: 107.9 kB / 0.6613 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/0.6343, allocations: 159.9 kB / 0.6615 GB, free: 6.676 MB / 0.4981 GB 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.0009987/0.6353, allocations: 488.8 kB / 0.662 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/0.6357, allocations: 174.9 kB / 0.6621 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009657/0.6454, allocations: 3.233 MB / 0.6653 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/0.6454, allocations: 20.11 kB / 0.6653 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-05/0.6454, allocations: 15.86 kB / 0.6653 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/0.6454, allocations: 7.969 kB / 0.6653 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.6591, allocations: 4.876 MB / 0.6701 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.6591, allocations: 0 / 0.6701 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.6605, allocations: 307.9 kB / 0.6704 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004942/0.6654, allocations: 1.048 MB / 0.6714 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/0.6657, allocations: 71.95 kB / 0.6715 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009018/0.6747, allocations: 6.375 MB / 0.6777 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.6747, allocations: 16 kB / 0.6777 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.6854, allocations: 4.112 MB / 0.6817 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005669/0.686, allocations: 150.9 kB / 0.6819 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/0.6863, allocations: 36 kB / 0.6819 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.6873, allocations: 43.98 kB / 0.682 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004177/0.6878, allocations: 185.5 kB / 0.6821 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/0.6879, allocations: 87.94 kB / 0.6822 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001216/0.6892, allocations: 0.8852 MB / 0.6831 GB, free: 36 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6892, allocations: 0 / 0.6831 GB, free: 36 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003909/0.6931, allocations: 1.266 MB / 0.6843 GB, free: 14.77 MB / 0.5294 GB 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.002606/0.6957, allocations: 1.324 MB / 0.6856 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006102/0.7018, allocations: 2.83 MB / 0.6884 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.7018, allocations: 0.9375 kB / 0.6884 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003067/0.7049, allocations: 1.467 MB / 0.6898 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.7067, allocations: 308.8 kB / 0.6901 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007954/0.7146, allocations: 4.169 MB / 0.6942 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.7156, allocations: 0.9026 MB / 0.6951 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009799/0.7166, allocations: 361.4 kB / 0.6954 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.7166, allocations: 0 / 0.6954 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of Templates: time 0.2936/1.01, allocations: 82.08 MB / 0.7756 GB, free: 153.3 MB / 0.5606 GB " [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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.32494015013799] Failed to read output from testmodel.py, exit status != 0: 1.0197276221588254 1.027913614 0.532423862 Calling exit ...