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.001302/0.001302, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001459/0.001459, allocations: 220.9 kB / 23.01 MB, free: 4.609 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: 8.02 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.1381/0.1381, allocations: 23.85 MB / 337 MB, free: 11.24 MB / 270.1 MB " [Timeout remaining time 180] 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.002232/0.002232, allocations: 71.89 kB / 472.4 MB, free: 7.219 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3375, allocations: 59.86 MB / 0.5198 GB, free: 9.887 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.04531/0.3828, allocations: 31.94 MB / 0.551 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03774/0.4205, allocations: 29.1 MB / 0.5794 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002599/0.4231, allocations: 35.75 kB / 0.5795 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.4257, allocations: 0.6901 MB / 0.5801 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007845/0.4335, allocations: 2.262 MB / 0.5823 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01251/0.446, allocations: 3.993 MB / 0.5862 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005184/0.4512, allocations: 3.093 MB / 0.5893 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.4535, allocations: 1.609 MB / 0.5908 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.4555, allocations: 1.477 MB / 0.5923 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.458, allocations: 1.686 MB / 0.5939 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004869/0.4585, allocations: 304 kB / 0.5942 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009949/0.4685, allocations: 3.183 MB / 0.5973 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.4695, allocations: 0.6894 MB / 0.598 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002027/0.4715, allocations: 1.439 MB / 0.5994 GB, free: 8.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01609/0.4876, allocations: 6.576 MB / 0.6058 GB, free: 1.883 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4876, allocations: 0 / 0.6058 GB, free: 1.883 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4876, allocations: 0 / 0.6058 GB, free: 1.883 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.737e-05/0.4877, allocations: 0 / 0.6058 GB, free: 1.883 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.007758/0.4955, allocations: 3.326 MB / 0.6091 GB, free: 14.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4955, allocations: 12.03 kB / 0.6091 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.498, allocations: 0.5803 MB / 0.6096 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/0.5011, allocations: 1.352 MB / 0.611 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.5015, allocations: 351.2 kB / 0.6113 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005053/0.502, allocations: 244 kB / 0.6115 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005559/0.5076, allocations: 3.061 MB / 0.6145 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.67e-05/0.5076, allocations: 0 / 0.6145 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.5078, allocations: 100 kB / 0.6146 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/0.5079, allocations: 60 kB / 0.6147 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005881/0.5138, allocations: 3.65 MB / 0.6182 GB, free: 4.918 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.01925/0.533, allocations: 10.45 MB / 0.6284 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.5362, allocations: 1.775 MB / 0.6302 GB, free: 8.305 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.5378, allocations: 1.031 MB / 0.6312 GB, free: 7.262 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.5494, allocations: 5.473 MB / 0.6365 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.78e-05/0.5495, allocations: 47.86 kB / 0.6366 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001378/0.5508, allocations: 314.4 kB / 0.6369 GB, free: 1.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 7.293e-06/0.5508, allocations: 0 / 0.6369 GB, free: 1.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03583/0.5867, allocations: 9.537 MB / 0.6462 GB, free: 7.789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.927e-05/0.5868, allocations: 124.8 kB / 0.6463 GB, free: 7.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.5887, allocations: 1.47 MB / 0.6477 GB, free: 6.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.5889, allocations: 57.7 kB / 0.6478 GB, free: 6.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008935/0.5898, allocations: 1.19 MB / 0.649 GB, free: 4.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006446/0.5905, allocations: 0.6547 MB / 0.6496 GB, free: 4.234 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007651/0.5912, allocations: 0.517 MB / 0.6501 GB, free: 3.711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5914, allocations: 305.1 kB / 0.6504 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.593, allocations: 0.9462 MB / 0.6513 GB, free: 2.461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/0.5954, allocations: 1.906 MB / 0.6532 GB, free: 120 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/0.5998, allocations: 2.999 MB / 0.6561 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/0.5998, allocations: 8 kB / 0.6561 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.0105/0.6103, allocations: 3.913 MB / 0.6599 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.6103, allocations: 16 kB / 0.6599 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.366e-05/0.6104, allocations: 36 kB / 0.66 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005381/0.6158, allocations: 1.178 MB / 0.6611 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/0.618, allocations: 0.585 MB / 0.6617 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.6284, allocations: 7.202 MB / 0.6687 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.6306, allocations: 115.9 kB / 0.6688 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003557/0.631, allocations: 159.9 kB / 0.669 GB, free: 15.07 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.001031/0.632, allocations: 484.9 kB / 0.6695 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004707/0.6325, allocations: 182.8 kB / 0.6696 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009977/0.6425, allocations: 3.246 MB / 0.6728 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.275e-05/0.6425, allocations: 23.98 kB / 0.6728 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.6425, allocations: 7.938 kB / 0.6728 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.782e-05/0.6425, allocations: 7.969 kB / 0.6728 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.6567, allocations: 5.397 MB / 0.6781 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.6567, allocations: 4 kB / 0.6781 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.6581, allocations: 303.9 kB / 0.6784 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005029/0.6631, allocations: 1.048 MB / 0.6794 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/0.6633, allocations: 75.89 kB / 0.6795 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008984/0.6723, allocations: 6.49 MB / 0.6858 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.6723, allocations: 7.938 kB / 0.6859 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/0.6834, allocations: 4.124 MB / 0.6899 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005573/0.684, allocations: 170.7 kB / 0.69 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/0.6844, allocations: 36 kB / 0.6901 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.6857, allocations: 47.98 kB / 0.6901 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004347/0.6861, allocations: 189.7 kB / 0.6903 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/0.6863, allocations: 84.22 kB / 0.6904 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001541/0.6879, allocations: 0.9586 MB / 0.6913 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6879, allocations: 0 / 0.6913 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004525/0.6924, allocations: 1.266 MB / 0.6926 GB, free: 6.363 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.003122/0.6955, allocations: 1.34 MB / 0.6939 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006444/0.7019, allocations: 2.834 MB / 0.6966 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.702, allocations: 4 kB / 0.6966 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00334/0.7053, allocations: 1.461 MB / 0.6981 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.7075, allocations: 308.8 kB / 0.6984 GB, free: 344 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008767/0.7162, allocations: 4.162 MB / 0.7024 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.7176, allocations: 1.474 MB / 0.7039 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.7187, allocations: 361.8 kB / 0.7042 GB, free: 10.23 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/0.7187, allocations: 4 kB / 0.7042 GB, free: 10.22 MB / 0.545 GB Notification: Performance of Templates: time 0.2991/1.018, allocations: 81.46 MB / 0.7838 GB, free: 145.1 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: 12.105748366797343] Failed to read output from testmodel.py, exit status != 0: 1.0273574830498546 1.035758103 0.545665234 Calling exit ...