Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 104.6 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1151/0.1151, allocations: 15.55 MB / 318.2 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 445.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1082, allocations: 56.54 MB / 0.4902 GB, free: 4.43 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.ClimateChange.ElectrolysisMethanation): time 0.5047/0.6128, allocations: 31.55 MB / 0.521 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03928/0.6521, allocations: 28.96 MB / 0.5493 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003164/0.6553, allocations: 27.38 kB / 0.5493 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.6582, allocations: 0.6933 MB / 0.55 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.6684, allocations: 2.249 MB / 0.5522 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01576/0.6842, allocations: 3.948 MB / 0.556 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005837/0.69, allocations: 3.087 MB / 0.5591 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/0.693, allocations: 1.64 MB / 0.5607 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/0.6965, allocations: 1.459 MB / 0.5621 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003394/0.6999, allocations: 1.684 MB / 0.5637 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005331/0.7004, allocations: 296.3 kB / 0.564 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/0.7146, allocations: 3.182 MB / 0.5671 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.7159, allocations: 0.7029 MB / 0.5678 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002507/0.7184, allocations: 1.436 MB / 0.5692 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02635/0.7448, allocations: 6.386 MB / 0.5755 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.559e-05/0.7448, allocations: 0 / 0.5755 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.7448, allocations: 0 / 0.5755 GB, free: 3.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001462/0.745, allocations: 0 / 0.5755 GB, free: 3.477 MB / 414.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.01132/0.7563, allocations: 3.41 MB / 0.5788 GB, free: 15.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.364e-05/0.7563, allocations: 11.97 kB / 0.5788 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/0.7594, allocations: 0.5725 MB / 0.5794 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003427/0.7628, allocations: 1.42 MB / 0.5807 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002869/0.7631, allocations: 270.2 kB / 0.581 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004704/0.7636, allocations: 244 kB / 0.5812 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006105/0.7697, allocations: 3.049 MB / 0.5842 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/0.7697, allocations: 7.984 kB / 0.5842 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/0.77, allocations: 96 kB / 0.5843 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-05/0.77, allocations: 60 kB / 0.5844 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006393/0.7764, allocations: 3.626 MB / 0.5879 GB, free: 6.473 MB / 430.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.01991/0.7963, allocations: 10.53 MB / 0.5982 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/0.8002, allocations: 2.152 MB / 0.6003 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.8021, allocations: 1.023 MB / 0.6013 GB, free: 8.266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01715/0.8192, allocations: 8.803 MB / 0.6099 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.977e-05/0.8193, allocations: 51.81 kB / 0.6099 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001823/0.8211, allocations: 310.4 kB / 0.6102 GB, free: 14.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=134): time 1.127e-05/0.8212, allocations: 0 / 0.6102 GB, free: 14.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=181): time 0.04271/0.8639, allocations: 9.768 MB / 0.6198 GB, free: 4.355 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.864, allocations: 124.9 kB / 0.6199 GB, free: 4.207 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002635/0.8666, allocations: 1.458 MB / 0.6213 GB, free: 2.738 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000391/0.867, allocations: 57.7 kB / 0.6214 GB, free: 2.676 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.8683, allocations: 1.198 MB / 0.6225 GB, free: 1.465 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009997/0.8693, allocations: 0.6546 MB / 0.6232 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.8705, allocations: 0.517 MB / 0.6237 GB, free: 288 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.8707, allocations: 305.1 kB / 0.624 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/0.8728, allocations: 0.9462 MB / 0.6249 GB, free: 15.03 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.8759, allocations: 1.894 MB / 0.6267 GB, free: 12.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005423/0.8813, allocations: 2.996 MB / 0.6297 GB, free: 9.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.931e-05/0.8814, allocations: 8 kB / 0.6297 GB, free: 9.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01183/0.8932, allocations: 3.894 MB / 0.6335 GB, free: 5.344 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.8933, allocations: 20 kB / 0.6335 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.898e-05/0.8933, allocations: 32 kB / 0.6335 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00569/0.899, allocations: 1.175 MB / 0.6347 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/0.9015, allocations: 0.5772 MB / 0.6352 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.9142, allocations: 7.52 MB / 0.6426 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/0.9171, allocations: 107.8 kB / 0.6427 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007562/0.9178, allocations: 159.9 kB / 0.6428 GB, free: 11.3 MB / 494.1 MB 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.001932/0.9197, allocations: 484.9 kB / 0.6433 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009508/0.9207, allocations: 186.8 kB / 0.6435 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.9322, allocations: 3.25 MB / 0.6467 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/0.9323, allocations: 16 kB / 0.6467 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.238e-05/0.9323, allocations: 4 kB / 0.6467 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.899e-05/0.9324, allocations: 15.95 kB / 0.6467 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.9492, allocations: 5.425 MB / 0.652 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/0.9492, allocations: 4 kB / 0.652 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/0.9507, allocations: 299.6 kB / 0.6523 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005236/0.9559, allocations: 1.046 MB / 0.6533 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003479/0.9563, allocations: 71.89 kB / 0.6534 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/0.9679, allocations: 6.816 MB / 0.66 GB, free: 9.098 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/0.968, allocations: 8.062 kB / 0.66 GB, free: 9.09 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/0.9809, allocations: 4.124 MB / 0.6641 GB, free: 4.902 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008994/0.9818, allocations: 243.9 kB / 0.6643 GB, free: 4.645 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007024/0.9825, allocations: 36 kB / 0.6643 GB, free: 4.609 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/0.9841, allocations: 43.98 kB / 0.6644 GB, free: 4.566 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006613/0.9848, allocations: 181.6 kB / 0.6645 GB, free: 4.387 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003605/0.9851, allocations: 79.95 kB / 0.6646 GB, free: 4.309 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00185/0.987, allocations: 0.9585 MB / 0.6655 GB, free: 3.352 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.01e-07/0.987, allocations: 0 / 0.6655 GB, free: 3.352 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.005497/0.9925, allocations: 1.266 MB / 0.6668 GB, free: 2.082 MB / 0.4982 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.00402/0.9965, allocations: 1.311 MB / 0.6681 GB, free: 0.7539 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.007332/1.004, allocations: 2.905 MB / 0.6709 GB, free: 13.79 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.004, allocations: 0 / 0.6709 GB, free: 13.79 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003557/1.007, allocations: 1.536 MB / 0.6724 GB, free: 12.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/1.01, allocations: 318.1 kB / 0.6727 GB, free: 11.89 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.021, allocations: 4.119 MB / 0.6767 GB, free: 7.699 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/1.023, allocations: 1.474 MB / 0.6782 GB, free: 6.191 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.002235/1.026, allocations: 455 kB / 0.6786 GB, free: 5.742 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009784/1.027, allocations: 289.5 kB / 0.6789 GB, free: 5.461 MB / 0.5138 GB Notification: Performance of SimCode: time 2.044e-06/1.027, allocations: 0 / 0.6789 GB, free: 5.461 MB / 0.5138 GB Notification: Performance of Templates: time 0.4049/1.432, allocations: 47.21 MB / 0.725 GB, free: 176.3 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.865437623113394]