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.001327/0.001327, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001842/0.001842, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.026/1.026, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.09903/0.09903, allocations: 17.47 MB / 277.4 MB, free: 11.56 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 353.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.716e-05, allocations: 6.25 kB / 353.6 MB, free: 9.836 MB / 282.7 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.03091/0.03093, allocations: 34.26 MB / 387.8 MB, free: 7.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.04638, allocations: 17.16 MB / 405 MB, free: 6.461 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.04804, allocations: 39.69 kB / 405 MB, free: 6.422 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009734/0.04901, allocations: 483.8 kB / 405.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003466/0.05248, allocations: 1.807 MB / 407.3 MB, free: 4.125 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004614/0.05709, allocations: 2.475 MB / 409.8 MB, free: 1.637 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1559/0.213, allocations: 3.189 MB / 413 MB, free: 36.85 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.2149, allocations: 1.653 MB / 414.6 MB, free: 36.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.2173, allocations: 2.155 MB / 416.8 MB, free: 36.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.2194, allocations: 1.42 MB / 418.2 MB, free: 36.72 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000673/0.2201, allocations: 295.2 kB / 418.5 MB, free: 36.72 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003642/0.2237, allocations: 1.756 MB / 420.2 MB, free: 36.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004698/0.2242, allocations: 0.7177 MB / 421 MB, free: 36.65 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008899/0.2251, allocations: 1.058 MB / 422 MB, free: 36.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.2287, allocations: 4.225 MB / 426.2 MB, free: 35.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2287, allocations: 0 / 426.2 MB, free: 35.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2287, allocations: 0 / 426.2 MB, free: 35.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.456e-05/0.2287, allocations: 3.875 kB / 426.2 MB, free: 35.51 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.003087/0.2318, allocations: 3.201 MB / 429.4 MB, free: 33.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.2318, allocations: 10.16 kB / 429.5 MB, free: 33.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.2332, allocations: 0.9358 MB / 430.4 MB, free: 33.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.2343, allocations: 1.203 MB / 431.6 MB, free: 32.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.2345, allocations: 343.2 kB / 431.9 MB, free: 32.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.2347, allocations: 244 kB / 432.2 MB, free: 32.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.237, allocations: 2.367 MB / 434.5 MB, free: 31.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.237, allocations: 3.797 kB / 434.5 MB, free: 31.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.2372, allocations: 103 kB / 434.6 MB, free: 31.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.2372, allocations: 62.47 kB / 434.7 MB, free: 31.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.2396, allocations: 2.214 MB / 436.9 MB, free: 30.71 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.006947/0.2465, allocations: 8.811 MB / 445.7 MB, free: 22.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.2479, allocations: 1.387 MB / 447.1 MB, free: 20.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.2485, allocations: 0.6527 MB / 447.8 MB, free: 20.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004513/0.253, allocations: 4.588 MB / 452.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.4e-05/0.253, allocations: 58.05 kB / 452.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005144/0.2536, allocations: 284.7 kB / 452.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 2.424e-06/0.2536, allocations: 0 / 452.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01503/0.2686, allocations: 7.935 MB / 460.6 MB, free: 7.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.2686, allocations: 124.8 kB / 460.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008584/0.2695, allocations: 1.266 MB / 462 MB, free: 6.078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.925e-05/0.2696, allocations: 57.7 kB / 462.1 MB, free: 6.016 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.27, allocations: 1.248 MB / 463.3 MB, free: 4.766 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.2703, allocations: 0.6588 MB / 464 MB, free: 4.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004325/0.2707, allocations: 0.526 MB / 464.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.2708, allocations: 476.8 kB / 465 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/0.2714, allocations: 0.501 MB / 465.5 MB, free: 2.613 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.2724, allocations: 1.853 MB / 467.3 MB, free: 180 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.275, allocations: 2.612 MB / 469.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.275, allocations: 8 kB / 469.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.004972/0.28, allocations: 2.94 MB / 472.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.28, allocations: 20.28 kB / 472.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/0.28, allocations: 32 kB / 472.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00291/0.283, allocations: 1.058 MB / 474 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.284, allocations: 0.5815 MB / 474.6 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005554/0.2896, allocations: 8.024 MB / 482.6 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000889/0.2905, allocations: 114.5 kB / 482.7 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.2906, allocations: 163.9 kB / 482.9 MB, free: 180 kB / 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.0004889/0.2911, allocations: 331.2 kB / 483.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.2914, allocations: 234.8 kB / 483.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004438/0.2958, allocations: 2.437 MB / 485.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.2958, allocations: 20 kB / 485.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2959, allocations: 4 kB / 485.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.2959, allocations: 10.66 kB / 485.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006478/0.3023, allocations: 3.958 MB / 489.8 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.3024, allocations: 0 / 489.8 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006603/0.303, allocations: 307.8 kB / 490.1 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002658/0.3057, allocations: 0.9197 MB / 491.1 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.3058, allocations: 71.95 kB / 491.1 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004428/0.3102, allocations: 7.387 MB / 498.5 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3102, allocations: 4 kB / 498.5 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004787/0.315, allocations: 2.999 MB / 0.4898 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.3152, allocations: 150.9 kB / 0.4899 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.3153, allocations: 38.72 kB / 0.49 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/0.3158, allocations: 42.61 kB / 0.49 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/0.3161, allocations: 192.1 kB / 0.4902 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-05/0.3162, allocations: 83.95 kB / 0.4903 GB, free: 12.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005634/0.3168, allocations: 0.6859 MB / 0.4909 GB, free: 12.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3168, allocations: 4 kB / 0.4909 GB, free: 12.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002386/0.3192, allocations: 0.9657 MB / 0.4919 GB, free: 11.12 MB / 378.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.001129/0.3203, allocations: 0.8134 MB / 0.4927 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003011/0.3233, allocations: 2.376 MB / 0.495 GB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3233, allocations: 0 / 0.495 GB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.3247, allocations: 1.368 MB / 0.4963 GB, free: 6.738 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3257, allocations: 354.4 kB / 0.4967 GB, free: 6.426 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.005193/0.3309, allocations: 3.732 MB / 0.5003 GB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3312, allocations: 388.1 kB / 0.5007 GB, free: 2.285 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008843/0.3321, allocations: 431.3 kB / 0.5011 GB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.3325, allocations: 280.1 kB / 0.5014 GB, free: 1.719 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.3325, allocations: 0 / 0.5014 GB, free: 1.719 MB / 378.7 MB Notification: Performance of Templates: time 0.04449/0.377, allocations: 43.21 MB / 0.5435 GB, free: 7.547 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.225643432233483]