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.0008709/0.0008709, allocations: 80.81 kB / 19.94 MB, free: 4.539 MB / 18.57 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.0008768/0.0008768, allocations: 181 kB / 23.36 MB, free: 1.125 MB / 18.57 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 0.8902/0.8902, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.09528/0.09528, allocations: 17.38 MB / 277.6 MB, free: 11.53 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 300.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.846e-05, allocations: 4.703 kB / 300.6 MB, free: 1.641 MB / 266.7 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.03175/0.03177, allocations: 39.89 MB / 340.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.04688, allocations: 17.1 MB / 357.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.04826, allocations: 35.75 kB / 357.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009545/0.04921, allocations: 0.4918 MB / 358.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.05264, allocations: 1.819 MB / 360 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004414/0.05705, allocations: 2.49 MB / 362.5 MB, free: 6.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002992/0.06004, allocations: 3.185 MB / 365.6 MB, free: 3.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.06202, allocations: 1.695 MB / 367.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.06409, allocations: 2.153 MB / 369.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.06572, allocations: 1.411 MB / 370.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004668/0.06618, allocations: 292 kB / 371.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.06949, allocations: 1.759 MB / 372.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004763/0.06997, allocations: 0.7166 MB / 373.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.07134, allocations: 1.06 MB / 374.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006417/0.07776, allocations: 4.222 MB / 378.9 MB, free: 5.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.07776, allocations: 3.984 kB / 379 MB, free: 5.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.07777, allocations: 0 / 379 MB, free: 5.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.451e-05/0.07786, allocations: 0 / 379 MB, free: 5.918 MB / 346.7 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.004083/0.08194, allocations: 3.03 MB / 382 MB, free: 2.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.08198, allocations: 8.031 kB / 382 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.08352, allocations: 0.8961 MB / 382.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.08479, allocations: 0.9135 MB / 383.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.08496, allocations: 343.6 kB / 384.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/0.0852, allocations: 236.3 kB / 384.4 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.08714, allocations: 2.155 MB / 386.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.08717, allocations: 7.922 kB / 386.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.08732, allocations: 99.98 kB / 386.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.08735, allocations: 60 kB / 386.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.08903, allocations: 1.659 MB / 388.3 MB, free: 12.29 MB / 362.7 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.007506/0.09654, allocations: 6.832 MB / 395.2 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.09786, allocations: 1.185 MB / 396.4 MB, free: 4.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.09831, allocations: 484.3 kB / 396.8 MB, free: 3.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004903/0.1032, allocations: 3.845 MB / 400.7 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.1032, allocations: 51.88 kB / 400.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006042/0.1039, allocations: 286.6 kB / 401 MB, free: 15.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=134): time 3.927e-06/0.1039, allocations: 0 / 401 MB, free: 15.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=181): time 0.01509/0.1189, allocations: 6.837 MB / 407.8 MB, free: 8.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.119, allocations: 132.7 kB / 408 MB, free: 8.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000851/0.1198, allocations: 1.168 MB / 409.1 MB, free: 7.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-05/0.1199, allocations: 57.7 kB / 409.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/0.1206, allocations: 1.067 MB / 410.3 MB, free: 5.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.1209, allocations: 0.6584 MB / 410.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/0.1213, allocations: 0.5051 MB / 411.4 MB, free: 4.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.1214, allocations: 305.2 kB / 411.7 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/0.1218, allocations: 352.9 kB / 412.1 MB, free: 4.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/0.1226, allocations: 1.296 MB / 413.4 MB, free: 2.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.1241, allocations: 2 MB / 415.4 MB, free: 15.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.1241, allocations: 8 kB / 415.4 MB, free: 15.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.003761/0.1278, allocations: 2.178 MB / 417.6 MB, free: 13.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.1279, allocations: 26.48 kB / 417.6 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.1279, allocations: 32 kB / 417.6 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/0.1305, allocations: 1.02 MB / 418.6 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009963/0.1315, allocations: 0.5772 MB / 419.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004427/0.136, allocations: 5.639 MB / 424.8 MB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000975/0.1369, allocations: 111.8 kB / 425 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.1371, allocations: 135.9 kB / 425.1 MB, free: 5.934 MB / 394.7 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.0004611/0.1376, allocations: 283.7 kB / 425.4 MB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.1378, allocations: 151.9 kB / 425.5 MB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003501/0.1413, allocations: 1.914 MB / 427.4 MB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.1413, allocations: 20 kB / 427.4 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1413, allocations: 11.98 kB / 427.5 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.1413, allocations: 7.969 kB / 427.5 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004844/0.1462, allocations: 2.773 MB / 430.2 MB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1462, allocations: 8.219 kB / 430.2 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006178/0.1468, allocations: 299.6 kB / 430.5 MB, free: 376 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002681/0.1495, allocations: 0.8987 MB / 431.4 MB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.1496, allocations: 67.95 kB / 431.5 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003372/0.1529, allocations: 5.072 MB / 436.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1529, allocations: 4 kB / 436.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.1566, allocations: 2.215 MB / 438.8 MB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.1569, allocations: 158.8 kB / 439 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.157, allocations: 32 kB / 439 MB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.1575, allocations: 43.98 kB / 439 MB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.1577, allocations: 181.5 kB / 439.2 MB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.948e-05/0.1578, allocations: 63.95 kB / 439.3 MB, free: 7.266 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004169/0.1582, allocations: 0.5413 MB / 439.8 MB, free: 6.715 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1582, allocations: 0 / 439.8 MB, free: 6.715 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002026/0.1602, allocations: 0.9593 MB / 440.8 MB, free: 5.754 MB / 410.7 MB 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.001026/0.1613, allocations: 0.8376 MB / 441.6 MB, free: 4.906 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.1637, allocations: 1.874 MB / 443.5 MB, free: 2.988 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.845e-05/0.1637, allocations: 28.28 kB / 443.5 MB, free: 2.961 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.1648, allocations: 1.05 MB / 444.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.1658, allocations: 354.9 kB / 444.9 MB, free: 1.527 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1107/0.2765, allocations: 3.589 MB / 448.5 MB, free: 103 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.2768, allocations: 376.3 kB / 448.9 MB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001069/0.2779, allocations: 412.6 kB / 449.3 MB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008047/0.2787, allocations: 0.5188 MB / 449.8 MB, free: 102.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.093e-06/0.2787, allocations: 1.031 kB / 449.8 MB, free: 102.9 MB / 410.7 MB Notification: Performance of Templates: time 0.03854/0.3172, allocations: 43.76 MB / 493.5 MB, free: 79.02 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9863870521076024]