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.002045/0.002045, allocations: 106.7 kB / 16.45 MB, free: 6.02 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.002524/0.002524, allocations: 205.7 kB / 19.42 MB, free: 3.516 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.535/1.535, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.1383/0.1383, allocations: 23.88 MB / 332.7 MB, free: 12.32 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.002179/0.002179, allocations: 67.91 kB / 466.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3079, allocations: 59.84 MB / 0.514 GB, free: 9.168 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.04257/0.3505, allocations: 31.92 MB / 0.5452 GB, free: 9.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03783/0.3883, allocations: 29.03 MB / 0.5736 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.3903, allocations: 39.69 kB / 0.5736 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.3923, allocations: 0.6824 MB / 0.5743 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008334/0.4006, allocations: 2.25 MB / 0.5765 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01112/0.4118, allocations: 3.949 MB / 0.5803 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005129/0.4169, allocations: 3.097 MB / 0.5833 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/0.4195, allocations: 1.643 MB / 0.5849 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/0.4219, allocations: 1.481 MB / 0.5864 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.4246, allocations: 1.689 MB / 0.588 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007206/0.4253, allocations: 296 kB / 0.5883 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008984/0.4343, allocations: 3.179 MB / 0.5914 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009456/0.4353, allocations: 0.6933 MB / 0.5921 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.4374, allocations: 1.435 MB / 0.5935 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.4523, allocations: 6.572 MB / 0.5999 GB, free: 3.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4523, allocations: 3.938 kB / 0.5999 GB, free: 3.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4523, allocations: 0 / 0.5999 GB, free: 3.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001279/0.4524, allocations: 0 / 0.5999 GB, free: 3.023 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.008483/0.4609, allocations: 3.402 MB / 0.6033 GB, free: 15.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4609, allocations: 16.02 kB / 0.6033 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/0.4637, allocations: 0.5764 MB / 0.6038 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.4665, allocations: 1.424 MB / 0.6052 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.4668, allocations: 278.1 kB / 0.6055 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000581/0.4674, allocations: 240 kB / 0.6057 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00591/0.4733, allocations: 3.053 MB / 0.6087 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/0.4733, allocations: 0 / 0.6087 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/0.4736, allocations: 103.9 kB / 0.6088 GB, free: 9.691 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-05/0.4737, allocations: 60 kB / 0.6089 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006405/0.4801, allocations: 3.619 MB / 0.6124 GB, free: 6.012 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.01792/0.498, allocations: 10.55 MB / 0.6227 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.5014, allocations: 2.16 MB / 0.6248 GB, free: 8.816 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/0.5031, allocations: 1.027 MB / 0.6258 GB, free: 7.777 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/0.5169, allocations: 8.826 MB / 0.6344 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.5169, allocations: 55.81 kB / 0.6345 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001398/0.5183, allocations: 306.4 kB / 0.6348 GB, free: 13.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=134): time 5.33e-06/0.5183, allocations: 0 / 0.6348 GB, free: 13.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=181): time 0.03711/0.5554, allocations: 9.764 MB / 0.6443 GB, free: 3.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/0.5555, allocations: 128.8 kB / 0.6444 GB, free: 3.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.5578, allocations: 1.466 MB / 0.6459 GB, free: 2.227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003335/0.5582, allocations: 53.7 kB / 0.6459 GB, free: 2.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.5592, allocations: 1.186 MB / 0.6471 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008678/0.56, allocations: 0.6624 MB / 0.6477 GB, free: 308 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.5611, allocations: 0.5131 MB / 0.6482 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5612, allocations: 305.1 kB / 0.6485 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.5631, allocations: 0.9462 MB / 0.6494 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00284/0.5659, allocations: 1.898 MB / 0.6513 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004845/0.5708, allocations: 2.988 MB / 0.6542 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/0.5708, allocations: 8 kB / 0.6542 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01106/0.5818, allocations: 3.89 MB / 0.658 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.5819, allocations: 23.98 kB / 0.658 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.5e-05/0.5819, allocations: 32 kB / 0.6581 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005561/0.5875, allocations: 1.183 MB / 0.6592 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/0.5897, allocations: 0.5772 MB / 0.6598 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.6007, allocations: 7.522 MB / 0.6671 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.6027, allocations: 107.9 kB / 0.6672 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004171/0.6031, allocations: 159.9 kB / 0.6674 GB, free: 10.79 MB / 0.5137 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.001109/0.6042, allocations: 488.9 kB / 0.6678 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005364/0.6048, allocations: 183 kB / 0.668 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.615, allocations: 3.253 MB / 0.6712 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.6151, allocations: 20 kB / 0.6712 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.6151, allocations: 4 kB / 0.6712 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/0.6151, allocations: 7.969 kB / 0.6712 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.6291, allocations: 5.429 MB / 0.6765 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.6291, allocations: 4 kB / 0.6765 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.6305, allocations: 299.6 kB / 0.6768 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005174/0.6356, allocations: 1.046 MB / 0.6778 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003149/0.6359, allocations: 75.83 kB / 0.6779 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009291/0.6452, allocations: 6.811 MB / 0.6846 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6452, allocations: 4.031 kB / 0.6846 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/0.6562, allocations: 4.128 MB / 0.6886 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.6566, allocations: 239.9 kB / 0.6888 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/0.657, allocations: 36 kB / 0.6889 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.6582, allocations: 47.98 kB / 0.6889 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004354/0.6586, allocations: 181.6 kB / 0.6891 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/0.6588, allocations: 79.95 kB / 0.6892 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001383/0.6602, allocations: 0.9507 MB / 0.6901 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6602, allocations: 0 / 0.6901 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004218/0.6644, allocations: 1.27 MB / 0.6913 GB, free: 1.578 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.002965/0.6674, allocations: 1.327 MB / 0.6926 GB, free: 240 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006181/0.6736, allocations: 2.902 MB / 0.6955 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6736, allocations: 4.438 kB / 0.6955 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003053/0.6766, allocations: 1.535 MB / 0.697 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.6784, allocations: 322.8 kB / 0.6973 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007763/0.6861, allocations: 4.114 MB / 0.7013 GB, free: 7.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.6875, allocations: 1.486 MB / 0.7027 GB, free: 5.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001499/0.689, allocations: 458.1 kB / 0.7032 GB, free: 5.211 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006677/0.6896, allocations: 285.1 kB / 0.7034 GB, free: 4.938 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.6896, allocations: 0 / 0.7034 GB, free: 4.938 MB / 0.545 GB Notification: Performance of Templates: time 0.2772/0.9668, allocations: 47.86 MB / 0.7502 GB, free: 165.2 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 sys.exit(0), Time elapsed: 6.62498546205461] Failed to read output from testmodel.py, exit status != 0: 0.9752719290554523 0.98291632 0.52854929 Calling exit ...