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.001466/0.001466, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.001695/0.001695, allocations: 220.3 kB / 22.3 MB, free: 5.301 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.529/1.529, allocations: 230.6 MB / 256.1 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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.1578/0.1578, allocations: 23.89 MB / 336.4 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 179] 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: 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.003169/0.003169, allocations: 67.89 kB / 471.7 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4201, allocations: 59.86 MB / 0.5191 GB, free: 9.746 MB / 382.1 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.08062/0.5008, allocations: 30.66 MB / 0.5491 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03757/0.5383, allocations: 25.48 MB / 0.574 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.5411, allocations: 35.75 kB / 0.574 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002685/0.5438, allocations: 0.6395 MB / 0.5746 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008551/0.5523, allocations: 2.204 MB / 0.5768 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01305/0.5654, allocations: 3.996 MB / 0.5807 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00544/0.5708, allocations: 3.089 MB / 0.5837 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.5734, allocations: 1.57 MB / 0.5852 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.5758, allocations: 1.484 MB / 0.5867 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/0.5784, allocations: 1.506 MB / 0.5881 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004905/0.5789, allocations: 300 kB / 0.5884 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009663/0.5886, allocations: 2.987 MB / 0.5914 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009858/0.5896, allocations: 0.6933 MB / 0.592 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002034/0.5916, allocations: 1.214 MB / 0.5932 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01455/0.6062, allocations: 6.556 MB / 0.5996 GB, free: 7.262 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6062, allocations: 0 / 0.5996 GB, free: 7.262 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.6062, allocations: 0 / 0.5996 GB, free: 7.262 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.866e-05/0.6062, allocations: 4 kB / 0.5996 GB, free: 7.258 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.007565/0.6138, allocations: 3.33 MB / 0.6029 GB, free: 3.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.6138, allocations: 12.03 kB / 0.6029 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.6164, allocations: 0.5764 MB / 0.6034 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/0.6191, allocations: 1.356 MB / 0.6048 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003332/0.6195, allocations: 351.3 kB / 0.6051 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004479/0.6199, allocations: 244 kB / 0.6053 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005123/0.625, allocations: 3.082 MB / 0.6083 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.905e-05/0.6251, allocations: 7.938 kB / 0.6084 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.6253, allocations: 96 kB / 0.6084 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.984e-05/0.6254, allocations: 60 kB / 0.6085 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006213/0.6316, allocations: 3.611 MB / 0.612 GB, free: 10.3 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.01723/0.6488, allocations: 8.752 MB / 0.6206 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/0.652, allocations: 1.772 MB / 0.6223 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.6537, allocations: 1.02 MB / 0.6233 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0121/0.6658, allocations: 5.188 MB / 0.6284 GB, free: 9.328 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.6659, allocations: 43.88 kB / 0.6284 GB, free: 9.277 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001403/0.6673, allocations: 290.7 kB / 0.6287 GB, free: 8.992 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 4.709e-06/0.6673, allocations: 0 / 0.6287 GB, free: 8.992 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03837/0.7057, allocations: 9.535 MB / 0.638 GB, free: 15.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.7058, allocations: 128.9 kB / 0.6381 GB, free: 15.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/0.7084, allocations: 1.417 MB / 0.6395 GB, free: 13.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005302/0.7089, allocations: 57.7 kB / 0.6396 GB, free: 13.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001435/0.7103, allocations: 1.202 MB / 0.6407 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001324/0.7117, allocations: 0.6546 MB / 0.6414 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/0.7133, allocations: 0.517 MB / 0.6419 GB, free: 11.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.7135, allocations: 305.1 kB / 0.6422 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.7156, allocations: 0.9501 MB / 0.6431 GB, free: 10.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003038/0.7186, allocations: 1.906 MB / 0.645 GB, free: 7.754 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005214/0.7238, allocations: 3.003 MB / 0.6479 GB, free: 4.316 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.264e-05/0.7239, allocations: 8 kB / 0.6479 GB, free: 4.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01168/0.7355, allocations: 3.898 MB / 0.6517 GB, free: 396 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.7356, allocations: 16 kB / 0.6517 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.815e-05/0.7356, allocations: 35.94 kB / 0.6518 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005723/0.7414, allocations: 1.181 MB / 0.6529 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.7437, allocations: 0.5733 MB / 0.6535 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.755, allocations: 7.083 MB / 0.6604 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/0.7579, allocations: 115.9 kB / 0.6605 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007667/0.7587, allocations: 159.9 kB / 0.6606 GB, free: 6.879 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.001691/0.7604, allocations: 488.8 kB / 0.6611 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007848/0.7612, allocations: 182.8 kB / 0.6613 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.7721, allocations: 3.229 MB / 0.6644 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.7721, allocations: 20 kB / 0.6645 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/0.7721, allocations: 7.938 kB / 0.6645 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.209e-05/0.7722, allocations: 7.969 kB / 0.6645 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.7872, allocations: 4.881 MB / 0.6692 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/0.7873, allocations: 4 kB / 0.6692 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.7888, allocations: 307.8 kB / 0.6695 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005256/0.794, allocations: 1.048 MB / 0.6706 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003642/0.7944, allocations: 75.94 kB / 0.6706 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00956/0.8039, allocations: 6.372 MB / 0.6769 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.8039, allocations: 12.09 kB / 0.6769 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/0.8161, allocations: 4.112 MB / 0.6809 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.8167, allocations: 146.9 kB / 0.681 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000563/0.8172, allocations: 40 kB / 0.6811 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/0.8187, allocations: 43.98 kB / 0.6811 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005769/0.8193, allocations: 189.5 kB / 0.6813 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002646/0.8196, allocations: 79.95 kB / 0.6814 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001446/0.821, allocations: 0.893 MB / 0.6822 GB, free: 236 kB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.821, allocations: 0 / 0.6822 GB, free: 236 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004986/0.826, allocations: 1.259 MB / 0.6835 GB, free: 14.97 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.003349/0.8293, allocations: 1.32 MB / 0.6848 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006953/0.8363, allocations: 2.842 MB / 0.6875 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.8363, allocations: 0 / 0.6875 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003753/0.8401, allocations: 1.46 MB / 0.689 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.8425, allocations: 314.9 kB / 0.6893 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009402/0.8519, allocations: 4.108 MB / 0.6933 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/0.8534, allocations: 0.9104 MB / 0.6942 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002044/0.8554, allocations: 449.9 kB / 0.6946 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008089/0.8562, allocations: 279.4 kB / 0.6949 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of SimCode: time 1.362e-06/0.8562, allocations: 3.938 kB / 0.6949 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of Templates: time 0.3107/1.167, allocations: 46.26 MB / 0.74 GB, free: 171.5 MB / 0.5606 GB " [Timeout remaining time 659] 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.88936710357666] Failed to read output from testmodel.py, exit status != 0: 1.1816343422979116 1.203498313 0.5927200920000001 Calling exit ...