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.001296/0.001296, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001571/0.001571, allocations: 222.1 kB / 22.25 MB, free: 5.098 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 MB, free: 7.812 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.1411/0.1411, allocations: 23.93 MB / 336.3 MB, free: 11.02 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.003273/0.003273, allocations: 71.88 kB / 471.7 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3543, allocations: 59.87 MB / 0.5191 GB, free: 9.676 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.08158/0.4359, allocations: 30.57 MB / 0.549 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04002/0.4759, allocations: 25.49 MB / 0.5738 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002907/0.4788, allocations: 39.69 kB / 0.5739 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002492/0.4813, allocations: 0.6317 MB / 0.5745 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007959/0.4893, allocations: 2.208 MB / 0.5767 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01255/0.5018, allocations: 3.993 MB / 0.5806 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006147/0.508, allocations: 3.081 MB / 0.5836 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002726/0.5107, allocations: 1.616 MB / 0.5851 GB, free: 6.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002916/0.5136, allocations: 1.488 MB / 0.5866 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003411/0.517, allocations: 1.678 MB / 0.5882 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006646/0.5177, allocations: 296 kB / 0.5885 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01198/0.5297, allocations: 3.069 MB / 0.5915 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.5309, allocations: 0.701 MB / 0.5922 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002062/0.533, allocations: 1.214 MB / 0.5934 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01725/0.5502, allocations: 6.552 MB / 0.5998 GB, free: 7.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5502, allocations: 0 / 0.5998 GB, free: 7.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5502, allocations: 4 kB / 0.5998 GB, free: 7.016 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001002/0.5503, allocations: 0 / 0.5998 GB, free: 7.016 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.008177/0.5585, allocations: 3.323 MB / 0.603 GB, free: 3.641 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5586, allocations: 8.031 kB / 0.603 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/0.5613, allocations: 0.5764 MB / 0.6036 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/0.5644, allocations: 1.364 MB / 0.6049 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/0.5647, allocations: 343.3 kB / 0.6053 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004935/0.5652, allocations: 251.9 kB / 0.6055 GB, free: 1.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005897/0.5711, allocations: 3.09 MB / 0.6085 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-05/0.5712, allocations: 7.938 kB / 0.6085 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002768/0.5715, allocations: 100 kB / 0.6086 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/0.5715, allocations: 56 kB / 0.6087 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006377/0.5779, allocations: 3.603 MB / 0.6122 GB, free: 10.06 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.01858/0.5965, allocations: 8.751 MB / 0.6207 GB, free: 1.133 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/0.5998, allocations: 1.776 MB / 0.6225 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/0.6015, allocations: 1.025 MB / 0.6235 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01278/0.6143, allocations: 5.173 MB / 0.6285 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.6143, allocations: 55.81 kB / 0.6286 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001571/0.6159, allocations: 294.6 kB / 0.6289 GB, free: 8.746 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 1.403e-05/0.6159, allocations: 3.984 kB / 0.6289 GB, free: 8.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.04043/0.6563, allocations: 9.522 MB / 0.6382 GB, free: 15.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/0.6564, allocations: 124.8 kB / 0.6383 GB, free: 15.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.6584, allocations: 1.42 MB / 0.6397 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002573/0.6587, allocations: 53.7 kB / 0.6397 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009381/0.6596, allocations: 1.206 MB / 0.6409 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007273/0.6603, allocations: 0.6585 MB / 0.6415 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009009/0.6612, allocations: 0.521 MB / 0.642 GB, free: 11.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6614, allocations: 305.1 kB / 0.6423 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.6632, allocations: 0.9462 MB / 0.6433 GB, free: 9.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.6659, allocations: 1.906 MB / 0.6451 GB, free: 7.512 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004828/0.6707, allocations: 3 MB / 0.6481 GB, free: 4.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.213e-05/0.6708, allocations: 12 kB / 0.6481 GB, free: 4.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01213/0.6829, allocations: 3.886 MB / 0.6519 GB, free: 160 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.732e-05/0.683, allocations: 23.94 kB / 0.6519 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.887e-05/0.683, allocations: 36.5 kB / 0.6519 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006271/0.6893, allocations: 1.167 MB / 0.6531 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/0.6919, allocations: 0.5889 MB / 0.6536 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.7036, allocations: 7.086 MB / 0.6606 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.7059, allocations: 111.8 kB / 0.6607 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005555/0.7064, allocations: 152 kB / 0.6608 GB, free: 6.66 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.001302/0.7077, allocations: 492.8 kB / 0.6613 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006183/0.7084, allocations: 178.9 kB / 0.6614 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/0.7192, allocations: 3.236 MB / 0.6646 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/0.7192, allocations: 20 kB / 0.6646 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.7193, allocations: 11.94 kB / 0.6646 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-05/0.7193, allocations: 7.969 kB / 0.6646 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.7347, allocations: 4.876 MB / 0.6694 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/0.7347, allocations: 0 / 0.6694 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.7363, allocations: 311.5 kB / 0.6697 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006/0.7423, allocations: 1.042 MB / 0.6707 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004027/0.7427, allocations: 75.89 kB / 0.6708 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009735/0.7524, allocations: 6.374 MB / 0.677 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.7524, allocations: 7.938 kB / 0.677 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/0.7646, allocations: 4.112 MB / 0.681 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005016/0.7651, allocations: 154.9 kB / 0.6812 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/0.7656, allocations: 36 kB / 0.6812 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.7671, allocations: 43.98 kB / 0.6813 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000522/0.7676, allocations: 189.5 kB / 0.6814 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002902/0.7679, allocations: 83.95 kB / 0.6815 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001476/0.7694, allocations: 0.8852 MB / 0.6824 GB, free: 16 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.7694, allocations: 0 / 0.6824 GB, free: 16 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004743/0.7741, allocations: 1.262 MB / 0.6836 GB, free: 14.75 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.003397/0.7775, allocations: 1.329 MB / 0.6849 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006656/0.7842, allocations: 2.834 MB / 0.6877 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7842, allocations: 3.938 kB / 0.6877 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003572/0.7877, allocations: 1.464 MB / 0.6891 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.7899, allocations: 310.4 kB / 0.6894 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008272/0.7982, allocations: 4.114 MB / 0.6934 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.7992, allocations: 0.9065 MB / 0.6943 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001645/0.8009, allocations: 446.5 kB / 0.6947 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006942/0.8016, allocations: 285.7 kB / 0.695 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.8016, allocations: 0 / 0.695 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of Templates: time 0.2924/1.094, allocations: 50.02 MB / 0.7439 GB, free: 172.1 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: 7.346134404651821] Failed to read output from testmodel.py, exit status != 0: 1.105389324016869 1.12368961 0.569041509 Calling exit ...