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.001274/0.001274, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001425/0.001425, allocations: 212 kB / 22.24 MB, free: 5.262 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.746 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.133/0.133, allocations: 23.99 MB / 336.4 MB, free: 10.84 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.002321/0.002321, allocations: 63.91 kB / 471.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3122, allocations: 59.91 MB / 0.5192 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.07344/0.3856, allocations: 30.69 MB / 0.5492 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0352/0.4208, allocations: 25.5 MB / 0.5741 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002116/0.423, allocations: 35.75 kB / 0.5741 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.4253, allocations: 0.6239 MB / 0.5747 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007265/0.4326, allocations: 2.212 MB / 0.5769 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01255/0.4451, allocations: 3.992 MB / 0.5808 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005037/0.4501, allocations: 3.082 MB / 0.5838 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00278/0.4529, allocations: 1.585 MB / 0.5854 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.4553, allocations: 1.473 MB / 0.5868 GB, free: 4.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0029/0.4582, allocations: 1.506 MB / 0.5883 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009055/0.4591, allocations: 300 kB / 0.5886 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008375/0.4675, allocations: 2.987 MB / 0.5915 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.4691, allocations: 0.6933 MB / 0.5921 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002568/0.4716, allocations: 1.218 MB / 0.5933 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.4855, allocations: 6.556 MB / 0.5997 GB, free: 7.066 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4855, allocations: 0 / 0.5997 GB, free: 7.066 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4855, allocations: 0 / 0.5997 GB, free: 7.066 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001413/0.4856, allocations: 3.938 kB / 0.5997 GB, free: 7.062 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.007176/0.4928, allocations: 3.319 MB / 0.603 GB, free: 3.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4929, allocations: 15.97 kB / 0.603 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/0.4951, allocations: 0.5803 MB / 0.6036 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.4978, allocations: 1.344 MB / 0.6049 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.498, allocations: 351.3 kB / 0.6052 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003945/0.4984, allocations: 244 kB / 0.6054 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004918/0.5034, allocations: 3.092 MB / 0.6085 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.101e-05/0.5034, allocations: 11.92 kB / 0.6085 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002268/0.5036, allocations: 96 kB / 0.6086 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/0.5037, allocations: 63.94 kB / 0.6086 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005717/0.5094, allocations: 3.607 MB / 0.6122 GB, free: 10.11 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.01526/0.5247, allocations: 8.751 MB / 0.6207 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.5276, allocations: 1.78 MB / 0.6224 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.5292, allocations: 1.016 MB / 0.6234 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/0.5401, allocations: 5.173 MB / 0.6285 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/0.5401, allocations: 43.88 kB / 0.6285 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001145/0.5413, allocations: 298.6 kB / 0.6288 GB, free: 8.805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 3.887e-06/0.5413, allocations: 0 / 0.6288 GB, free: 8.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03392/0.5752, allocations: 9.53 MB / 0.6381 GB, free: 15.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.5753, allocations: 124.8 kB / 0.6382 GB, free: 15.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.5772, allocations: 1.421 MB / 0.6396 GB, free: 13.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.5773, allocations: 61.64 kB / 0.6397 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009378/0.5783, allocations: 1.198 MB / 0.6408 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006207/0.5789, allocations: 0.6546 MB / 0.6415 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008514/0.5797, allocations: 0.5248 MB / 0.642 GB, free: 11.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5799, allocations: 309.1 kB / 0.6423 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.5816, allocations: 0.9501 MB / 0.6432 GB, free: 9.902 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.5842, allocations: 1.894 MB / 0.6451 GB, free: 7.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004524/0.5888, allocations: 3.007 MB / 0.648 GB, free: 4.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-05/0.5888, allocations: 8 kB / 0.648 GB, free: 4.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01038/0.5992, allocations: 3.89 MB / 0.6518 GB, free: 212 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.5992, allocations: 22.5 kB / 0.6518 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.891e-05/0.5993, allocations: 35.94 kB / 0.6519 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005229/0.6045, allocations: 1.175 MB / 0.653 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.6065, allocations: 0.585 MB / 0.6536 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.6168, allocations: 7.071 MB / 0.6605 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.6186, allocations: 111.8 kB / 0.6606 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/0.6189, allocations: 159.9 kB / 0.6608 GB, free: 6.715 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.00105/0.62, allocations: 0.489 MB / 0.6612 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004892/0.6204, allocations: 170.9 kB / 0.6614 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009754/0.6302, allocations: 3.236 MB / 0.6646 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.6302, allocations: 20 kB / 0.6646 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.6302, allocations: 11.94 kB / 0.6646 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/0.6303, allocations: 11.95 kB / 0.6646 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.6432, allocations: 4.872 MB / 0.6694 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.6432, allocations: 11.92 kB / 0.6694 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.6444, allocations: 299.6 kB / 0.6697 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004798/0.6492, allocations: 1.052 MB / 0.6707 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/0.6494, allocations: 67.95 kB / 0.6707 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008725/0.6582, allocations: 6.375 MB / 0.677 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.6582, allocations: 11.91 kB / 0.677 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.6686, allocations: 4.112 MB / 0.681 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.669, allocations: 147.1 kB / 0.6811 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/0.6694, allocations: 43.98 kB / 0.6812 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.6705, allocations: 47.98 kB / 0.6812 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000389/0.6709, allocations: 185.5 kB / 0.6814 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/0.6711, allocations: 79.95 kB / 0.6815 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001287/0.6724, allocations: 0.8891 MB / 0.6823 GB, free: 64 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6724, allocations: 3.938 kB / 0.6823 GB, free: 60 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003713/0.6761, allocations: 1.262 MB / 0.6836 GB, free: 14.79 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.002739/0.6788, allocations: 1.324 MB / 0.6849 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00573/0.6845, allocations: 2.838 MB / 0.6876 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6846, allocations: 0 / 0.6876 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002965/0.6875, allocations: 1.46 MB / 0.6891 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.6893, allocations: 314.7 kB / 0.6894 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008063/0.6973, allocations: 4.107 MB / 0.6934 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.6986, allocations: 0.9064 MB / 0.6943 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001628/0.7002, allocations: 453.4 kB / 0.6947 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006562/0.7008, allocations: 278 kB / 0.695 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of SimCode: time 1.553e-06/0.7008, allocations: 3.938 kB / 0.695 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of Templates: time 0.263/0.9639, allocations: 49.23 MB / 0.743 GB, free: 171.4 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: 6.817569717764854] Failed to read output from testmodel.py, exit status != 0: 0.9737690091133118 0.982424989 0.49440171099999997 Calling exit ...