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.0008515/0.0008515, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008741/0.0008741, allocations: 169 kB / 23.27 MB, free: 1.223 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.8791/0.8791, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.08594/0.08594, allocations: 17.38 MB / 277.6 MB, free: 11.5 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 2.024e-06/2.024e-06, allocations: 0 / 353.9 MB, free: 9.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.74e-05, allocations: 2.312 kB / 353.9 MB, free: 9.688 MB / 282.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.02699/0.02701, allocations: 34.1 MB / 388 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.04128, allocations: 16.79 MB / 404.8 MB, free: 6.848 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008887/0.04217, allocations: 39.69 kB / 404.8 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008222/0.04299, allocations: 491.7 kB / 405.3 MB, free: 6.324 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.0459, allocations: 1.803 MB / 407.1 MB, free: 4.508 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003889/0.04979, allocations: 2.475 MB / 409.6 MB, free: 2.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1101/0.1598, allocations: 3.186 MB / 412.8 MB, free: 37.22 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.1615, allocations: 1.657 MB / 414.4 MB, free: 37.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.1634, allocations: 2.161 MB / 416.6 MB, free: 37.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.1651, allocations: 1.425 MB / 418 MB, free: 37.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005074/0.1656, allocations: 295 kB / 418.3 MB, free: 37.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.1687, allocations: 1.752 MB / 420.1 MB, free: 37.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.1691, allocations: 0.718 MB / 420.8 MB, free: 37.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008338/0.1699, allocations: 1.06 MB / 421.8 MB, free: 37.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.1729, allocations: 4.222 MB / 426.1 MB, free: 36.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1729, allocations: 3.25 kB / 426.1 MB, free: 36.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1729, allocations: 2.781 kB / 426.1 MB, free: 36.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.1729, allocations: 0 / 426.1 MB, free: 36.18 MB / 330.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.002487/0.1754, allocations: 3.196 MB / 429.3 MB, free: 34.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1754, allocations: 10.78 kB / 429.3 MB, free: 34.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.1767, allocations: 0.9409 MB / 430.2 MB, free: 34.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009834/0.1777, allocations: 1.195 MB / 431.4 MB, free: 33.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.1778, allocations: 343.3 kB / 431.7 MB, free: 33.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.178, allocations: 242.9 kB / 432 MB, free: 33.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.1796, allocations: 2.159 MB / 434.1 MB, free: 32.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.1796, allocations: 0 / 434.1 MB, free: 32.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.1797, allocations: 102.7 kB / 434.2 MB, free: 32.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.1797, allocations: 58.97 kB / 434.3 MB, free: 32.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.1813, allocations: 1.885 MB / 436.2 MB, free: 31.84 MB / 330.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.006081/0.1873, allocations: 8.827 MB / 445 MB, free: 23.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009317/0.1883, allocations: 1.269 MB / 446.3 MB, free: 22.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004173/0.1887, allocations: 0.548 MB / 446.8 MB, free: 21.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004119/0.1928, allocations: 4.616 MB / 451.4 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1928, allocations: 54.64 kB / 451.5 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004847/0.1933, allocations: 283.4 kB / 451.8 MB, free: 17.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 2.444e-06/0.1933, allocations: 0 / 451.8 MB, free: 17.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01259/0.2059, allocations: 6.613 MB / 458.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.2059, allocations: 128.8 kB / 458.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.2065, allocations: 1.232 MB / 459.7 MB, free: 9.484 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-05/0.2066, allocations: 60.33 kB / 459.8 MB, free: 9.422 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/0.2071, allocations: 1.264 MB / 461.1 MB, free: 8.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.2073, allocations: 0.6701 MB / 461.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/0.2077, allocations: 0.5276 MB / 462.3 MB, free: 7.102 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.915e-05/0.2077, allocations: 476.8 kB / 462.7 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.2081, allocations: 401 kB / 463.1 MB, free: 6.238 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/0.2087, allocations: 1.763 MB / 464.9 MB, free: 3.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.21, allocations: 2.417 MB / 467.3 MB, free: 1.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.21, allocations: 14.62 kB / 467.3 MB, free: 1.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.003965/0.214, allocations: 2.694 MB / 470 MB, free: 14.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.214, allocations: 20 kB / 470 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.214, allocations: 32 kB / 470.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002609/0.2166, allocations: 1.036 MB / 471.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009324/0.2176, allocations: 0.573 MB / 471.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00505/0.2226, allocations: 7.892 MB / 479.6 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007323/0.2233, allocations: 110.5 kB / 479.7 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.2235, allocations: 139.9 kB / 479.8 MB, free: 4.727 MB / 346.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.0003683/0.2239, allocations: 329.7 kB / 480.1 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.2241, allocations: 234.9 kB / 480.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003726/0.2278, allocations: 2.243 MB / 482.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.2279, allocations: 26.66 kB / 482.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2279, allocations: 4 kB / 482.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.2279, allocations: 14.61 kB / 482.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005323/0.2332, allocations: 3.519 MB / 486.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2332, allocations: 4 kB / 486.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.2338, allocations: 309.8 kB / 486.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/0.2362, allocations: 0.9066 MB / 487.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.2363, allocations: 74.58 kB / 487.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004004/0.2403, allocations: 7.262 MB / 494.7 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2403, allocations: 13.33 kB / 494.7 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00372/0.244, allocations: 2.723 MB / 497.4 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.2441, allocations: 157.5 kB / 497.6 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.2443, allocations: 32 kB / 497.6 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.2447, allocations: 46.64 kB / 497.7 MB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.2449, allocations: 188.1 kB / 497.9 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-05/0.245, allocations: 71.95 kB / 497.9 MB, free: 2.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003796/0.2454, allocations: 0.64 MB / 498.6 MB, free: 2.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2454, allocations: 4 kB / 498.6 MB, free: 2.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001946/0.2473, allocations: 0.9592 MB / 499.5 MB, free: 1.086 MB / 362.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.0008343/0.2482, allocations: 0.8515 MB / 0.4887 GB, free: 384 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002125/0.2503, allocations: 2.189 MB / 0.4908 GB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2503, allocations: 4 kB / 0.4908 GB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.2514, allocations: 1.276 MB / 0.492 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008694/0.2523, allocations: 356.6 kB / 0.4924 GB, free: 12.68 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.2565, allocations: 3.681 MB / 0.496 GB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.2567, allocations: 383.4 kB / 0.4963 GB, free: 8.629 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007793/0.2575, allocations: 413.4 kB / 0.4967 GB, free: 8.348 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007503/0.2582, allocations: 0.5657 MB / 0.4973 GB, free: 7.785 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2582, allocations: 0 / 0.4973 GB, free: 7.785 MB / 378.7 MB Notification: Performance of Templates: time 0.04272/0.301, allocations: 43.85 MB / 0.5401 GB, free: 12.89 MB / 426.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: 4.6163170682266355]